Skip to content

contrib/signet/miner: miner won't consider --nbits parameter #30091

@edilmedeiros

Description

@edilmedeiros

Is there an existing issue for this?

  • I have searched the existing issues

Current behaviour

contrib/signet/miner won't respect the --nbits param. It will keep using an interval of 2m29s.

❯ ./contrib/signet/miner --cli "bitcoin-cli" generate --address $MINER_ADDR --grind-cmd "bitcoin-util grind" --nbits $NBITS --ongoing
2024-05-12 16:09:20 INFO Mined block at height 362; next in 3m30s (mine)
2024-05-12 16:12:51 INFO Mined block at height 363; next in 2m29s (mine)
2024-05-12 16:15:21 INFO Mined block at height 364; next in 2m29s (mine)
2024-05-12 16:17:51 INFO Mined block at height 365; next in 2m29s (mine)
2024-05-12 16:20:21 INFO Mined block at height 366; next in 2m29s (mine)

I used different values for $NBITS obtained as describe next. $MINER_ADD was generated by the issuer node and it is indeed receiving new funds each time a block is mined.

When using the --min-nbits option I get the expected 10min interval as expected, but can't control the miner to go faster or slower. In summary, seems that both behaviors are wrong:

  1. --nbits is not being considered;
  2. --min-nbits is not using minimum difficulty. (EDIT: it is, but minimum difficulty in the miner script mean the genesis block difficulty and not going as fast as possible as I expected from the docs and the help message. Yet, does not explain why the genesis block difficulty will make different computers run with the same 10m interval).

I'm willing to investigate the miner script and submit a fix PR, but wanted to make sure I'm not screwing things myself before doing so.

PS: I found this trying to follow instructions to run a custom signet on the bitcoin wiki (https://en.bitcoin.it/wiki/Signet). Unfortunately, the wiki does not cover how to make it using descriptor wallets and it took me some time to figure out. I'm trying to get writing permissions in the bitcoin wiki to update the wiki but don't get a response anywhere. If someone knows who I should talk to, please let me know on the comments.

Expected behaviour

Documentation states that the --nbits param would be used to control how long it would take to mine blocks in the signet instead of going full speed.

Steps to reproduce

Use the miner to estimate the difficulty for a 600 seconds interval. There's a slight variation each time the calibrate command is run, as expected.

$BTC_PATH/../contrib/signet/miner --cli "$BTC_PATH/bitcoin-cli -datadir=$DATA_DIR" calibrate --grind-cmd "$BTC_PATH/bitcoin-util grind" --seconds 600
nbits=1d00ac8d for 600s average mining time
❯ NBITS=1d00ac8d

Mine the first block setting the block time manually.

$BTC_PATH/../contrib/signet/miner --cli "$BTC_PATH/bitcoin-cli -datadir=$DATA_DIR" generate --address $MINER_ADDR --grind-cmd "$BTC_PATH/bitcoin-util grind" --nbits $NBITS --set-block-time $(date +%s)
2024-05-12 16:43:49 INFO Mined block at height 1; next in 2m29s (mine)

Let the miner run. Instead of the expected 10m interval I get 2m29s consistently after some transient.

❯ ./contrib/signet/miner --cli "bitcoin-cli" generate --address $MINER_ADDR --grind-cmd "bitcoin-util grind" --nbits $NBITS --ongoing
2024-05-12 16:44:04 INFO Mined block at height 2; next in 4m44s (mine)
2024-05-12 16:48:49 INFO Mined block at height 3; next in 2m29s (mine)
2024-05-12 16:51:19 INFO Mined block at height 4; next in 2m29s (mine)
2024-05-12 16:53:49 INFO Mined block at height 5; next in 2m29s (mine)
2024-05-12 16:56:19 INFO Mined block at height 6; next in 2m29s (mine)

To check that the --min-nbits will work to get the 10m interval (instead of going full speed as expected):

❯ ./contrib/signet/miner --cli "bitcoin-cli" generate --address $MINER_ADDR --grind-cmd "bitcoin-util grind" --nbits $NBITS --set-block-time $(date +%s)
2024-05-12 17:15:45 INFO Mined block at height 11; next in 2m28s (mine)

❯ $BTC_PATH/../contrib/signet/miner --cli "$BTC_PATH/bitcoin-cli -datadir=$DATA_DIR" generate --address $MINER_ADDR --grind-cmd "$BTC_PATH/bitcoin-util grind" --min-nbits --ongoing
2024-05-12 17:16:05 INFO Using nbits=1e0377ae
2024-05-12 17:16:06 INFO Mined block at height 12; next in 19m38s (mine)
2024-05-12 17:35:44 INFO Mined block at height 13; next in 10m0s (mine)
2024-05-12 17:45:44 INFO Mined block at height 14; next in 10m0s (mine)
Output with `--debug` for 3 more blocks
❯ ./contrib/signet/miner --debug --cli "bitcoin-cli" generate --address $MINER_ADDR --grind-cmd "bitcoin-util grind" --nbits $NBITS --ongoing
2024-05-12 16:58:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 16:58:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockheader', '000001651ecef69e66ea6413d356ae523f8993f4ac7580d7437c36bacfb32efb']
2024-05-12 16:58:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblocktemplate', '{"rules":["signet","segwit"]}']
2024-05-12 16:58:11 DEBUG GBT template: {'capabilities': ['proposal'], 'version': 536870912, 'rules': ['csv', '!segwit', '!signet', 'taproot'], 'vbavailable': {}, 'vbrequired': 0, 'previousblockhash': '000001651ecef69e66ea6413d356ae523f8993f4ac7580d7437c36bacfb32efb', 'transactions': [], 'coinbaseaux': {}, 'coinbasevalue': 5000000000, 'longpollid': '000001651ecef69e66ea6413d356ae523f8993f4ac7580d7437c36bacfb32efb7', 'target': '00000377ae000000000000000000000000000000000000000000000000000000', 'mintime': 1715543330, 'mutable': ['time', 'transactions', 'prevblock'], 'noncerange': '00000000ffffffff', 'sigoplimit': 80000, 'sizelimit': 4000000, 'weightlimit': 4000000, 'curtime': 1715543891, 'bits': '1e0377ae', 'height': 7, 'signet_challenge': '00140b24b854187ee6dcd5a0a7063156b83a4605443c', 'default_witness_commitment': '6a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9'}
2024-05-12 16:58:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getaddressinfo', 'tb1qpvjts4qc0mnde4dq5urrz44c8frq23puhc4mym']
2024-05-12 16:58:11 DEBUG Mining block delta=2m30s start=1715543929 mine=True
2024-05-12 16:58:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', '-stdin', 'walletprocesspsbt']
2024-05-12 16:58:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', '-stdin', 'submitblock']
2024-05-12 16:58:11 DEBUG Block hash 0000027a26160bedac78e820a47a939f76f15f3d026b231db5071bed5d3a1aee payout to tb1qpvjts4qc0mnde4dq5urrz44c8frq23puhc4mym
2024-05-12 16:58:11 INFO Mined block at height 7; next in 3m7s (mine)
2024-05-12 16:58:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 16:58:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockheader', '0000027a26160bedac78e820a47a939f76f15f3d026b231db5071bed5d3a1aee']
2024-05-12 16:58:11 DEBUG Sleeping for 1m, next block due in 3m7s (mine)
2024-05-12 16:59:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 16:59:11 DEBUG Sleeping for 1m, next block due in 2m7s (mine)
2024-05-12 17:00:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:00:11 DEBUG Sleeping for 1m, next block due in 1m7s (mine)
2024-05-12 17:01:11 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:01:11 DEBUG Sleeping for 7s, next block due in 7s (mine)
2024-05-12 17:01:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:01:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblocktemplate', '{"rules":["signet","segwit"]}']
2024-05-12 17:01:19 DEBUG GBT template: {'capabilities': ['proposal'], 'version': 536870912, 'rules': ['csv', '!segwit', '!signet', 'taproot'], 'vbavailable': {}, 'vbrequired': 0, 'previousblockhash': '0000027a26160bedac78e820a47a939f76f15f3d026b231db5071bed5d3a1aee', 'transactions': [], 'coinbaseaux': {}, 'coinbasevalue': 5000000000, 'longpollid': '0000027a26160bedac78e820a47a939f76f15f3d026b231db5071bed5d3a1aee8', 'target': '00000377ae000000000000000000000000000000000000000000000000000000', 'mintime': 1715543480, 'mutable': ['time', 'transactions', 'prevblock'], 'noncerange': '00000000ffffffff', 'sigoplimit': 80000, 'sizelimit': 4000000, 'weightlimit': 4000000, 'curtime': 1715544079, 'bits': '1e0377ae', 'height': 8, 'signet_challenge': '00140b24b854187ee6dcd5a0a7063156b83a4605443c', 'default_witness_commitment': '6a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9'}
2024-05-12 17:01:19 DEBUG Mining block delta=2m30s start=1715544079 mine=True
2024-05-12 17:01:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', '-stdin', 'walletprocesspsbt']
2024-05-12 17:01:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', '-stdin', 'submitblock']
2024-05-12 17:01:19 DEBUG Block hash 0000021265df166e29c9f812e001d459a969d5d084bd12b7549907e23c535167 payout to tb1qpvjts4qc0mnde4dq5urrz44c8frq23puhc4mym
2024-05-12 17:01:19 INFO Mined block at height 8; next in 2m30s (mine)
2024-05-12 17:01:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:01:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockheader', '0000021265df166e29c9f812e001d459a969d5d084bd12b7549907e23c535167']
2024-05-12 17:01:19 DEBUG Sleeping for 1m, next block due in 2m29s (mine)
2024-05-12 17:02:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:02:19 DEBUG Sleeping for 1m, next block due in 1m29s (mine)
2024-05-12 17:03:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:03:19 DEBUG Sleeping for 29s, next block due in 29s (mine)
2024-05-12 17:03:49 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:03:49 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblocktemplate', '{"rules":["signet","segwit"]}']
2024-05-12 17:03:49 DEBUG GBT template: {'capabilities': ['proposal'], 'version': 536870912, 'rules': ['csv', '!segwit', '!signet', 'taproot'], 'vbavailable': {}, 'vbrequired': 0, 'previousblockhash': '0000021265df166e29c9f812e001d459a969d5d084bd12b7549907e23c535167', 'transactions': [], 'coinbaseaux': {}, 'coinbasevalue': 5000000000, 'longpollid': '0000021265df166e29c9f812e001d459a969d5d084bd12b7549907e23c5351679', 'target': '00000377ae000000000000000000000000000000000000000000000000000000', 'mintime': 1715543480, 'mutable': ['time', 'transactions', 'prevblock'], 'noncerange': '00000000ffffffff', 'sigoplimit': 80000, 'sizelimit': 4000000, 'weightlimit': 4000000, 'curtime': 1715544229, 'bits': '1e0377ae', 'height': 9, 'signet_challenge': '00140b24b854187ee6dcd5a0a7063156b83a4605443c', 'default_witness_commitment': '6a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9'}
2024-05-12 17:03:49 DEBUG Mining block delta=2m30s start=1715544229 mine=True
2024-05-12 17:03:49 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', '-stdin', 'walletprocesspsbt']
2024-05-12 17:03:49 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', '-stdin', 'submitblock']
2024-05-12 17:03:49 DEBUG Block hash 00000121bec36cb911544a2278e9e15f68fc2dde265ca94656b2ccd706c9e92c payout to tb1qpvjts4qc0mnde4dq5urrz44c8frq23puhc4mym
2024-05-12 17:03:49 INFO Mined block at height 9; next in 2m29s (mine)
2024-05-12 17:03:49 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:03:49 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockheader', '00000121bec36cb911544a2278e9e15f68fc2dde265ca94656b2ccd706c9e92c']
2024-05-12 17:03:49 DEBUG Sleeping for 1m, next block due in 2m29s (mine)
2024-05-12 17:04:49 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:04:49 DEBUG Sleeping for 1m, next block due in 1m29s (mine)
2024-05-12 17:05:49 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:05:49 DEBUG Sleeping for 29s, next block due in 29s (mine)
2024-05-12 17:06:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:06:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblocktemplate', '{"rules":["signet","segwit"]}']
2024-05-12 17:06:19 DEBUG GBT template: {'capabilities': ['proposal'], 'version': 536870912, 'rules': ['csv', '!segwit', '!signet', 'taproot'], 'vbavailable': {}, 'vbrequired': 0, 'previousblockhash': '00000121bec36cb911544a2278e9e15f68fc2dde265ca94656b2ccd706c9e92c', 'transactions': [], 'coinbaseaux': {}, 'coinbasevalue': 5000000000, 'longpollid': '00000121bec36cb911544a2278e9e15f68fc2dde265ca94656b2ccd706c9e92c10', 'target': '00000377ae000000000000000000000000000000000000000000000000000000', 'mintime': 1715543630, 'mutable': ['time', 'transactions', 'prevblock'], 'noncerange': '00000000ffffffff', 'sigoplimit': 80000, 'sizelimit': 4000000, 'weightlimit': 4000000, 'curtime': 1715544379, 'bits': '1e0377ae', 'height': 10, 'signet_challenge': '00140b24b854187ee6dcd5a0a7063156b83a4605443c', 'default_witness_commitment': '6a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf9'}
2024-05-12 17:06:19 DEBUG Mining block delta=2m30s start=1715544379 mine=True
2024-05-12 17:06:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', '-stdin', 'walletprocesspsbt']
2024-05-12 17:06:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', '-stdin', 'submitblock']
2024-05-12 17:06:19 DEBUG Block hash 0000034045f2e82e954cad452dc90212d1652687aa2a65e8bb50fc2447c1c89a payout to tb1qpvjts4qc0mnde4dq5urrz44c8frq23puhc4mym
2024-05-12 17:06:19 INFO Mined block at height 10; next in 2m29s (mine)
2024-05-12 17:06:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockchaininfo']
2024-05-12 17:06:19 DEBUG Calling bitcoin-cli: ['/Users/jose.edil/2-development/bitcoin/bitcoin-core/src/bitcoin-cli', '-datadir=/tmp/signet-test', '-signet', 'getblockheader', '0000034045f2e82e954cad452dc90212d1652687aa2a65e8bb50fc2447c1c89a']
2024-05-12 17:06:19 DEBUG Sleeping for 1m, next block due in 2m29s (mine)

Relevant log output

`debug.log` for the whole session described in the issue





2024-05-12T19:38:23Z Signet with challenge 00140b24b854187ee6dcd5a0a7063156b83a4605443c
2024-05-12T19:38:23Z Bitcoin Core version v27.0 (release build)
2024-05-12T19:38:23Z InitParameterInteraction: parameter interaction: -bind set -> setting -listen=1
2024-05-12T19:38:23Z Signet derived magic (message start): 4605eff3
2024-05-12T19:38:23Z Script verification uses 10 additional threads
2024-05-12T19:38:23Z Using the 'arm_shani(1way,2way)' SHA256 implementation
2024-05-12T19:38:23Z Default data directory /Users/jose.edil/Library/Application Support/Bitcoin
2024-05-12T19:38:23Z Using data directory /tmp/signet-test/signet
2024-05-12T19:38:23Z Config file: /tmp/signet-test/bitcoin.conf (not found, skipping)
2024-05-12T19:38:23Z Command-line arg: bind="0.0.0.0"
2024-05-12T19:38:23Z Command-line arg: daemon=""
2024-05-12T19:38:23Z Command-line arg: datadir="/tmp/signet-test"
2024-05-12T19:38:23Z Command-line arg: signet=""
2024-05-12T19:38:23Z Command-line arg: signetchallenge="00140b24b854187ee6dcd5a0a7063156b83a4605443c"
2024-05-12T19:38:23Z Command-line arg: txindex=""
2024-05-12T19:38:23Z Using at most 125 automatic connections (285 file descriptors available)
2024-05-12T19:38:23Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements
2024-05-12T19:38:23Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements
2024-05-12T19:38:23Z scheduler thread start
2024-05-12T19:38:23Z Binding RPC on address ::1 port 38332
2024-05-12T19:38:23Z Binding RPC on address 127.0.0.1 port 38332
2024-05-12T19:38:23Z Using random cookie authentication.
2024-05-12T19:38:23Z Generated RPC authentication cookie /tmp/signet-test/signet/.cookie
2024-05-12T19:38:23Z Starting HTTP server with 4 worker threads
2024-05-12T19:38:23Z Using wallet directory /tmp/signet-test/signet/wallets
2024-05-12T19:38:23Z init message: Verifying wallet(s)…
2024-05-12T19:38:23Z Using /16 prefix for IP bucketing
2024-05-12T19:38:23Z init message: Loading P2P addresses…
2024-05-12T19:38:23Z Creating peers.dat because the file was not found ("/tmp/signet-test/signet/peers.dat")
2024-05-12T19:38:23Z init message: Loading banlist…
2024-05-12T19:38:23Z Recreating the banlist database
2024-05-12T19:38:23Z SetNetworkActive: true
2024-05-12T19:38:23Z /tmp/signet-test/signet/fee_estimates.dat is not found. Continue anyway.
2024-05-12T19:38:23Z Script verification uses 10 additional threads
2024-05-12T19:38:23Z Cache configuration:
2024-05-12T19:38:23Z * Using 2.0 MiB for block index database
2024-05-12T19:38:23Z * Using 56.0 MiB for transaction index database
2024-05-12T19:38:23Z * Using 8.0 MiB for chain state database
2024-05-12T19:38:23Z * Using 384.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
2024-05-12T19:38:23Z init message: Loading block index…
2024-05-12T19:38:23Z Validating signatures for all blocks.
2024-05-12T19:38:23Z Setting nMinimumChainWork=0000000000000000000000000000000000000000000000000000000000000000
2024-05-12T19:38:23Z Opening LevelDB in /tmp/signet-test/signet/blocks/index
2024-05-12T19:38:23Z Opened LevelDB successfully
2024-05-12T19:38:23Z Using obfuscation key for /tmp/signet-test/signet/blocks/index: 0000000000000000
2024-05-12T19:38:23Z LoadBlockIndexDB: last block file = 0
2024-05-12T19:38:23Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=0, size=0, heights=0...0, time=1970-01-01...1970-01-01)
2024-05-12T19:38:23Z Checking all blk files are present...
2024-05-12T19:38:23Z Initializing databases...
2024-05-12T19:38:23Z Initializing chainstate Chainstate [ibd] @ height -1 (null)
2024-05-12T19:38:23Z Opening LevelDB in /tmp/signet-test/signet/chainstate
2024-05-12T19:38:23Z Opened LevelDB successfully
2024-05-12T19:38:23Z Wrote new obfuscate key for /tmp/signet-test/signet/chainstate: 71feb2eb26857ade
2024-05-12T19:38:23Z Using obfuscation key for /tmp/signet-test/signet/chainstate: 71feb2eb26857ade
2024-05-12T19:38:23Z Opening LevelDB in /tmp/signet-test/signet/chainstate
2024-05-12T19:38:23Z Opened LevelDB successfully
2024-05-12T19:38:23Z Using obfuscation key for /tmp/signet-test/signet/chainstate: 71feb2eb26857ade
2024-05-12T19:38:23Z [Chainstate [ibd] @ height -1 (null)] resized coinsdb cache to 8.0 MiB
2024-05-12T19:38:23Z [Chainstate [ibd] @ height -1 (null)] resized coinstip cache to 384.0 MiB
2024-05-12T19:38:23Z init message: Verifying blocks…
2024-05-12T19:38:23Z  block index              44ms
2024-05-12T19:38:23Z Opening LevelDB in /tmp/signet-test/signet/indexes/txindex
2024-05-12T19:38:23Z Opened LevelDB successfully
2024-05-12T19:38:23Z Using obfuscation key for /tmp/signet-test/signet/indexes/txindex: 0000000000000000
2024-05-12T19:38:23Z Setting NODE_NETWORK on non-prune mode
2024-05-12T19:38:23Z initload thread start
2024-05-12T19:38:23Z UpdateTip: new best=00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6 height=0 version=0x00000001 log2_work=22.206105 tx=1 date='2020-09-01T00:00:00Z' progress=1.000000 cache=0.3MiB(0txo)
2024-05-12T19:38:23Z block tree size = 1
2024-05-12T19:38:23Z nBestHeight = 0
2024-05-12T19:38:23Z txindex thread start
2024-05-12T19:38:23Z txindex is enabled at height 0
2024-05-12T19:38:23Z txindex thread exit
2024-05-12T19:38:23Z Failed to open mempool file from disk. Continuing anyway.
2024-05-12T19:38:23Z initload thread exit
2024-05-12T19:38:23Z torcontrol thread start
2024-05-12T19:38:23Z Bound to 0.0.0.0:38333
2024-05-12T19:38:23Z Bound to 127.0.0.1:38334
2024-05-12T19:38:23Z 0 block-relay-only anchors will be tried for connections.
2024-05-12T19:38:23Z init message: Starting network threads…
2024-05-12T19:38:23Z net thread start
2024-05-12T19:38:23Z dnsseed thread start
2024-05-12T19:38:23Z 0 addresses found from DNS seeds
2024-05-12T19:38:23Z dnsseed thread exit
2024-05-12T19:38:23Z addcon thread start
2024-05-12T19:38:23Z opencon thread start
2024-05-12T19:38:23Z msghand thread start
2024-05-12T19:38:23Z init message: Done loading
2024-05-12T19:38:37Z Using SQLite Version 3.45.2
2024-05-12T19:38:37Z Using wallet /tmp/signet-test/signet/wallets/miner
2024-05-12T19:38:37Z init message: Loading wallet…
2024-05-12T19:38:37Z [miner] Wallet file version = 10500, last client version = 270000
2024-05-12T19:38:37Z [miner] Legacy Wallet Keys: 0 plaintext, 0 encrypted, 0 w/ metadata, 0 total.
2024-05-12T19:38:37Z [miner] Descriptors: 0, Descriptor Keys: 0 plaintext, 0 encrypted, 0 total.
2024-05-12T19:38:37Z [miner] Setting minversion to 169900
2024-05-12T19:38:37Z [miner] Setting spkMan to active: id = 7579d3a01bfa0f9a3e90cce85e7949ba664e41f9764187a1ddf59dcb59d976df, type = legacy, internal = false
2024-05-12T19:38:37Z [miner] Setting spkMan to active: id = b64657f5f8bdac3516c84721109fad770e7b0ec907e471f85d105f147786432b, type = p2sh-segwit, internal = false
2024-05-12T19:38:37Z [miner] Setting spkMan to active: id = 7354fdb77bba77cea4ef8220890a92de5cbbfa64dc490fa05bcfc7c2a91c0ddc, type = bech32, internal = false
2024-05-12T19:38:37Z [miner] Setting spkMan to active: id = e0681929869c26d99678c72666bbfde5ab8633e061b143449110dea9e321619c, type = bech32m, internal = false
2024-05-12T19:38:37Z [miner] Setting spkMan to active: id = cb86b5467867127b0a82bd4ae7ddc84a1fea58d344c3bbb67bd621527354b888, type = legacy, internal = true
2024-05-12T19:38:37Z [miner] Setting spkMan to active: id = 817c3cd0f5c8fc291cbda9e4d1354882554ee78d677531ca00c0ebb8a40858df, type = p2sh-segwit, internal = true
2024-05-12T19:38:37Z [miner] Setting spkMan to active: id = 79d9c4c0621385693ee3a50cfa1f920b350ddd0a963f7297fa0cad7639ae684c, type = bech32, internal = true
2024-05-12T19:38:37Z [miner] Setting spkMan to active: id = cc21e9f24e87b984a4f6084dd6cddf2bb5ca427e000072107a68a7bd588b6110, type = bech32m, internal = true
2024-05-12T19:38:37Z [miner] Wallet completed loading in             361ms
2024-05-12T19:38:37Z [miner] setKeyPool.size() = 8000
2024-05-12T19:38:37Z [miner] mapWallet.size() = 0
2024-05-12T19:38:37Z [miner] m_address_book.size() = 0
2024-05-12T19:38:51Z [miner] Setting spkMan to active: id = e2b049c63b1ec1fcffa1ce0191dadf3d9f2b539eb05de1ddd36141a627b32dac, type = legacy, internal = false
2024-05-12T19:38:51Z [miner] Setting spkMan to active: id = ee7e4c40a7fcc02a4cf7b195ff3b1fff78a4080405e3098198b3b5d1d4ac4ad0, type = legacy, internal = true
2024-05-12T19:38:51Z [miner] Setting spkMan to active: id = 05dc3a6b543e8f12ff842f85cd98caa2d17e665b02f5379265689b8f7eb00e06, type = p2sh-segwit, internal = false
2024-05-12T19:38:51Z [miner] Setting spkMan to active: id = 27c5b93ecb509bd2de6d266dce525fa50c38ce43efcd961499fc3f06c5cca36d, type = p2sh-segwit, internal = true
2024-05-12T19:38:51Z [miner] Setting spkMan to active: id = 3a72e2602ada99532906cb3015f77750d0608195bcd2cd4dc51c869e3851cb2c, type = bech32m, internal = false
2024-05-12T19:38:52Z [miner] Setting spkMan to active: id = 0dc671af4f42a0e55af2423ec2c00254b7667b3c36579f683b03970cca5c4f9d, type = bech32m, internal = true
2024-05-12T19:38:52Z [miner] Setting spkMan to active: id = 25483e7077c3121de11e1cd6ebac66a556303e482b5f46b06ced38376d7bf1e7, type = bech32, internal = false
2024-05-12T19:38:52Z [miner] Setting spkMan to active: id = 04c7f7b7b9e90ac9d4e78f4d95dc72f928de9507d849a2ce612867f2d8e00e76, type = bech32, internal = true
2024-05-12T19:38:52Z [miner] RescanFromTime: Rescanning last 1 blocks
2024-05-12T19:38:52Z [miner] Rescan started from block 00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6... (slow variant inspecting all blocks)
2024-05-12T19:38:52Z [miner] Scanning current mempool transactions.
2024-05-12T19:38:52Z [miner] Rescan completed in               0ms
2024-05-12T19:39:24Z Adding fixed seeds as 60 seconds have passed and addrman is empty for at least one reachable network
2024-05-12T19:39:24Z Added 0 fixed seeds from reachable networks.
2024-05-12T19:43:49Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T19:43:49Z Leaving InitialBlockDownload (latching to false)
2024-05-12T19:43:49Z UpdateTip: new best=0000023efd709d9809aeeaf0080ce26dbac7f4f8272fefeffaaf2d6888f26dc6 height=1 version=0x20000000 log2_work=23.206105 tx=2 date='2024-05-12T19:43:49Z' progress=1.000000 cache=0.3MiB(1txo)
2024-05-12T19:43:49Z [miner] AddToWallet a91452c1c3650acd6e226dd23727f45c7515ddb7621f0d9dec9c695ddc3a171c  new Confirmed (block=0000023efd709d9809aeeaf0080ce26dbac7f4f8272fefeffaaf2d6888f26dc6, height=1, index=0)
2024-05-12T19:44:04Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T19:44:04Z Saw new header hash=000000bde81e9a546e19d5ba094474ae86e7ed92f1be1ef4021ab07444942571 height=2
2024-05-12T19:44:04Z UpdateTip: new best=000000bde81e9a546e19d5ba094474ae86e7ed92f1be1ef4021ab07444942571 height=2 version=0x20000000 log2_work=23.791067 tx=3 date='2024-05-12T19:46:19Z' progress=1.000000 cache=0.3MiB(2txo)
2024-05-12T19:44:04Z [miner] AddToWallet e941dbaf77fdc763266c696d5457ff49f901019d086d924a95a64ecaef8539ad  new Confirmed (block=000000bde81e9a546e19d5ba094474ae86e7ed92f1be1ef4021ab07444942571, height=2, index=0)
2024-05-12T19:48:49Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T19:48:49Z Saw new header hash=000001da13a2f3a8c3b3fb5ad0f1f333319db81da24b64bae4f32f80ab25a419 height=3
2024-05-12T19:48:49Z UpdateTip: new best=000001da13a2f3a8c3b3fb5ad0f1f333319db81da24b64bae4f32f80ab25a419 height=3 version=0x20000000 log2_work=24.206105 tx=4 date='2024-05-12T19:48:49Z' progress=1.000000 cache=0.3MiB(3txo)
2024-05-12T19:48:49Z [miner] AddToWallet a7598126921e31a66c08f3d2b6cd5fdd302629a7453974cd5f659e4c5c425467  new Confirmed (block=000001da13a2f3a8c3b3fb5ad0f1f333319db81da24b64bae4f32f80ab25a419, height=3, index=0)
2024-05-12T19:51:19Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T19:51:19Z Saw new header hash=0000002921e540e9f745fe92b4ad649102a5c0fb56e2eb56f3f46997e54d2a33 height=4
2024-05-12T19:51:19Z UpdateTip: new best=0000002921e540e9f745fe92b4ad649102a5c0fb56e2eb56f3f46997e54d2a33 height=4 version=0x20000000 log2_work=24.528033 tx=5 date='2024-05-12T19:51:19Z' progress=1.000000 cache=0.3MiB(4txo)
2024-05-12T19:51:20Z [miner] AddToWallet d1eb236ab1a4d4c107ca645f26002fd0373e824817fd1a3986fc9781bc20629f  new Confirmed (block=0000002921e540e9f745fe92b4ad649102a5c0fb56e2eb56f3f46997e54d2a33, height=4, index=0)
2024-05-12T19:53:49Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T19:53:49Z Saw new header hash=00000050bf9b5a2519c67495ef025282f51c5a08fc73410fd08c6c5cd52b00e7 height=5
2024-05-12T19:53:49Z UpdateTip: new best=00000050bf9b5a2519c67495ef025282f51c5a08fc73410fd08c6c5cd52b00e7 height=5 version=0x20000000 log2_work=24.791067 tx=6 date='2024-05-12T19:53:49Z' progress=1.000000 cache=0.3MiB(5txo)
2024-05-12T19:53:49Z [miner] AddToWallet 261d1d58808885053c2409443d86005f08f86d44fe9f7818a952204f94e1d587  new Confirmed (block=00000050bf9b5a2519c67495ef025282f51c5a08fc73410fd08c6c5cd52b00e7, height=5, index=0)
2024-05-12T19:56:19Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T19:56:19Z Saw new header hash=000001651ecef69e66ea6413d356ae523f8993f4ac7580d7437c36bacfb32efb height=6
2024-05-12T19:56:19Z UpdateTip: new best=000001651ecef69e66ea6413d356ae523f8993f4ac7580d7437c36bacfb32efb height=6 version=0x20000000 log2_work=25.013459 tx=7 date='2024-05-12T19:56:19Z' progress=1.000000 cache=0.3MiB(6txo)
2024-05-12T19:56:19Z [miner] AddToWallet 46b2fb68ce76e3ee4ba0746321fca815e9bab394b3971862d4c8dd41bd0df550  new Confirmed (block=000001651ecef69e66ea6413d356ae523f8993f4ac7580d7437c36bacfb32efb, height=6, index=0)
2024-05-12T19:58:11Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T19:58:11Z Saw new header hash=0000027a26160bedac78e820a47a939f76f15f3d026b231db5071bed5d3a1aee height=7
2024-05-12T19:58:11Z UpdateTip: new best=0000027a26160bedac78e820a47a939f76f15f3d026b231db5071bed5d3a1aee height=7 version=0x20000000 log2_work=25.206105 tx=8 date='2024-05-12T19:58:49Z' progress=1.000000 cache=0.3MiB(7txo)
2024-05-12T19:58:11Z [miner] AddToWallet 8a7a707443c76515e0c3ad087a5a8da77cf8753faac235536d27f17242e53710  new Confirmed (block=0000027a26160bedac78e820a47a939f76f15f3d026b231db5071bed5d3a1aee, height=7, index=0)
2024-05-12T20:01:19Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T20:01:19Z Saw new header hash=0000021265df166e29c9f812e001d459a969d5d084bd12b7549907e23c535167 height=8
2024-05-12T20:01:19Z UpdateTip: new best=0000021265df166e29c9f812e001d459a969d5d084bd12b7549907e23c535167 height=8 version=0x20000000 log2_work=25.376030 tx=9 date='2024-05-12T20:01:19Z' progress=1.000000 cache=0.3MiB(8txo)
2024-05-12T20:01:19Z [miner] AddToWallet 104c9d5272dd809d38653fcbc4b2b3985ea79249ee5e4967388a772a806eb342  new Confirmed (block=0000021265df166e29c9f812e001d459a969d5d084bd12b7549907e23c535167, height=8, index=0)
2024-05-12T20:03:49Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T20:03:49Z Saw new header hash=00000121bec36cb911544a2278e9e15f68fc2dde265ca94656b2ccd706c9e92c height=9
2024-05-12T20:03:49Z UpdateTip: new best=00000121bec36cb911544a2278e9e15f68fc2dde265ca94656b2ccd706c9e92c height=9 version=0x20000000 log2_work=25.528033 tx=10 date='2024-05-12T20:03:49Z' progress=1.000000 cache=0.3MiB(9txo)
2024-05-12T20:03:49Z [miner] AddToWallet ee4671535b097dd7cc5ab25733eefb5a9a247122057118c6ffc425b383109ede  new Confirmed (block=00000121bec36cb911544a2278e9e15f68fc2dde265ca94656b2ccd706c9e92c, height=9, index=0)
2024-05-12T20:06:19Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T20:06:19Z Saw new header hash=0000034045f2e82e954cad452dc90212d1652687aa2a65e8bb50fc2447c1c89a height=10
2024-05-12T20:06:19Z UpdateTip: new best=0000034045f2e82e954cad452dc90212d1652687aa2a65e8bb50fc2447c1c89a height=10 version=0x20000000 log2_work=25.665536 tx=11 date='2024-05-12T20:06:19Z' progress=1.000000 cache=0.3MiB(10txo)
2024-05-12T20:06:19Z [miner] AddToWallet 6f736e3a9295276d8541af8b1554765c53c1cd211de188576dcf85042443a902  new Confirmed (block=0000034045f2e82e954cad452dc90212d1652687aa2a65e8bb50fc2447c1c89a, height=10, index=0)
2024-05-12T20:15:45Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T20:15:45Z Saw new header hash=000001e931d1bab82b80508af105ee883b26cfc2589e698b88d02fa0524c3261 height=11
2024-05-12T20:15:45Z UpdateTip: new best=000001e931d1bab82b80508af105ee883b26cfc2589e698b88d02fa0524c3261 height=11 version=0x20000000 log2_work=25.791067 tx=12 date='2024-05-12T20:15:44Z' progress=1.000000 cache=0.3MiB(11txo)
2024-05-12T20:15:45Z [miner] AddToWallet 3b617646170837d3b5377c54119a1034cf61ac849a29dff361b4697487de9f55  new Confirmed (block=000001e931d1bab82b80508af105ee883b26cfc2589e698b88d02fa0524c3261, height=11, index=0)
2024-05-12T20:16:05Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T20:16:06Z Saw new header hash=000002a464fb658d450bafcde453d6ab247c6141aceaa4b120f852c889d869e0 height=12
2024-05-12T20:16:06Z UpdateTip: new best=000002a464fb658d450bafcde453d6ab247c6141aceaa4b120f852c889d869e0 height=12 version=0x20000000 log2_work=25.906544 tx=13 date='2024-05-12T20:25:44Z' progress=1.000000 cache=0.3MiB(12txo)
2024-05-12T20:16:06Z [miner] AddToWallet ddc800c6bd38c6b60ac44e6e70ee79b8c79aedf7a8376423f34b1a1e93967303  new Confirmed (block=000002a464fb658d450bafcde453d6ab247c6141aceaa4b120f852c889d869e0, height=12, index=0)
2024-05-12T20:35:44Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T20:35:44Z Saw new header hash=0000020cdce998ed1e0a0d96df2b97dfa660a4823a963ba0992a7259ead0ecc1 height=13
2024-05-12T20:35:44Z UpdateTip: new best=0000020cdce998ed1e0a0d96df2b97dfa660a4823a963ba0992a7259ead0ecc1 height=13 version=0x20000000 log2_work=26.013459 tx=14 date='2024-05-12T20:35:44Z' progress=1.000000 cache=0.3MiB(13txo)
2024-05-12T20:35:44Z [miner] AddToWallet 76045901e6f5d4064eda470f86cb76c564632202385c1d49535a5e54a4f5fa0f  new Confirmed (block=0000020cdce998ed1e0a0d96df2b97dfa660a4823a963ba0992a7259ead0ecc1, height=13, index=0)
2024-05-12T20:38:24Z Flushed fee estimates to fee_estimates.dat.
2024-05-12T20:45:44Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-05-12T20:45:44Z Saw new header hash=0000020fb9b671e6b8b606290f8e418d39f39596c1831defadc35aa590f00f67 height=14
2024-05-12T20:45:44Z UpdateTip: new best=0000020fb9b671e6b8b606290f8e418d39f39596c1831defadc35aa590f00f67 height=14 version=0x20000000 log2_work=26.112995 tx=15 date='2024-05-12T20:45:44Z' progress=1.000000 cache=0.3MiB(14txo)
2024-05-12T20:45:44Z [miner] AddToWallet 26cc2eb8928ea5fb48a95d7793f3ddce79f15b1a6ddf0ff575fa197242d34244  new Confirmed (block=0000020fb9b671e6b8b606290f8e418d39f39596c1831defadc35aa590f00f67, height=14, index=0)

How did you obtain Bitcoin Core

Compiled from source

What version of Bitcoin Core are you using?

v27.0

Operating system and version

MacOS Sonoma 14.4

Machine specifications

Macbook Pro 14-inch, Nov 2023
Apple M3 Pro
Memory 18GB

No other heavy processes running in the machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions