Docs.rs
hotmint-consensus-0.8.1
hotmint-consensus 0.8.1
Docs.rs crate page
GPL-3.0-only
Links
Repository
crates.io
Source
Owners
haxjump
Dependencies
blake3 ^1
normal
hotmint-crypto ^0.8.1
normal
hotmint-types ^0.8.1
normal
parking_lot ^0.12
normal
prometheus-client ^0.23
normal
ruc ^9.3
normal
serde ^1
normal
tokio ^1
normal
tracing ^0.1
normal
criterion ^0.5
dev
rand ^0.8
dev
tracing-subscriber ^0.3
dev
Versions
44.62%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module view_protocol
hotmint_
consensus
0.8.1
Module view_
protocol
Module Items
Structs
Enums
Functions
In crate hotmint_
consensus
hotmint_consensus
Module
view_
protocol
Copy item path
Source
Structs
§
Proposal
Data
Incoming proposal data from the leader.
Proposal
Result
Execute step (3): Replica receives proposal, validates, votes. Returns
Option<Epoch>
if fast-forward commit triggered an epoch change. Result of on_proposal that may include a fast-forward commit.
Enums
§
View
Entry
Trigger
Trigger that causes us to enter a new view
Functions
§
enter_
view
Execute step (1): Enter view
on_
prepare
Execute step (5): Replica receives prepare → update lock → send vote2 to next leader
on_
proposal
on_
votes_
collected
Execute step (4): Leader collected 2f+1 votes → form QC → broadcast prepare
propose
Execute step (2): Leader proposes