Skip to content

Commit

Permalink
Use epoch as the gossip purge timeout for staked nodes. (solana-labs#…
Browse files Browse the repository at this point in the history
…7005)

automerge
  • Loading branch information
aeyakovenko authored and solana-grimes committed Nov 20, 2019
1 parent ba9aaee commit b150da8
Show file tree
Hide file tree
Showing 19 changed files with 536 additions and 113 deletions.
56 changes: 56 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ tokio-io = "0.1"
untrusted = "0.7.0"
solana-rayon-threadlimit = { path = "../rayon-threadlimit", version = "0.21.0" }
reed-solomon-erasure = { package = "solana-reed-solomon-erasure", version = "4.0.1-3", features = ["simd-accel"] }
jemallocator = "0.3.2"
jemalloc-ctl = "0.3.2"

[dev-dependencies]
hex-literal = "0.2.1"
Expand Down
2 changes: 2 additions & 0 deletions core/src/banking_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ use crate::{
poh_recorder::{PohRecorder, PohRecorderError, WorkingBankEntry},
poh_service::PohService,
result::{Error, Result},
thread_mem_usage,
};
use crossbeam_channel::{Receiver as CrossbeamReceiver, RecvTimeoutError};
use itertools::Itertools;
Expand Down Expand Up @@ -110,6 +111,7 @@ impl BankingStage {
Builder::new()
.name("solana-banking-stage-tx".to_string())
.spawn(move || {
thread_mem_usage::datapoint("solana-banking-stage-tx");
Self::process_loop(
my_pubkey,
&verified_receiver,
Expand Down
Loading

0 comments on commit b150da8

Please sign in to comment.