Skip to content

Commit 19142e9

Browse files
committed
update block_rejection_timeout_steps to the new defaults
1 parent 95a2920 commit 19142e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

stackslib/src/config/mod.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2476,17 +2476,17 @@ pub struct MinerConfig {
24762476
/// ```toml
24772477
/// [miner]
24782478
/// # Keys are rejection counts, values are timeouts in seconds.
2479-
/// block_rejection_timeout_steps = { 0 = 600, 10 = 300, 20 = 150, 30 = 0 }
2479+
/// block_rejection_timeout_steps = { 0 = 180, 10 = 90, 20 = 45, 30 = 0 }
24802480
/// ```
24812481
/// This example means:
2482-
/// - If rejection weight is 0 <= weight < 10, wait up to 600 seconds.
2483-
/// - If rejection weight is 10 <= weight < 20, wait up to 300 seconds.
2484-
/// - If rejection weight is 20 <= weight < 30, wait up to 150 seconds.
2482+
/// - If rejection weight is 0 <= weight < 10, wait up to 180 seconds.
2483+
/// - If rejection weight is 10 <= weight < 20, wait up to 90 seconds.
2484+
/// - If rejection weight is 20 <= weight < 30, wait up to 45 seconds.
24852485
/// - If rejection weight is >= 30, timeout immediately (0 seconds).
24862486
///
24872487
/// (Note: The actual rejection weight values depend on the specific signer set and their weights.)
24882488
///
2489-
/// Default: `{ 0: 600s, 10: 300s, 20: 150s, 30: 0s }`
2489+
/// Default: `{ 0: 180s, 10: 90s, 20: 45s, 30: 0s }`
24902490
pub block_rejection_timeout_steps: HashMap<u32, Duration>,
24912491
/// Defines the maximum execution time (in seconds) allowed for a single contract call transaction.
24922492
///

0 commit comments

Comments
 (0)