contrib/signet: Fix typos

Thanks to muxator, JeremyRubin, and gruve-p for spotting.
This commit is contained in:
Anthony Towns 2021-01-13 11:55:52 +10:00
parent 6c6140846f
commit 1a45cd2e51
2 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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