sigil-consensus · crate
Source declarations, signatures and documentation for crate.
Source: sigil/node/sigil-consensus/src/lib.rs. SHA-256: 9eaf77d76b624d831b9dcd2a807035c60430967960eeff26ce407f15142536a3.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
election
pub mod election;Source line: 16.
epoch
pub mod epoch;Source line: 17.
error
pub mod error;Source line: 18.
round
pub mod round;Source line: 19.
semantic
pub mod semantic;Source line: 20.
signing
pub mod signing;Source line: 21.
validator
pub mod validator;Source line: 22.
view_change
pub mod view_change;Source line: 23.
pub use election::{compute_score, elect_proposer, ElectionConfig, ElectionWeights};
pub use election::{compute_score, elect_proposer, ElectionConfig, ElectionWeights};Source line: 26.
pub use epoch::{epoch_for_height, genesis_epoch, is_epoch_boundary, transition_epoch, EpochInfo};
pub use epoch::{epoch_for_height, genesis_epoch, is_epoch_boundary, transition_epoch, EpochInfo};Source line: 27.
pub use error::{ConsensusError, ConsensusPhase};
pub use error::{ConsensusError, ConsensusPhase};Source line: 28.
pub use round::{ConsensusDecision, ConsensusMessage, ConsensusRound, PreCommit, PreVote};
pub use round::{ConsensusDecision, ConsensusMessage, ConsensusRound, PreCommit, PreVote};Source line: 29.
pub use semantic::{SemanticValidationError, SemanticValidator, SemanticValidatorRegistry};
pub use semantic::{SemanticValidationError, SemanticValidator, SemanticValidatorRegistry};Source line: 30.
pub use validator::{Validator, ValidatorSet};
pub use validator::{Validator, ValidatorSet};Source line: 31.
pub use view_change::{
next_proposer_after_view_change, NewViewMessage, ViewChangeCertificate, ViewChangeMessage, ViewChangeReason, ViewChangeTracker, };
pub use view_change::{
next_proposer_after_view_change, NewViewMessage, ViewChangeCertificate, ViewChangeMessage,
ViewChangeReason, ViewChangeTracker,
};Source line: 32.