Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateTx ¶ added in v0.0.3
func ValidateTx(tree *iavl.ImmutableTree, t tx.TypedTx) error
Types ¶
type ExecutionResult ¶
type ExecutionResult struct { StateRoot types.Hash `json:"stateRoot"` TxRoot types.Hash `json:"txRoot"` Txs types.Txs `json:"txs"` ReceiptRoot types.Hash `json:"receiptsRoot"` Receipts types.Receipts `json:"receipts"` Rejected []*rejectedTx `json:"rejected,omitempty"` Pending []int `json:"pending,omitempty"` }
func ApplyTxs ¶
func ApplyTxs(tree *iavl.MutableTree, txs types.Txs) (*ExecutionResult, error)
type Transactor ¶ added in v0.0.3
type Transactor interface { Validate(tree *iavl.ImmutableTree, t tx.TypedTx) error Apply(tree *iavl.MutableTree, t tx.TypedTx) (resultCode, error) }
Click to show internal directories.
Click to hide internal directories.