Skip to content
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
@kwek20

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?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions