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

Function TestIs2ndProposer

consensus/vbft/node_utils_test.go:99–104  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

97}
98
99func TestIs2ndProposer(t *testing.T) {
100 server := constructServer()
101 server.peerPool = peerPool()
102 res := server.is2ndProposer(1, 1)
103 t.Logf("TestIs2ndProposer %v", res)
104}
105
106func TestIsEndorser(t *testing.T) {
107 server := constructServer()

Callers

nothing calls this directly

Calls 3

constructServerFunction · 0.85
peerPoolFunction · 0.85
is2ndProposerMethod · 0.80

Tested by

no test coverage detected