integrationtests

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: GPL-3.0 Imports: 26 Imported by: 0

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, enableEpochs common.EnableEpochsHandler) *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

This section is empty.

Jump to

Keyboard shortcuts

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