block

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COSMOS = "Cosmos"
)

Variables

This section is empty.

Functions

func QueryTxResult

func QueryTxResult(txHash []byte) (string, *abci.ResponseDeliverTx, error)

get tx status and log by query txHash

Types

type Cosmos_Block

type Cosmos_Block struct{}

func (*Cosmos_Block) Name

func (cosmos *Cosmos_Block) Name() string

func (*Cosmos_Block) ParseBlock

func (cosmos *Cosmos_Block) ParseBlock(b int64, client *cosmoshelper.CosmosClient) (resBlock *cmodel.Block, cosmosTxs []cmodel.CosmosTx, resErr error)

func (*Cosmos_Block) ParseCosmosTxModel

func (cosmos *Cosmos_Block) ParseCosmosTxModel(txBytes types.Tx, block *types.Block) []cmodel.CosmosTx

func (*Cosmos_Block) ParseCosmosTxs

func (cosmos *Cosmos_Block) ParseCosmosTxs(b int64, client *cosmoshelper.CosmosClient) ([]cmodel.CosmosTx, error)

parse cosmos txs from block result txs

func (*Cosmos_Block) SaveDocsWithTxn

func (cosmos *Cosmos_Block) SaveDocsWithTxn(blockDoc *cmodel.Block, cosmosTxs []cmodel.CosmosTx, taskDoc cmodel.SyncCosmosTask) error

type MsgBeginRedelegate

type MsgBeginRedelegate = stypes.MsgBeginRedelegate

type MsgCreateValidator

type MsgCreateValidator = stypes.MsgCreateValidator

type MsgDelegate

type MsgDelegate = stypes.MsgDelegate

type MsgDeposit

type MsgDeposit = gov.MsgDeposit

type MsgEditValidator

type MsgEditValidator = stypes.MsgEditValidator

type MsgMultiSend

type MsgMultiSend = bank.MsgMultiSend

type MsgSetWithdrawAddress

type MsgSetWithdrawAddress = dtypes.MsgSetWithdrawAddress

type MsgSubmitProposal

type MsgSubmitProposal = gov.MsgSubmitProposal

type MsgTransfer

type MsgTransfer = bank.MsgSend

type MsgUndelegate

type MsgUndelegate = stypes.MsgUndelegate

type MsgUnjail

type MsgUnjail = slashing.MsgUnjail

type MsgVerifyInvariant

type MsgVerifyInvariant = crisis.MsgVerifyInvariant

type MsgVote

type MsgVote = gov.MsgVote

type MsgWithdrawDelegatorReward

type MsgWithdrawDelegatorReward = dtypes.MsgWithdrawDelegatorReward

type MsgWithdrawValidatorCommission

type MsgWithdrawValidatorCommission = dtypes.MsgWithdrawValidatorCommission

type Proposal

type Proposal = gov.Proposal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL