package
0.1.4
Repository: https://github.com/dharitri-org/drtg-core.git
Documentation: pkg.go.dev

# Functions

ComputeShardID will compute shard id of the given address based on the number of shards parameter.
NewMultiShardCoordinator returns a new multiShardCoordinator and initializes the masks.

# Variables

ErrInvalidNumberOfShards signals that an invalid number of shards was passed to the sharding registry.
ErrInvalidShardId signals that an invalid shard is was passed.