Expand description
Distributed network state maintained via gossip.
Each node in a BillPouch network periodically announces its NodeInfo over
gossipsub. All nodes accumulate received announcements in a local
NetworkState map. The metadata field on NodeInfo is intentionally
open (HashMap<String, Value>) so that future versions can extend the
gossipped information without a breaking protocol change.
Structsยง
- Network
State - Local in-memory view of all known nodes in all joined networks.
- Node
Info - Gossipped information about a single node (one peer = one service instance).