package
0.5.0
Repository: https://github.com/bianjieai/tibc-go.git
Documentation: pkg.go.dev

# Functions

BlockNonce converts a byte slice to a bloom filter.
BytesToBloom converts a byte slice to a bloom filter.
No description provided by the author
GetConsensusState retrieves the consensus state from the client prefixed store.
No description provided by the author
GetPendingValidators retrieves the validators to be updated from the client prefixed store.
GetRecentSigners retrieves the recent singer list from the client prefixed.
No description provided by the author
NewClientState creates a new ClientState instance.
No description provided by the author
No description provided by the author
RegisterInterfaces registers the tendermint concrete client-related implementations and interfaces.
SetPendingValidators sets the validators to be updated in the client prefixed store.
SetRecentSigners sets the recent singer list in the client prefixed store.
No description provided by the author

# Constants

No description provided by the author

# Variables

ErrCoinBaseMisMatch is returned if a header's coinbase do not match with signature.
ErrExtraValidators is returned if non-sprint-end block contain validator data in their extra-data fields.
TIBC bsc client sentinel errors.
No description provided by the author
ErrInvalidDifficulty is returned if the difficulty of a block is missing.
TIBC bsc client sentinel errors.
No description provided by the author
ErrInvalidMixDigest is returned if a block's mix digest is non-zero.
TIBC bsc client sentinel errors.
ErrInvalidSpanValidators is returned if a block contains an invalid list of validators (i.e.
ErrInvalidUncleHash is returned if a block contains an non-empty uncle list.
TIBC bsc client sentinel errors.
ErrMissingSignature is returned if a block's extra-data section doesn't seem to contain a 65 byte secp256k1 signature.
ErrMissingVanity is returned if a block's extra-data section is shorter than 32 bytes, which is required to store the signer vanity.
ErrRecentlySigned is returned if a header is signed by an authorized entity that already signed a header recently, thus is temporarily not allowed to.
ErrUnauthorizedValidator is returned if a header is signed by a non-authorized entity.
No description provided by the author
TIBC bsc client sentinel errors.
ErrUnknownBlock is returned when the list of validators is requested for a block that is not part of the local blockchain.
ErrWrongDifficulty is returned if the difficulty of a block doesn't match the turn of the signer.
No description provided by the author
No description provided by the author

# Structs

BscHeader represents a block header in the Ethereum blockchain.
ClientState from bsc tracks the current validator set, latest height, and a possible frozen height.
ConsensusState defines the consensus state from bsc.
Header defines the bsc client consensus Header.
No description provided by the author
ProofAccount ...
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

A BlockNonce is a 64-bit hash which proves (combined with the mix-hash) that a sufficient amount of computation has been carried out on a block.
Bloom represents a 2048 bit bloom filter.