burrow: github.com/hyperledger/burrow/integration Index | Files | Directories

package integration

import "github.com/hyperledger/burrow/integration"

Index

Package Files

integration.go

Constants

const (
    ChainName = "Integration_Test_Chain"
)

func CommitImmediately Uses

func CommitImmediately(conf *config.BurrowConfig)

func EnterTestDirectory Uses

func EnterTestDirectory() (testDir string, cleanup func())

func MakeEthereumAccounts Uses

func MakeEthereumAccounts(sec string, n int) []*acm.PrivateAccount

func MakePrivateAccounts Uses

func MakePrivateAccounts(sec string, n int) []*acm.PrivateAccount

Default deterministic account generation helper, pass number of accounts to make

func NewTestConfig Uses

func NewTestConfig(genesisDoc *genesis.GenesisDoc,
    options ...func(*config.BurrowConfig)) (conf *config.BurrowConfig, cleanup func())

func NoConsensus Uses

func NoConsensus(conf *config.BurrowConfig)

func RunNode Uses

func RunNode(t testing.TB, genesisDoc *genesis.GenesisDoc, privateAccounts []*acm.PrivateAccount,
    options ...func(*config.BurrowConfig)) (kern *core.Kernel, shutdown func())

func Shutdown Uses

func Shutdown(kern *core.Kernel)

func TestGenesisDoc Uses

func TestGenesisDoc(addressables []*acm.PrivateAccount, vals ...int) *genesis.GenesisDoc

TestGenesisDoc creates genesis from a set of accounts and validators from indices within that slice

func TestKernel Uses

func TestKernel(validatorAccount *acm.PrivateAccount, keysAccounts []*acm.PrivateAccount,
    testConfig *config.BurrowConfig) (*core.Kernel, error)

We use this to wrap tests

Directories

PathSynopsis
rpctest

Package integration imports 22 packages (graph) and is imported by 4 packages. Updated 2020-06-13. Refresh now. Tools for package owners.