This repository has been archived by the owner on Aug 23, 2020. It is now read-only.
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.
Use neighbors according to heartbeat #1798
Open
Description
Description
With #1792 IRI will support heartbeat checks for neighbors. We only want to connect to neighbors who (partially) support our milestone range
Motivation
Requesting transactions from neighbors who are known not to have the milestone the tx is in, takes a needless toll on network usage
Requirements
- Modify Neighbor setup to not request transactions we know the neighbor doesn't have
- Keep support for neighbors requesting transactions (Thus not dropping them if we aren't interested)
Open Questions (optional)
- How often do we check this?