This is how I start the node (I always start it from a clean state):

rm -rf /tmp/regtest1/bitcoind
mkdir -p /tmp/regtest1/bitcoind

#/Applications/Bitcoin\ Core\ 22.app/Contents/MacOS/Bitcoin-Qt \
/Applications/Bitcoin-Qt.app/Contents/MacOS/Bitcoin-Qt \
  -datadir=/tmp/regtest1/bitcoind \
  -regtest \
  -server \
  -txindex \
  -fallbackfee=0.0002 \
  -zmqpubhashtx=tcp:// \

Then I create a wallet and mine some blocks:

bitcoin-cli -regtest -datadir=/tmp/regtest1/bitcoind createwallet farvault_tests
GEN_ADDRESS=$(bitcoin-cli -regtest -datadir=/tmp/regtest1/bitcoind getnewaddress)
bitcoin-cli -regtest -datadir=/tmp/regtest1/bitcoind generatetoaddress 101 $GEN_ADDRESS

For some reason the App downloaded here (v22) is x10 faster than the one downloaded here (v23).

The new address and the 101 blocks are created in under 2 secs on v22 while it takes 17 secs on v23.

I also compiled bitcoind 23 with these options:

git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin
./configure --enable-hardening --with-gui=no

which provides also the same bad performance as the v23 downloaded App.

Do you have any idea why v22 would be so much faster? Any clues as to how I should address the issue?

My computer is a 2.8 GHz quad-core Intel Core i7 running Macos Big Sur.

EDIT: I upgraded to Monterey and nothing changed: v22 is 10x faster than v23.

I have not checked performance on testnet and mainnet. I'm mostly interested in running integration tests for a project and it looks like I cannot upgrade to the new version yet without solving this.

  • 1
    This is behavior I can reproduce on v22 and v23 Aug 9 at 15:06


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.