diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 5d227f0f54..d42bc703d7 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -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) }