MCPcopy Create free account
hub / github.com/anthdm/hbbft / TestRBC1FaultyNode

Function TestRBC1FaultyNode

rbc_test.go:16–44  ·  view source on GitHub ↗

Test RBC where 1 node will not provide its value. We use 4 nodes that will tolerate 1 faulty node. The 3 good nodes should be able te reconstruct the proposed value just fine.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

makeRBCNodesFunction · 0.85
DoneMethod · 0.80
inputValueMethod · 0.45

Tested by

no test coverage detected