From d75ed77702eee2463b936ea2976adcf46294e8f0 Mon Sep 17 00:00:00 2001 From: BowTiedDevOps <157840260+BowTiedDevOps@users.noreply.github.com> Date: Mon, 18 Nov 2024 21:37:09 +0200 Subject: [PATCH] feat: add `[miner]` config section in miner docs --- .../run-a-miner/mine-mainnet-stacks-tokens.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/guides-and-tutorials/run-a-miner/mine-mainnet-stacks-tokens.md b/guides-and-tutorials/run-a-miner/mine-mainnet-stacks-tokens.md index 3da6465d4c..6fd93e38a0 100644 --- a/guides-and-tutorials/run-a-miner/mine-mainnet-stacks-tokens.md +++ b/guides-and-tutorials/run-a-miner/mine-mainnet-stacks-tokens.md @@ -166,7 +166,7 @@ Now, we need to configure our node to use this Bitcoin keychain. Copy the [sampl Next, update the stacks configuration: * **Optional, but recommended:** Use a persistent directory to store the Stacks chainstate, i.e. `working_dir = "/stacks-blockchain"` -* From the `make_keychain` step, modify the `seed` value with `privatekey` +* From the `make_keychain` step, modify the `seed` and `mining_key` values with `privatekey` * Store the following configuration somewhere on your filesystem (ex: `$HOME/mainnet-miner-conf.toml`) ```toml @@ -189,7 +189,14 @@ password = "" rpc_port = 8332 peer_port = 8333 satoshis_per_byte = 100 -burn_fee_cap = 20000 +burn_fee_cap = 450000 + +[miner] +mining_key = "" +activated_vrf_key_path = "/stacks-blockchain/saved_vrf_key.json" + +[connection_options] +private_neighbors = false ``` #### Start the Stacks Blockchain