iri icon indicating copy to clipboard operation
iri copied to clipboard

Use neighbors according to heartbeat

Open kwek20 opened this issue 4 years ago • 1 comments

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?

kwek20 avatar Mar 16 '20 15:03 kwek20

Broadcast it every minute or check what hornet does

GalRogozinski avatar Mar 26 '20 16:03 GalRogozinski