acceptance

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2019 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEFAULT_NODE_COUNT_FOR_ACCEPTANCE = 7
View Source
var ENABLE_LEAN_HELIX_IN_ACCEPTANCE_TESTS = true
View Source
var TEST_TIMEOUT_HARD_LIMIT = 20 * time.Second //TODO(v1) 10 seconds is infinity; reduce to 2 seconds when system is more stable (after we add feature of custom config per test)

Functions

This section is empty.

Types

type NetworkHarness

type NetworkHarness struct {
	inmemory.Network
	// contains filtered or unexported fields
}

func (*NetworkHarness) BlockPersistence

func (*NetworkHarness) DeployBenchmarkTokenContract

func (n *NetworkHarness) DeployBenchmarkTokenContract(ctx context.Context, ownerAddressIndex int) callcontract.BenchmarkTokenClient

func (*NetworkHarness) DumpState

func (n *NetworkHarness) DumpState()

func (*NetworkHarness) EthereumSimulator

func (n *NetworkHarness) EthereumSimulator() *ethereumAdapter.EthereumSimulator

func (*NetworkHarness) GetStatePersistence

func (*NetworkHarness) GetTransactionPoolBlockHeightTracker

func (n *NetworkHarness) GetTransactionPoolBlockHeightTracker(nodeIndex int) *synchronization.BlockTracker

func (*NetworkHarness) MockContract

func (n *NetworkHarness) MockContract(fakeContractInfo *sdkContext.ContractInfo, code string)

func (*NetworkHarness) Size

func (n *NetworkHarness) Size() int

func (*NetworkHarness) TransportTamperer

func (n *NetworkHarness) TransportTamperer() testGossipAdapter.Tamperer

func (*NetworkHarness) WaitForTransactionInNodeState

func (n *NetworkHarness) WaitForTransactionInNodeState(ctx context.Context, txHash primitives.Sha256, nodeIndex int)

func (*NetworkHarness) WaitForTransactionInState

func (n *NetworkHarness) WaitForTransactionInState(ctx context.Context, txHash primitives.Sha256)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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