Adds docs to non_vote_transaction_count_since_restart() (#32886)
This commit is contained in:
parent
7d203722cb
commit
1e8f7b5d1e
|
@ -6920,6 +6920,10 @@ impl Bank {
|
|||
self.transaction_count.load(Relaxed)
|
||||
}
|
||||
|
||||
/// Returns the number of non-vote transactions processed without error
|
||||
/// since the most recent boot from snapshot or genesis.
|
||||
/// This value is not shared though the network, nor retained
|
||||
/// within snapshots, but is preserved in `Bank::new_from_parent`.
|
||||
pub fn non_vote_transaction_count_since_restart(&self) -> u64 {
|
||||
self.non_vote_transaction_count_since_restart.load(Relaxed)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue