Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSharder ¶
func NewSharder(arg ArgsSharderFactory) (p2p.CommonSharder, error)
NewSharder creates new Sharder instances
Types ¶
type ArgsSharderFactory ¶
type ArgsSharderFactory struct { PeerShardResolver p2p.PeerShardResolver PrioBits uint32 Pid peer.ID MaxConnectionCount int MaxIntraShardValidators int MaxCrossShardValidators int MaxIntraShardObservers int MaxCrossShardObservers int Type string }
ArgsSharderFactory represents the argument for the sharder factory
Click to show internal directories.
Click to hide internal directories.