Skip to main content

Module constant_view

Module constant_view 

Source
Expand description

ConstantView — peer-selector concrete with a fixed peer list.

Useful for tests + tiny fixed-size deployments where the peer set is known at install time and never changes. Implements bb_runtime::contracts::PeerSelector returning subsets of the configured list per SelectParams.

Structs§

ConstantView
Fixed-list peer selector. Authors construct with the full peer set at compile time; queries return slices.

Enums§

ConstantViewError
Failure modes the ConstantView peer selector can surface to callers.