Struct exonum::node::state::ProposeState
[−]
[src]
pub struct ProposeState { /* fields omitted */ }
ProposeState
represents the state of some propose and is used for tracking of unknown
transactions.
Methods
impl ProposeState
[src]
pub fn hash(&self) -> Hash
[src]
Returns hash of the propose.
pub fn block_hash(&self) -> Option<Hash>
[src]
Returns block hash propose was executed.
pub fn set_block_hash(&mut self, block_hash: Hash)
[src]
Set block hash on propose execute.
pub fn message(&self) -> &Propose
[src]
Returns propose-message.
pub fn unknown_txs(&self) -> &HashSet<Hash>
[src]
Returns unknown transactions of the propose.
pub fn has_unknown_txs(&self) -> bool
[src]
Returns true
if there are unknown transactions in the propose.
pub fn is_saved(&self) -> bool
[src]
Indicates whether Propose has been saved to the consensus messages cache
pub fn set_saved(&mut self, saved: bool)
[src]
Marks Propose as saved to the consensus messages cache