Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBadParams = errors.New("bad parameters")
ErrBadParams bad parameters
Functions ¶
func NewListsSharder ¶
func NewListsSharder( resolver p2p.PeerShardResolver, selfPeerId peer.ID, maxPeerCount int, maxIntraShardValidators int, maxCrossShardValidators int, maxIntraShardObservers int, maxCrossShardObservers int, ) (*listsSharder, error)
NewListsSharder creates a new kad list based kad sharder instance
func NewNilListSharder ¶
func NewNilListSharder() *nilListSharder
NewNilListSharder returns a disabled sharder implementation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.