Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Peers ¶
type Peers interface { validators.SetCallbackListener validators.Connector // ConnectedWeight returns the currently connected stake weight ConnectedWeight() uint64 // PreferredPeers returns the currently connected validators. If there are // no currently connected validators then it will return the currently // connected peers. PreferredPeers() ids.NodeIDSet }
Click to show internal directories.
Click to hide internal directories.