integration

package
v0.0.0-...-59e56fa Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeABCI

func MakeABCI(cfg lachesis.Config, s *app.Store) *app.App

MakeABCI makes ABCI-application.

func MakeEngine

func MakeEngine(dataDir string, gossipCfg *gossip.Config, appCfg *app.Config) (*poset.Poset, *app.Store, *gossip.Store)

MakeEngine makes consensus engine from config.

func NewIntegration

func NewIntegration(ctx *adapters.ServiceContext, network lachesis.Config) *gossip.Service

NewIntegration creates gossip service for the integration test

func SetAccountKey

func SetAccountKey(
	am *accounts.Manager, key *ecdsa.PrivateKey, pswd string,
) (
	acc accounts.Account,
)

SetAccountKey sets key into accounts manager and unlocks it with pswd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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