From 1a45cd2e51214f81442a5f9bf16612100adaf5b8 Mon Sep 17 00:00:00 2001 From: Anthony Towns Date: Wed, 13 Jan 2021 11:55:52 +1000 Subject: contrib/signet: Fix typos Thanks to muxator, JeremyRubin, and gruve-p for spotting. --- contrib/signet/README.md | 4 ++-- contrib/signet/miner | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'contrib') 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 -- cgit v1.2.3