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