Documentation
¶
Index ¶
- func MakeSignedBlockBytes(sb *SignedBlock, sbb *SignedBlockBytes) error
- func MakeTableDeltaArray(data []TableDelta, arr *TableDeltaArray) error
- func MakeTransactionTraceArray(data []TransactionTrace, arr *TransactionTraceArray) error
- type AccountAuthSequence
- type AccountDelta
- type ActionReceipt
- type ActionReceiptV0
- type ActionTrace
- type ActionTraceV0
- type ActionTraceV1
- type BlockPosition
- type Extension
- type GetBlocksAckRequestV0
- type GetBlocksRequestV0
- type GetBlocksResultV0
- type GetStatusRequestV0
- type GetStatusResultV0
- type PartialTransaction
- type PartialTransactionV0
- type Request
- type Result
- type Row
- type SignedBlock
- type SignedBlockBytes
- type SignedBlockHeader
- type TableDelta
- type TableDeltaArray
- type TableDeltaV0
- type Transaction
- type TransactionReceipt
- type TransactionTrace
- type TransactionTraceArray
- type TransactionTraceV0
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeSignedBlockBytes ¶
func MakeSignedBlockBytes(sb *SignedBlock, sbb *SignedBlockBytes) error
func MakeTableDeltaArray ¶
func MakeTableDeltaArray(data []TableDelta, arr *TableDeltaArray) error
func MakeTransactionTraceArray ¶
func MakeTransactionTraceArray(data []TransactionTrace, arr *TransactionTraceArray) error
Types ¶
type AccountAuthSequence ¶
type AccountDelta ¶
type ActionReceipt ¶
type ActionReceipt struct {
V0 *ActionReceiptV0
}
func (ActionReceipt) MarshalABI ¶
func (ar ActionReceipt) MarshalABI(e *abi.Encoder) error
func (*ActionReceipt) UnmarshalABI ¶
func (a *ActionReceipt) UnmarshalABI(d *abi.Decoder) error
type ActionReceiptV0 ¶
type ActionReceiptV0 struct { Receiver chain.Name ActDigest chain.Checksum256 GlobalSequence uint64 RecvSequence uint64 AuthSequence []AccountAuthSequence CodeSequence uint ABISequence uint }
type ActionTrace ¶
type ActionTrace struct { V0 *ActionTraceV0 V1 *ActionTraceV1 }
func (ActionTrace) MarshalABI ¶
func (at ActionTrace) MarshalABI(e *abi.Encoder) error
func (*ActionTrace) UnmarshalABI ¶
func (a *ActionTrace) UnmarshalABI(d *abi.Decoder) error
type ActionTraceV0 ¶
type ActionTraceV0 struct { ActionOrdinal uint CreatorActionOrdinal uint Receipt *ActionReceipt `eosio:"optional"` Receiver chain.Name Act chain.Action ContextFree bool Elapsed int64 Console string AccountRamDeltas []AccountDelta Except string `eosio:"optional"` ErrorCode uint64 `eosio:"optional"` }
type ActionTraceV1 ¶
type ActionTraceV1 struct { ActionOrdinal uint CreatorActionOrdinal uint Receipt *ActionReceipt `eosio:"optional"` Receiver chain.Name Act chain.Action ContextFree bool Elapsed int64 Console string AccountRamDeltas []AccountDelta Except string `eosio:"optional"` ErrorCode uint64 `eosio:"optional"` ReturnValue []byte }
func (ActionTraceV1) MarshalABI ¶
func (at ActionTraceV1) MarshalABI(e *abi.Encoder) error
type BlockPosition ¶
type BlockPosition struct { BlockNum uint32 BlockID chain.Checksum256 }
type GetBlocksAckRequestV0 ¶
type GetBlocksAckRequestV0 struct {
NumMessages uint32
}
type GetBlocksRequestV0 ¶
type GetBlocksResultV0 ¶
type GetBlocksResultV0 struct { Head BlockPosition LastIrreversible BlockPosition ThisBlock *BlockPosition `eosio:"optional"` PrevBlock *BlockPosition `eosio:"optional"` Block *SignedBlockBytes `eosio:"optional"` Traces *TransactionTraceArray `eosio:"optional"` Deltas *TableDeltaArray `eosio:"optional"` }
type GetStatusRequestV0 ¶
type GetStatusRequestV0 struct{}
type GetStatusResultV0 ¶
type GetStatusResultV0 struct { Head *BlockPosition LastIrreversible *BlockPosition TraceBeginBlock uint32 TraceEndBlock uint32 ChainStateBeginBlock uint32 ChainStateEndBlock uint32 }
State History Plugin Results
type PartialTransaction ¶
type PartialTransaction struct {
V0 *PartialTransactionV0
}
func (PartialTransaction) MarshalABI ¶
func (pt PartialTransaction) MarshalABI(e *abi.Encoder) error
func (*PartialTransaction) UnmarshalABI ¶
func (a *PartialTransaction) UnmarshalABI(d *abi.Decoder) error
type PartialTransactionV0 ¶
type Request ¶
type Request struct { StatusRequest *GetStatusRequestV0 BlocksRequest *GetBlocksRequestV0 BlocksAckRequest *GetBlocksAckRequestV0 }
type Result ¶
type Result struct { StatusResult *GetStatusResultV0 BlocksResult *GetBlocksResultV0 }
type SignedBlock ¶
type SignedBlock struct { SignedBlockHeader Transactions []TransactionReceipt BlockExtensions []Extension }
type SignedBlockBytes ¶
type SignedBlockBytes []byte
func MustMakeSignedBlockBytes ¶
func MustMakeSignedBlockBytes(sb *SignedBlock) *SignedBlockBytes
func (*SignedBlockBytes) Unpack ¶
func (sbb *SignedBlockBytes) Unpack(sb *SignedBlock) error
Unpack decodes the SignedBlockBytes into a SignedBlock
type SignedBlockHeader ¶
type SignedBlockHeader struct { chain.BlockHeader ProducerSignature chain.Signature // no pointer!! }
type TableDelta ¶
type TableDelta struct {
V0 *TableDeltaV0
}
func (TableDelta) MarshalABI ¶
func (t TableDelta) MarshalABI(e *abi.Encoder) error
func (*TableDelta) UnmarshalABI ¶
func (a *TableDelta) UnmarshalABI(d *abi.Decoder) error
type TableDeltaArray ¶
type TableDeltaArray []byte
func MustMakeTableDeltaArray ¶
func MustMakeTableDeltaArray(data []TableDelta) *TableDeltaArray
func (*TableDeltaArray) Unpack ¶
func (a *TableDeltaArray) Unpack(deltas *[]TableDelta) error
type TableDeltaV0 ¶
type Transaction ¶
type Transaction struct { TxId *chain.Checksum256 Packed *chain.PackedTransaction }
func (Transaction) MarshalABI ¶
func (t Transaction) MarshalABI(e *abi.Encoder) error
func (*Transaction) UnmarshalABI ¶
func (tx *Transaction) UnmarshalABI(d *abi.Decoder) error
type TransactionReceipt ¶
type TransactionReceipt struct { chain.TransactionReceiptHeader Trx Transaction }
type TransactionTrace ¶
type TransactionTrace struct {
V0 *TransactionTraceV0
}
func (TransactionTrace) MarshalABI ¶
func (t TransactionTrace) MarshalABI(e *abi.Encoder) error
func (*TransactionTrace) UnmarshalABI ¶
func (a *TransactionTrace) UnmarshalABI(d *abi.Decoder) error
type TransactionTraceArray ¶
type TransactionTraceArray []byte
func MustMakeTransactionTraceArray ¶
func MustMakeTransactionTraceArray(data []TransactionTrace) *TransactionTraceArray
func (*TransactionTraceArray) Unpack ¶
func (a *TransactionTraceArray) Unpack(traces *[]TransactionTrace) error
type TransactionTraceV0 ¶
type TransactionTraceV0 struct { ID chain.Checksum256 `json:"id"` Status chain.TransactionStatus `json:"status"` CPUUsageUS uint32 `json:"cpu_usage_us"` NetUsageWords uint `json:"net_usage_words"` Elapsed int64 `json:"elapsed"` NetUsage uint64 `json:"net_usage"` Scheduled bool `json:"scheduled"` ActionTraces []*ActionTrace `json:"action_traces"` AccountDelta *AccountDelta `json:"account_delta" eosio:"optional"` Except string `json:"except" eosio:"optional"` ErrorCode uint64 `json:"error_code" eosio:"optional"` FailedDtrxTrace *TransactionTrace `json:"failed_dtrx_trace" eosio:"optional"` Partial *PartialTransaction `json:"partial" eosio:"optional"` }
Click to show internal directories.
Click to hide internal directories.