native

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2021 License: Apache-2.0, BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const VMType = "examplevm"

Variables

This section is empty.

Functions

func AddProcessor

func AddProcessor(c *coreutil.ContractInterface)

AddProcessor adds new processor to the runtime registry of example processors. The 'proc' represents executable of the specific smart contract. It must implement coretypes.Processor

func GetProcessor

func GetProcessor(progHash hashing.HashValue) (coretypes.Processor, bool)

GetProcessor retrieves smart contract processor (VM) by the hash (with existence flag)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL