You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/generated/configuration-reference.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ The configuration is automatically generated from the Rust source code documenta
106
106
|[<spanid="burnchain-block_commit_tx_estimated_size">block_commit_tx_estimated_size</span>](#burnchain-block_commit_tx_estimated_size)| Estimated size (in virtual bytes) of a block commit transaction on bitcoin.<br>Used for fee calculation in mining logic by multiplying with the fee rate<br>[satoshis_per_byte](#burnchain-satoshis_per_byte) .<br><br>**Notes:**<br>- Only relevant if [[node].miner](#node-miner) is `true`.<br><br>**Units:** virtual bytes |`380`|
107
107
|[<spanid="burnchain-burn_fee_cap">burn_fee_cap</span>](#burnchain-burn_fee_cap)| The maximum amount (in sats) of "burn commitment" to broadcast for the next<br>block's leader election. Acts as a safety cap to limit the maximum amount<br>spent on mining. It serves as both the target fee and a fallback if dynamic<br>fee calculations fail or cannot be performed.<br><br>This setting can be hot-reloaded from the config file, allowing adjustment<br>without restarting.<br><br>**Notes:**<br>- Only relevant if [[node].miner](#node-miner) is `true`.<br><br>**Units:** satoshis |`20_000`|
108
108
|[<spanid="burnchain-chain">chain</span>](#burnchain-chain)| The underlying blockchain used for Proof-of-Transfer.<br><br>**Notes:**<br>- Currently, only `"bitcoin"` is supported. |`"bitcoin"`|
109
-
|[<spanid="burnchain-chain_id">chain_id</span>](#burnchain-chain_id)| The network-specific identifier used in P2P communication and database initialization.<br><br>**Notes:**<br>- **Warning:** Do not modify this unless you really know what you're doing.<br>- This is intended strictly for testing purposes. | - if [mode](#burnchain-mode) is `"mainnet"`: `CHAIN_ID_MAINNET`<br>- else: `CHAIN_ID_TESTNET`|
109
+
|[<spanid="burnchain-chain_id">chain_id</span>](#burnchain-chain_id)| The network-specific identifier used in P2P communication and database initialization.<br><br>**Notes:**<br>- **Warning:** Do not modify this unless you really know what you're doing.<br>- This is intended strictly for testing purposes. | - if [mode](#burnchain-mode) is `"mainnet"`: `0x00000001`<br>- else: `0x80000000`|
110
110
|[<spanid="burnchain-commit_anchor_block_within">commit_anchor_block_within</span>](#burnchain-commit_anchor_block_within)| Specifies a mandatory wait period (in milliseconds) after receiving a burnchain tip<br>before the node attempts to build the anchored block for the new tenure.<br>This duration effectively schedules the start of the block-building process<br>relative to the tip's arrival time.<br><br>**Notes:**<br>- This is intended strictly for testing purposes.<br><br>**Units:** milliseconds |`5_000`|
111
111
| [<span id="burnchain-epochs">epochs</span>](#burnchain-epochs) | Custom override for the definitions of Stacks epochs (start/end burnchain<br>heights, consensus rules). This setting allows testing specific epoch<br>transitions or custom consensus rules by defining exactly when each epoch<br>starts on bitcoin.<br><br>Epochs define distinct protocol rule sets (consensus rules, execution costs,<br>capabilities). When configured, the list must include all epochs<br>sequentially from "1.0" up to the highest desired epoch, without skipping<br>any intermediate ones. Valid `epoch_name` values currently include:<br>`"1.0"`, `"2.0"`, `"2.05"`, `"2.1"`, `"2.2"`, `"2.3"`, `"2.4"`, `"2.5"`, `"3.0"`, `"3.1"`.<br><br>**Validation Rules:**<br>- Epochs must be provided in strict chronological order (`1.0`, `2.0`, `2.05`...).<br>- `start_height` values must be non-decreasing across the list.<br>- Epoch `"1.0"` must have `start_height = 0`.<br>- The number of defined epochs cannot exceed the maximum supported by the node software.<br><br>**Notes:**<br>- Applied only if [mode](#burnchain-mode) is not "mainnet".<br>- This is intended strictly for testing purposes.<br>- Configured as a list `[[burnchain.epochs]]` in TOML, each with `epoch_name` (string) and `start_height` (integer Bitcoin block height).<br><br>**Example:**<br><pre><code>[[burnchain.epochs]] epoch_name = "2.1" start_height = 150 [[burnchain.epochs]] epoch_name = "2.2" start_height = 200</code></pre> | `None` (uses the standard epoch definitions for the selected [mode](#burnchain-mode) ) |
112
112
|[<spanid="burnchain-fault_injection_burnchain_block_delay">fault_injection_burnchain_block_delay</span>](#burnchain-fault_injection_burnchain_block_delay)| Fault injection setting for testing. Introduces an artificial delay (in<br>milliseconds) before processing each burnchain block download. Simulates a<br>slow burnchain connection.<br><br>**Notes:**<br>- This is intended strictly for testing purposes.<br><br>**Units:** milliseconds |`0` (no delay) |
@@ -122,7 +122,7 @@ The configuration is automatically generated from the Rust source code documenta
122
122
|[<spanid="burnchain-password">password</span>](#burnchain-password)| The password for authenticating with the bitcoin node's RPC interface.<br>Required if the bitcoin node requires RPC authentication.<br><br>**Notes:**<br>- Only relevant if [[node].miner](#node-miner) is `true`. |`None`|
123
123
|[<spanid="burnchain-peer_host">peer_host</span>](#burnchain-peer_host)| The hostname or IP address of the bitcoin node peer.<br><br>This field is required for all node configurations as it specifies where to<br>find the underlying bitcoin node to interact with for PoX operations,<br>block validation, and mining. |`"0.0.0.0"`|
124
124
|[<spanid="burnchain-peer_port">peer_port</span>](#burnchain-peer_port)| The P2P network port of the bitcoin node specified by [peer_host](#burnchain-peer_host) . |`8333`|
125
-
|[<spanid="burnchain-peer_version">peer_version</span>](#burnchain-peer_version)| The peer protocol version number used in P2P communication.<br>This parameter cannot be set via the configuration file.<br><br>**Notes:**<br>- **Warning:** Do not modify this unless you really know what you're doing. | - if [mode](#burnchain-mode) is `"mainnet"`: `PEER_VERSION_MAINNET`<br>- else: `PEER_VERSION_TESTNET`|
125
+
|[<spanid="burnchain-peer_version">peer_version</span>](#burnchain-peer_version)| The peer protocol version number used in P2P communication.<br>This parameter cannot be set via the configuration file.<br><br>**Notes:**<br>- **Warning:** Do not modify this unless you really know what you're doing. | - if [mode](#burnchain-mode) is `"mainnet"`: `402_653_196`<br>- else: `4_207_599_116`|
126
126
|[<spanid="burnchain-poll_time_secs">poll_time_secs</span>](#burnchain-poll_time_secs)| The interval, in seconds, at which the node polls the bitcoin node for new<br>blocks and state updates.<br><br>The default value of 10 seconds is mainly intended for testing purposes.<br>It's suggested to set this to a higher value for mainnet, e.g., 300 seconds<br>(5 minutes).<br><br>**Units:** seconds |`10`|
127
127
|[<spanid="burnchain-pox_2_activation">pox_2_activation</span>](#burnchain-pox_2_activation)| Sets a custom burnchain height for PoX-2 activation (for testing).<br><br>This affects two key transitions:<br>1. The block height at which PoX v1 lockups are automatically unlocked.<br>2. The block height from which PoX reward set calculations switch to PoX v2 rules.<br><br>**Behavior:**<br>- This value directly sets the auto unlock height for PoX v1 lockups before<br> transition to PoX v2. This also defines the burn height at which PoX reward<br> sets are calculated using PoX v2 rather than v1.<br>- If custom [epochs](#burnchain-epochs) are provided:<br> - This value is used to validate that Epoch 2.1's start height is ≤ this value.<br> - However, the height specified in `epochs` for Epoch 2.1 takes precedence.<br><br>**Notes:**<br>- Applied only if [mode](#burnchain-mode) is not "mainnet".<br>- This is intended strictly for testing purposes. |`None`|
128
128
|[<spanid="burnchain-pox_prepare_length">pox_prepare_length</span>](#burnchain-pox_prepare_length)| Overrides the length (in bitcoin blocks) of the PoX prepare phase.<br><br>**Notes:**<br>- Applied only if [mode](#burnchain-mode) is not "mainnet".<br>- This is intended strictly for testing purposes.<br><br>**Units:** bitcoin blocks |`None` (uses the standard prepare phase length for the mode) |
0 commit comments