Documentation ¶
Index ¶
Constants ¶
View Source
const EXECUTION_CONTEXT_ID_SIZE_BYTES = hash.SHA256_HASH_SIZE_BYTES
Variables ¶
View Source
var BIG_INT_ONE = big.NewInt(1)
View Source
var EXECUTION_CONTEXT_ID_BIGINT_RANGE = new(big.Int).Lsh(BIG_INT_ONE, 8*EXECUTION_CONTEXT_ID_SIZE_BYTES)
View Source
var LogTag = log.Service("virtual-machine")
Functions ¶
func NewVirtualMachine ¶
func NewVirtualMachine( stateStorage services.StateStorage, processors map[protocol.ProcessorType]services.Processor, crosschainConnectors map[protocol.CrosschainConnectorType]services.CrosschainConnector, logger log.BasicLogger, ) services.VirtualMachine
Types ¶
type TransactionOrQuery ¶ added in v0.7.11
type TransactionOrQuery interface { String() string ContractName() primitives.ContractName MethodName() primitives.MethodName RawInputArgumentArrayWithHeader() []byte Signer() *protocol.Signer }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.