An avalanche Peer can be one or more nodes, so that a large peer can instanciate several nodes to be able to serve more requests.
This allows to rework the compactions algorithm to make it much simpler.
Differential D6818
[avalanche] Add the notion of Peer to the PeerManager deadalnix on Jul 4 2020, 01:00. Authored by
Details
An avalanche Peer can be one or more nodes, so that a large peer can instanciate several nodes to be able to serve more requests. This allows to rework the compactions algorithm to make it much simpler. ninja check-avalanche The update of the verify function should check that the Peer remain in a coherent state.
Diff Detail
Event TimelineComment Actions Simplify the Peer struct so that it doesn't contain nodes. Nodes wills be stored in their own datastructure later on.
|