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 GetLastNoACK(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
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" )
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 GetLastNoACK ¶
GetLastNoACK get last no ack time
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 ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.