package
0.0.0-20220616152218-3da4c06c590a
Repository: https://github.com/astra-net/astra-network.git
Documentation: pkg.go.dev

# Functions

AccumulateRewardsAndCountSigs credits the coinbase of the given block with the mining reward and also does IncrementValidatorSigningCounts for validators.
DecodeSigBitmap decode and parse the signature, bitmap with the given public keys.
GetCirculatingSupply get the circulating supply.
GetInaccessibleAddressInfo return the information of all inaccessible addresses.
GetInaccessibleTokens get the total inaccessible tokens.
retrieve corresponding blsPublicKey from Coinbase Address.
GetLockPeriodInEpoch returns the delegation lock period for the given chain.
IsCommitteeSelectionBlock checks if the given header is for the committee selection block which can only occur on beacon chain and if epoch > pre-staking epoch.
NewEngine creates Engine with some cache.
ParseCommitSigAndBitmap parse the commitSigAndBitmap to signature + bitmap.
ReadSignatureBitmapByPublicKeys read the payload of signature and bitmap based on public keys.

# Constants

AsyncBlockProposalTimeout is the timeout which will abort the async block proposal.
RewardFrequency the number of blocks between each aggregated reward distribution.

# Variables

InaccessibleAddresses are a list of known eth addresses that cannot spend Astra tokens.

# Structs

InaccessibleAddressInfo is the structure for inaccessible addresses.