Objective
Ensure that the debug client is capable of broadcasting / sending messages to the LocalNet nodes even after the ValidatorMap (which contained the addresses of the nodes, sourced from the genesis) has been sunset.
Origin Document
Since #203 and #331 replace ValidatorMap with dynamic actor fetching from the persistence layer based on the Node's current height, the debug client needs a mechanism to discover the entire local set of peers regardless of the address book each individual node has.
This leads us to the first real use-case for peer-discovery.
Goals
- Design and implement a way for gathering the current (i.e. at the current height) validator set of addresses from the point of view of the debug client or another node that intends to join the network.
Deliverable
Non-goals / Non-deliverables
General issue deliverables
Testing Methodology
Creator: [@deblasis]
Co-Owners: [@Olshansk]
Objective
Ensure that the
debug clientis capable of broadcasting / sending messages to theLocalNetnodes even after theValidatorMap(which contained the addresses of the nodes, sourced from the genesis) has been sunset.Origin Document
Since #203 and #331 replace
ValidatorMapwith dynamic actor fetching from the persistence layer based on the Node's current height, thedebug clientneeds a mechanism to discover the entire local set of peers regardless of the address book each individual node has.This leads us to the first real use-case for peer-discovery.
Goals
Deliverable
LocalNetwithout a hardcoded set ofvalidatorAddressesNon-goals / Non-deliverables
General issue deliverables
Testing Methodology
make test_allLocalNetis still functioning correctly by following the instructions at docs/development/README.mdCreator: [@deblasis]
Co-Owners: [@Olshansk]