package
0.0.0-20220616152218-3da4c06c590a
Repository: https://github.com/astra-net/astra-network.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
CompareBLSPublicKey compares two SerializedPublicKey, lexicographically.
CompareCommittee compares two committees and their leader/node list.
CompareNodeID compares two node IDs.
CompareNodeIDList compares two node ID lists.
DecodeWrapper ..
EncodeWrapper ..
ExternalSlotsAvailableForEpoch ..
GetHashFromNodeList will sort the list, then use Keccak256 to hash the list NOTE: do not modify the underlining content for hash.
# Constants
BeaconChainShardID is the ShardID of the BeaconChain.
# Variables
ErrShardIDNotInSuperCommittee ..
ErrSubCommitteeNil ..
ErrSuperCommitteeNil ..
ErrValidNotInCommittee ..
Schedule is the sharding configuration schedule.
# Structs
Committee contains the active nodes in one shard.
CommitteeLegacy contains the active nodes in one shard.
Slot represents node id (BLS address).
SlotLegacy represents node id (BLS address).
StakedSlots gives overview of members in a subcommittee (aka a shard).
State is the collection of all committees.
# Type aliases
SlotList is a list of Slot.
SlotListLegacy is a list of SlotList.
StateLegacy ..