Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aleph-zero-foundation/AlephBFT
/ NodeCount
Class
NodeCount
crypto/src/node.rs:57–57 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
55
Sum,
56
)]
57
pub struct NodeCount(pub usize);
58
59
// deriving Mul and Div is somehow cumbersome
60
impl Mul<usize> for NodeCount {
Callers
15
mul
Method · 0.85
div
Method · 0.85
consensus_threshold
Method · 0.85
simple_scenario
Function · 0.85
faulty_network
Function · 0.85
node_hearing_only_multisignatures
Function · 0.85
bad_signatures_and_multisignatures_are_ignored
Function · 0.85
on_signed_hash_with_bad_signature_fails
Function · 0.85
low_round_not_causing_slowdown_fails_the_check
Function · 0.85
high_round_causing_slowdown_passes_the_check
Function · 0.85
distributes_alert_from_units
Function · 0.85
reacts_to_correctly_incoming_alert
Function · 0.85
Calls
no outgoing calls
Tested by
15
on_signed_hash_with_bad_signature_fails
Function · 0.68
low_round_not_causing_slowdown_fails_the_check
Function · 0.68
high_round_causing_slowdown_passes_the_check
Function · 0.68
distributes_alert_from_units
Function · 0.68
reacts_to_correctly_incoming_alert
Function · 0.68
asks_about_unknown_alert
Function · 0.68
ignores_wrong_alert
Function · 0.68
responds_to_alert_queries
Function · 0.68
notifies_only_about_multisigned_alert
Function · 0.68
ignores_insufficiently_multisigned_alert
Function · 0.68
verify_fork_ok
Function · 0.68
verify_fork_wrong_session
Function · 0.68