Skip to content

Commit cb6de13

Browse files
average-garyTest User
authored andcommitted
docs: add coinbase rotation documentation to config examples
Document the new coinbase rotation configuration options in testnet4 config examples for both pool and JD-client.
1 parent 3fddfdd commit cb6de13

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

miner-apps/jd-client/config-examples/testnet4/jdc-config-local-infra-example.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,18 @@ jdc_signature = "Sv2MinerSignature"
3535
# https://github.com/bitcoin/bips/blob/master/bip-0380.mediawiki#appendix-b-index-of-script-expressions
3636
# Although the `musig` descriptor is not yet supported and the legacy `combo` descriptor never
3737
# will be. If you have an address, embed it in a descriptor like `addr(<address here>)`.
38+
#
39+
# For automatic address rotation (quantum-resistant payout hygiene), use a wildcard descriptor:
40+
# coinbase_reward_script = "wpkh(tpub.../0/*)"
41+
# This derives a fresh address for each block found. Requires coinbase_index_file.
3842
coinbase_reward_script = "addr(tb1qpusf5256yxv50qt0pm0tue8k952fsu5lzsphft)"
3943

44+
# Coinbase rotation settings (only used when coinbase_reward_script has a wildcard)
45+
# Path to persist the current derivation index (required for rotation)
46+
# coinbase_index_file = "/var/lib/jdc/coinbase_index.dat"
47+
# Starting index if no persistence file exists (default: 0)
48+
# coinbase_start_index = 0
49+
4050
# Enable this option to set a predefined log file path.
4151
# When enabled, logs will always be written to this file.
4252
# The CLI option --log-file (or -f) will override this setting if provided.

pool-apps/pool/config-examples/testnet4/pool-config-local-sv2-tp-example.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,18 @@ listen_address = "0.0.0.0:43333"
88
# https://github.com/bitcoin/bips/blob/master/bip-0380.mediawiki#appendix-b-index-of-script-expressions
99
# Although the `musig` descriptor is not yet supported and the legacy `combo` descriptor never
1010
# will be. If you have an address, embed it in a descriptor like `addr(<address here>)`.
11+
#
12+
# For automatic address rotation (quantum-resistant payout hygiene), use a wildcard descriptor:
13+
# coinbase_reward_script = "wpkh(tpub.../0/*)"
14+
# This derives a fresh address for each block found. Requires coinbase_index_file.
1115
coinbase_reward_script = "addr(tb1qa0sm0hxzj0x25rh8gw5xlzwlsfvvyz8u96w3p8)"
1216

17+
# Coinbase rotation settings (only used when coinbase_reward_script has a wildcard)
18+
# Path to persist the current derivation index (required for rotation)
19+
# coinbase_index_file = "/var/lib/pool/coinbase_index.dat"
20+
# Starting index if no persistence file exists (default: 0)
21+
# coinbase_start_index = 0
22+
1323
# Server Id (number to guarantee unique search space allocation across different Pool servers)
1424
server_id = 1
1525

0 commit comments

Comments
 (0)