Documentation ¶
Index ¶
- Constants
- func GetCheckpointBuffer(cdc *codec.Codec) *cobra.Command
- func GetCheckpointByNumber(cdc *codec.Codec) *cobra.Command
- func GetCheckpointCount(cdc *codec.Codec) *cobra.Command
- func GetCheckpointLatest(cdc *codec.Codec) *cobra.Command
- func GetCheckpointList(cdc *codec.Codec) *cobra.Command
- func GetLastNoACK(cdc *codec.Codec) *cobra.Command
- func GetOverview(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func GetQueryParams(cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
- func SendCheckpointACKTx(cdc *codec.Codec) *cobra.Command
- func SendCheckpointAdjust(cdc *codec.Codec) *cobra.Command
- func SendCheckpointNoACKTx(cdc *codec.Codec) *cobra.Command
- func SendCheckpointTx(cdc *codec.Codec) *cobra.Command
- type CheckpointWithID
Constants ¶
View Source
const ( FlagProposerAddress = "proposer" FlagFromAddress = "from" FlagStartBlock = "start-block" FlagEndBlock = "end-block" FlagRootHash = "root-hash" FlagAccountRootHash = "account-root-hash" FlagBorChainID = "bor-chain-id" FlagHeaderNumber = "header" FlagCheckpointTxHash = "txhash" FlagCheckpointLogIndex = "log-index" FlagAutoConfigure = "auto-configure" FlagLimit = "limit" FlagPage = "page" )
Variables ¶
This section is empty.
Functions ¶
func GetCheckpointBuffer ¶
GetCheckpointBuffer get checkpoint present in buffer
func GetCheckpointByNumber ¶ added in v0.3.2
GetHeaderFromIndex get checkpoint given header index
func GetCheckpointCount ¶
GetCheckpointCount get number of checkpoint received count
func GetCheckpointLatest ¶ added in v0.3.2
GetCheckpointLatest get the latest checkpoint
func GetCheckpointList ¶ added in v0.3.2
GetLastNoACK get last no ack time
func GetLastNoACK ¶
GetLastNoACK get last no ack time
func GetOverview ¶ added in v0.3.2
GetOverview gives the complete state dump of heimdall
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func GetQueryParams ¶
GetQueryParams implements the params query command.
func SendCheckpointACKTx ¶
SendCheckpointACKTx send checkpoint ack transaction
func SendCheckpointAdjust ¶ added in v0.2.3
SendCheckpointAdjust adjusts previous checkpoint transaction
func SendCheckpointNoACKTx ¶
SendCheckpointNoACKTx send no-ack transaction
Types ¶
type CheckpointWithID ¶ added in v0.3.2
type CheckpointWithID struct { ID uint64 `json:"id"` Proposer hmTypes.HeimdallAddress `json:"proposer"` StartBlock uint64 `json:"start_block"` EndBlock uint64 `json:"end_block"` RootHash hmTypes.HeimdallHash `json:"root_hash"` BorChainID string `json:"bor_chain_id"` TimeStamp uint64 `json:"timestamp"` }
Temporary Checkpoint struct to store the Checkpoint ID
Click to show internal directories.
Click to hide internal directories.