smcrunctl

package
v0.0.0-...-24d451d Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Routes = map[string]socket.CallBackFunc{
	"setToTxBuffer":    setToTxBuffer,
	"setToBlockBuffer": setToBlockBuffer,
	"get":              get,
}

Routes routes map

Functions

func StartServer

func StartServer(stateDB *statedb.StateDB, logger log.Logger, v1port int)

Types

type InvokeMgr

type InvokeMgr struct {
	// contains filtered or unexported fields
}

func GetInstance

func GetInstance() *InvokeMgr

func (*InvokeMgr) GetInvokeItems

func (im *InvokeMgr) GetInvokeItems(transID int64) *stubapi.InvokeParams

func (*InvokeMgr) InitContractDocker

func (im *InvokeMgr) InitContractDocker(stateDB *statedb.StateDB) bcerrors.BCError

func (*InvokeMgr) Invoke

func (im *InvokeMgr) Invoke(items *stubapi.InvokeParams, transID int64) (response stubapi.Response, bcErr bcerrors.BCError)

func (*InvokeMgr) RegisterIntoContractDocker

func (im *InvokeMgr) RegisterIntoContractDocker(respData, nameVersion string, stateDb *statedb.StateDB) bcerrors.BCError

func (*InvokeMgr) SetLogger

func (im *InvokeMgr) SetLogger(logger log.Logger)

func (*InvokeMgr) Softforks_2_0_2_14654

func (im *InvokeMgr) Softforks_2_0_2_14654(orgID, contractName string) bool

Jump to

Keyboard shortcuts

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