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

Function TestIsCommitter

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

Source from the content-addressed store, hash-verified

111}
112
113func TestIsCommitter(t *testing.T) {
114 server := constructServer()
115 server.peerPool = peerPool()
116 res := server.isCommitter(1, 1)
117 t.Logf("TestIsCommitter %v", res)
118}
119
120func TestGetProposerRankLocked(t *testing.T) {
121 server := constructServer()

Callers

nothing calls this directly

Calls 3

constructServerFunction · 0.85
peerPoolFunction · 0.85
isCommitterMethod · 0.80

Tested by

no test coverage detected