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

Method handleReadyRequest

rbc.go:280–292  ·  view source on GitHub ↗

If a node had received (2 * f + 1) ready's (with matching root hash) from distinct nodes, it knows that at least (f + 1) good nodes have sent it. Hence every good node will eventually receive (f + 1) and broadcast ready itself. Eventually a node with (2 * f + 1) readys and (f + 1) echos will decode

(senderID uint64, req *ReadyRequest)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

handleMessageMethod · 0.95
handleEchoRequestMethod · 0.95

Calls 2

countReadysMethod · 0.95
tryDecodeValueMethod · 0.95

Tested by

no test coverage detected