Documentation ¶
Index ¶
Constants ¶
View Source
const (
LruCacheSize = 64
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstancesManager ¶
type InstancesManager struct { }
type RuntimeInstance ¶
type RuntimeInstance struct { ChainId string Log protocol.Logger }
RuntimeInstance gasm runtime
func (*RuntimeInstance) Invoke ¶
func (r *RuntimeInstance) Invoke(contractId *commonPb.Contract, method string, byteCode []byte, parameters map[string][]byte, txContext protocol.TxSimContext, gasUsed uint64) (contractResult *commonPb.ContractResult)
Invoke contract by call vm, implement protocol.RuntimeInstance
Click to show internal directories.
Click to hide internal directories.