In Parsec, let clients get a list of peers that are valid gossip targets

Description

Currently, routing can call create_gossip on any peer and it will fail when the selected peers happen not to be valid targets for a gossip request (for instance, because they're offline).

Provide a function akin to valid_gossip_targets that returns a list of peers that would be OK to gossip, aka peers whose state is VOTE and RECV.

Environment

None

Status

Assignee

Fraser Hutchison

Reporter

Pierre Chevalier

External issue URL

None

External issue ID

None

Start date

2018/11/21

End date

2018/11/21

Task progress

None

Baseline start date

None

Baseline end date

None

Story Points

1

Components

Priority

Minor
Configure