@@ -2130,7 +2130,7 @@ pub struct MinerConfig {
2130
2130
/// Time to wait (in milliseconds) for subsequent attempts to mine a block,
2131
2131
/// after the first attempt fails.
2132
2132
///
2133
- /// Default: 12_0000 ms (2 minutes)
2133
+ /// Default: 120_0000 ms (2 minutes)
2134
2134
/// Deprecated: This setting is ignored in Epoch 3.0+. Only used in the neon chain mode.
2135
2135
pub subsequent_attempt_time_ms : u64 ,
2136
2136
/// Time to wait (in milliseconds) to mine a microblock,
@@ -2224,7 +2224,7 @@ pub struct MinerConfig {
2224
2224
/// Amount of time while mining in nakamoto to wait in between mining interim blocks
2225
2225
///
2226
2226
/// Default: `None`
2227
- /// Deprecated: use ` min_time_between_blocks_ms` instead.
2227
+ /// Deprecated: use [`MinerConfig:: min_time_between_blocks_ms`] instead.
2228
2228
pub wait_on_interim_blocks : Option < Duration > ,
2229
2229
/// minimum number of transactions that must be in a block if we're going to replace a pending
2230
2230
/// block-commit with a new block-commit
@@ -2252,7 +2252,7 @@ pub struct MinerConfig {
2252
2252
///
2253
2253
/// Default: `None` (feature disabled).
2254
2254
/// Deprecated: This setting is ignored in Epoch 3.0+. Only used in the neon chain mode and
2255
- /// by the " get-spend-amount" cli subcommand.
2255
+ /// by the ` get-spend-amount` cli subcommand.
2256
2256
pub unconfirmed_commits_helper : Option < String > ,
2257
2257
/// The minimum win probability this miner aims to achieve in block sortitions.
2258
2258
///
@@ -2266,11 +2266,17 @@ pub struct MinerConfig {
2266
2266
/// Default: `0.0`
2267
2267
/// Deprecated: This setting is ignored in Epoch 3.0+. Only used in the neon chain mode.
2268
2268
pub target_win_probability : f64 ,
2269
- /// Path to a serialized RegisteredKey struct, which points to an already-registered VRF key
2270
- /// (so we don't have to go make a new one)
2269
+ /// Path to a file for storing and loading the currently active, registered VRF leader key.
2270
+ ///
2271
+ /// Loading: On startup or when needing to register a key, if this path is set, the relayer first
2272
+ /// attempts to load a serialized [`RegisteredKey`] from this file. If successful, it uses the
2273
+ /// loaded key and skips the on-chain VRF key registration transaction, saving time and fees.
2274
+ /// Saving: After a new VRF key registration transaction is confirmed and activated on the burnchain,
2275
+ /// if this path is set, the node saves the details of the newly activated [`RegisteredKey`] to this file.
2276
+ /// This allows the miner to persist its active VRF key across restarts.
2277
+ /// If the file doesn't exist during load, or the path is `None`, the node proceeds with a new registration.
2271
2278
///
2272
2279
/// Default: `None`
2273
- /// Deprecated: This setting is ignored in Epoch 3.0+. Only used in the neon chain mode.
2274
2280
pub activated_vrf_key_path : Option < String > ,
2275
2281
/// Controls how the miner estimates its win probability when checking for underperformance.
2276
2282
///
@@ -2286,7 +2292,7 @@ pub struct MinerConfig {
2286
2292
///
2287
2293
/// Default: `false`
2288
2294
/// Deprecated: This setting is ignored in Epoch 3.0+. Only used in the neon chain mode and
2289
- /// by the " get-spend-amount" cli subcommand.
2295
+ /// by the ` get-spend-amount` cli subcommand.
2290
2296
pub fast_rampup : bool ,
2291
2297
/// The maximum number of consecutive Bitcoin blocks the miner will tolerate underperforming
2292
2298
/// (i.e., having a calculated win probability below [`MinerConfig::target_win_probability`])
0 commit comments