Documentation ¶
Index ¶
- Variables
- type Config
- type Execution
- func (exec *Execution) Drivers() map[common.DriverType]common.CodeDriver
- func (exec *Execution) Execute(blk *core.Block, txs []*core.Transaction) (*core.BlockCommit, []*core.TxCommit)
- func (exec *Execution) MockExecute(blk *core.Block) (*core.BlockCommit, []*core.TxCommit)
- func (exec *Execution) Query(query *common.QueryData) (val []byte, err error)
- func (exec *Execution) StateStore() common.StateStore
- func (exec *Execution) VerifyTx(tx *core.Transaction) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ TxExecTimeout: 10 * time.Second, ConcurrentLimit: 20, }
Functions ¶
This section is empty.
Types ¶
type Execution ¶
type Execution struct {
// contains filtered or unexported fields
}
func (*Execution) Drivers ¶
func (exec *Execution) Drivers() map[common.DriverType]common.CodeDriver
func (*Execution) Execute ¶
func (exec *Execution) Execute(blk *core.Block, txs []*core.Transaction) ( *core.BlockCommit, []*core.TxCommit)
func (*Execution) MockExecute ¶
func (*Execution) StateStore ¶
func (exec *Execution) StateStore() common.StateStore
Click to show internal directories.
Click to hide internal directories.