MCPcopy Create free account
hub / github.com/DNAProject/DNA / NewMockP2p

Function NewMockP2p

p2pserver/message/utils/msg_handler_test.go:68–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}
67
68func NewMockP2p() *MockP2P {
69 return &MockP2P{netserver.NewNetServer(), make([]types.Message, 0)}
70}
71
72var testGenesisConfig = &config.GenesisConfig{
73 SeedList: []string{

Callers 4

TestMainFunction · 0.85
TestAddrReqHandleFunction · 0.85
TestAddrReqHandle_maskokFunction · 0.85

Calls 1

NewNetServerFunction · 0.92

Tested by

no test coverage detected