Versions in this module Expand all Collapse all v1 v1.4.2 Oct 4, 2021 v1.4.1 Oct 4, 2021 Changes in this version + func CreateP2PMsg(code uint64, payload []byte) (p2p.Msg, error) + func GetGenesisAndKeys(numValidators int, isFullChain bool) (*core.Genesis, []*ecdsa.PrivateKey) + func InitTestBackendFactory(impl TestBackendFactory) + type TestBackendFactory interface + GetGenesisAndKeys func(numValidators int, isFullChain bool) (*core.Genesis, []*ecdsa.PrivateKey) + New func(isProxy bool, proxiedValAddress common.Address, isProxied bool, ...) (TestBackendInterface, *istanbul.Config) + type TestBackendInterface interface + Address func() common.Address + HandleMsg func(addr common.Address, msg p2p.Msg, peer consensus.Peer) (bool, error) + func NewTestBackend(isProxy bool, proxiedValAddress common.Address, isProxied bool, ...) (TestBackendInterface, *istanbul.Config)