Documentation
¶
Index ¶
- func ToABCIBlock(block *types.Block) (*tmtypes.Block, error)
- func ToABCIBlockDataTxs(data *types.Data) []tmtypes.Tx
- func ToABCIBlockMeta(block *types.Block) (*tmtypes.BlockMeta, error)
- func ToABCICommit(commit *types.Commit, header *types.Header) *tmtypes.Commit
- func ToABCIHeader(header *types.Header) tmtypes.Header
- func ToABCIHeaderPB(header *types.Header) tmproto.Header
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToABCIBlock ¶
ToABCIBlock converts Furyint block into block format defined by ABCI. Returned block should pass `ValidateBasic`.
func ToABCIBlockDataTxs ¶
ToABCIBlockDataTxs converts Furyint block-data into block-data format defined by ABCI.
func ToABCIBlockMeta ¶
ToABCIBlockMeta converts Furyint block into BlockMeta format defined by ABCI
func ToABCICommit ¶
ToABCICommit converts Furyint commit into commit format defined by ABCI. This function only converts fields that are available in Furyint commit. Other fields (especially ValidatorAddress and Timestamp of Signature) has to be filled by caller.
func ToABCIHeader ¶
ToABCIHeader converts Furyint header to Header format defined in ABCI. Caller should fill all the fields that are not available in Furyint header (like ChainID).
Types ¶
This section is empty.