Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpcodeChildBlockMessage = opcode.Opcode(1111) OpcodeConnectionMessage = opcode.Opcode(1112) OpcodeBlockHeightRequest = opcode.Opcode(1113) OpcodeBlockResponse = opcode.Opcode(1114) OpcodeAccountRequest = opcode.Opcode(1115) OpcodeAccountResponse = opcode.Opcode(1116) OpcodeTxRequest = opcode.Opcode(1117) OpcodeTxResponse = opcode.Opcode(1118) OpcodeTxDetailRequest = opcode.Opcode(1119) OpcodeTxDetailResponse = opcode.Opcode(1120) OpcodeTxsByAddressRequest = opcode.Opcode(1121) OpcodeTxsResponse = opcode.Opcode(1122) OpcodeTxsByAssetAndAddressRequest = opcode.Opcode(1123) OpcodeTxUpdateRequest = opcode.Opcode(1124) OpcodeTxUpdateResponse = opcode.Opcode(1125) OpcodeTxDeleteRequest = opcode.Opcode(1126) OpcodeTxLockedRequest = opcode.Opcode(1127) OpcodeTxLockedResponse = opcode.Opcode(1128) OpcodePing = opcode.Opcode(1129) OpcodePong = opcode.Opcode(1130) OpcodeTxRedeemRequest = opcode.Opcode(1131) OpcodeTxRedeemResponse = opcode.Opcode(1132) OpcodeTxsByBlockHeightRequest = opcode.Opcode(1133) OpcodeLastBlockRequest = opcode.Opcode(1134) )
Opcode definitions
Variables ¶
This section is empty.
Functions ¶
func ComputeAminoOverhead ¶
func RegisterBlockAmino ¶
Types ¶
type Tx ¶
type Tx []byte
Tx is an arbitrary byte array.
type TxProof ¶
type TxProof struct { RootHash cmn.HexBytes Data Tx Proof merkle.SimpleProof }
TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree.
type Txs ¶
type Txs []Tx
Txs is a slice of Tx.
func (Txs) IndexByHash ¶
IndexByHash returns the index of this transaction hash in the list, or -1 if not found
Click to show internal directories.
Click to hide internal directories.