Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
Request used to implement 2-step validation flow. After Parse is executed - conservative cache may do validation and skip Verify if transaction can't be executed.
type VM ¶
type VM struct {
// contains filtered or unexported fields
}
VM handles modifications to the account state.
func (*VM) Apply ¶
func (v *VM) Apply(lid types.LayerID, txs []types.RawTx, rewards []types.AnyReward) ([]types.TransactionID, error)
Apply transactions.
func (*VM) ApplyGenesis ¶
ApplyGenesis saves list of accounts for genesis.
Click to show internal directories.
Click to hide internal directories.