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: README.md
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@
22
22
Bitcoin Signet provides a sandboxed environment for Bitcoin, allowing developers and testers to simulate the Bitcoin network without the risks associated with the main or test networks. This Docker image facilitates the deployment and configuration of a Signet node, offering a range of customizable options through environment variables.
23
23
24
24
Versions prior to 29.0 were using BDB wallet, system will automaticly update your wallet to new descriptor format.
25
-
`PRIVKEY` prior to 29.0 was a WIF, now is descriptor on new wallets. will only import new style keys.
25
+
`PRIVKEY` prior to 29.0 was a WIF, now is descriptor on new wallets.
26
26
27
27
## 🛠 Environment Variables
28
28
@@ -33,10 +33,12 @@ Versions prior to 29.0 were using BDB wallet, system will automaticly update you
33
33
-`MINERENABLED`: Flag to enable the mining chain. (**mining mode only**)
34
34
-`NBITS`: Sets the minimum difficulty in mining. (**mining mode only**)
35
35
-`PRIVKEY`: Private key of the Signet signer. If `MINERENABLED=1` and not provided, it will be generated. (**mining mode only**)
36
-
-`PRIVKEY_MODE`: `descriptor` - provide descriptors (wallets from >=v29.0) or `legacy` - provide WIF (method used prior to <v29.0)
36
+
-`PRIVKEY_MODE`: `descriptor` - provide descriptors (wallets from >=v29.0) or `legacy` - provide WIF (method used prior to <v29.0 to init signet challenge)
37
37
-`MINETO`: Address to mine to. If not provided, a new address will be generated for each block. (**mining mode only**)
38
38
-`SIGNETCHALLENGE`: Sets the valid block producer for this Signet. Required for client-mode.
39
39
- If `MINERENABLED=1` and not provided, it will be generated. If provided, `PRIVKEY` must also be populated.
40
+
-`CHAIN_TIP_AGE`: 7200s (2hrs), will not start miner until chain-tip timestamp vs local is <= this value, allows things to sync up before trying to mine bad blacks.
41
+
-`MINE_GENESIS`: set to 1 if you are starting a new chain, will mine first block so passes `CHAIN_TIP_AGE` check.
0 commit comments