Documentation ¶
Index ¶
- func DBProducer(dbdir string) kvdb.DbProducer
- func MakeEngine(dataDir string, gossipCfg *gossip.Config) (*poset.Poset, *flushable.SyncedPool, *poset.Store, *gossip.Store)
- func NewIntegration(ctx *adapters.ServiceContext, network lachesis.Config, stack *node.Node) *gossip.Service
- func SetAccountKey(am *accounts.Manager, key *ecdsa.PrivateKey, pswd string) (acc accounts.Account)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DBProducer ¶
func DBProducer(dbdir string) kvdb.DbProducer
func MakeEngine ¶
func MakeEngine(dataDir string, gossipCfg *gossip.Config) (*poset.Poset, *flushable.SyncedPool, *poset.Store, *gossip.Store)
MakeEngine makes consensus engine from config.
func NewIntegration ¶
func NewIntegration(ctx *adapters.ServiceContext, network lachesis.Config, stack *node.Node) *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.
Click to show internal directories.
Click to hide internal directories.