integrationtests

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: GPL-3.0 Imports: 24 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const MaxTrieLevelInMemory = uint(5)

MaxTrieLevelInMemory -

Variables

View Source
var TestHasher = sha256.NewSha256()

TestHasher -

View Source
var TestMarshalizer = &marshal.GogoProtoMarshalizer{}

TestMarshalizer -

Functions

func CreateAccountsDB

func CreateAccountsDB(db storage.Storer) *state.AccountsDB

CreateAccountsDB -

func CreateInMemoryShardAccountsDB

func CreateInMemoryShardAccountsDB() *state.AccountsDB

CreateInMemoryShardAccountsDB -

func CreateMemUnit

func CreateMemUnit() storage.Storer

CreateMemUnit -

func CreateStorer

func CreateStorer(parentDir string) storage.Storer

CreateStorer -

func SmartContractResultsToString

func SmartContractResultsToString(pubKeyConverter core.PubkeyConverter, scrs ...*smartContractResult.SmartContractResult) string

SmartContractResultsToString will convert smartcontract results to an easy-to-understand string

func TransactionHandlerToString

func TransactionHandlerToString(pubKeyConverter core.PubkeyConverter, txHandlers ...data.TransactionHandler) string

TransactionHandlerToString will convert the transaction data slice provided to string

Types

type TestAccountFactory

type TestAccountFactory struct {
}

TestAccountFactory -

func (*TestAccountFactory) CreateAccount

func (factory *TestAccountFactory) CreateAccount(address []byte) (vmcommon.AccountHandler, error)

CreateAccount -

func (*TestAccountFactory) IsInterfaceNil

func (factory *TestAccountFactory) IsInterfaceNil() bool

IsInterfaceNil returns true if there is no value under the interface

Jump to

Keyboard shortcuts

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