Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityAnybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
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://127.0.0.1:30001 \ -zmqpubhashblock=tcp://127.0.0.1:30001
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 ./autogen.sh ./configure --enable-hardening --with-gui=no make
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.
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments