# Functions
CheckValidatorSetHash checks the Tendermint validator set hash matches the Tendermint consensus state next validator set hash.
NewConsensusState initializes a new consensus state.
NewSignatureCounts returns a new SignatureCounts.
NewValidator returns a validator with a ed25519 public key.
NewValidatorSet returns a new Validator Set from a list of validators.
ParseConsensusStateFromFile parses a YAML dumped Consensus State file and returns a new Consensus State TODO: Improve method and support other format than YAML if there are other format of dumped file.
ParseValidatorSetFromFile parses a YAML dumped Validator Set file and returns a new Validator Set TODO: Support other format than YAML if there are other format of dumped file.
UintBytes convert uint64 to byte slice.
# Constants
AccountAddressPrefix is the prefix used for account bech32 addresses.
DefaultChainID is the default chain ID used.
DefaultRevisionHeight is the revision height used by default for creating the monitoring IBC client.
DefaultUnbondingPeriod is the default unbonding time in seconds 1814400 represents 21 days.
MinimalUnbondingPeriod is the minimal unbonding time that can be set for a chain it must greater than 1 because trusting period for the IBC client is unbonding period - 1 and trusting period can't be 0.
Name is the name of the application.
TotalShareNumber is the default number of total share for an underlying supply asset.
No description provided by the author
# Variables
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
No description provided by the author
# Structs
ConsensusState represents a Consensus State it is compatible with the dumped state from `appd q ibc client self-consensus-state` command.
MerkleRoot represents a Merkle Root in ConsensusState.
MonitoringPacket is the packet sent over IBC that contains all the signature counts.
MonitoringPacketAck defines a struct for the packet acknowledgment.
MonitoringPacketData is the IBC packet for monitoring modules.
No description provided by the author
PubKey represents a public key in Validator.
SignatureCount contains information of signature reporting for one specific validator with consensus address RelativeSignatures is the sum of all signatures relative to the validator set size.
SignatureCounts contains information about signature reporting for a number of blocks.
Validator represents a validator in ValSet.
ValidatorSet represents a Validator Set it is compatible with the dumped set from `appd q tendermint-validator-set n` command.