aboutsummaryrefslogtreecommitdiff
path: root/contrib/signet
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2021-01-13 11:55:52 +1000
committerAnthony Towns <aj@erisian.com.au>2021-02-07 06:50:11 +1000
commit1a45cd2e51214f81442a5f9bf16612100adaf5b8 (patch)
tree3f5979f11e6aa6a9440e2dd5edc89088d653f1ed /contrib/signet
parent6c6140846f37de8c132b3b6abf09f3d7940554a7 (diff)
downloadbitcoin-1a45cd2e51214f81442a5f9bf16612100adaf5b8.tar.xz
contrib/signet: Fix typos
Thanks to muxator, JeremyRubin, and gruve-p for spotting.
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