aboutsummaryrefslogtreecommitdiff
path: root/contrib/signet
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/signet')
-rw-r--r--contrib/signet/README.md4
-rwxr-xr-xcontrib/signet/miner2
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/signet/README.md b/contrib/signet/README.md
index 71dc2f9638..f6e3924b18 100644
--- a/contrib/signet/README.md
+++ b/contrib/signet/README.md
@@ -25,7 +25,7 @@ To mine the first block in your custom chain, you can run:
cd src/
CLI="./bitcoin-cli -conf=mysignet.conf"
- MINER="..contrib/signet/miner"
+ MINER="../contrib/signet/miner"
GRIND="./bitcoin-util grind"
ADDR=$($CLI -signet getnewaddress)
$MINER --cli="$CLI" generate --grind-cmd="$GRIND" --address="$ADDR" --set-block-time=-1
@@ -52,7 +52,7 @@ Instead of specifying --ongoing, you can specify --max-blocks=N to mine N blocks
Instead of using a single address, a ranged descriptor may be provided instead (via the --descriptor parameter), with the reward for the block at height H being sent to the H'th address generated from the descriptor.
-Instead of calculating a specific nbits value, --min-nbits can be specified instead, in which case the mininmum signet difficulty will be targeted.
+Instead of calculating a specific nbits value, --min-nbits can be specified instead, in which case the minimum signet difficulty will be targeted.
By default, the signet miner mines blocks at fixed intervals with minimal variation. If you want blocks to appear more randomly, as they do in mainnet, specify the --poisson option.
diff --git a/contrib/signet/miner b/contrib/signet/miner
index a3fba49d0e..ecfbd9d766 100755
--- a/contrib/signet/miner
+++ b/contrib/signet/miner
@@ -520,7 +520,7 @@ def do_calibrate(args):
sys.stderr.write("Can only specify one of --nbits or --seconds\n")
return 1
if args.nbits is not None and len(args.nbits) != 8:
- sys.stderr.write("Must specify 8 hex digits for --nbits")
+ sys.stderr.write("Must specify 8 hex digits for --nbits\n")
return 1
TRIALS = 600 # gets variance down pretty low