OpenBSD, NetBSD: -reindex is broken #33128

issue hebasto openend this issue on August 2, 2025
  1. hebasto commented at 3:22 pm on August 2, 2025: member

    The -reindex option is broken on both the master branch and the 29.x branch (I have not tested older release branches).

    Consider the following workflow on OpenBSD 7.7:

      0$ rm -rf /home/hebasto/.bitcoin/regtest
      1$ ./build/bin/bitcoind -regtest -daemon
      2Bitcoin Core starting
      3$ ./build/bin/bitcoin-cli -regtest createwallet $(date +%Y-%m-%d)
      4$ ./build/bin/bitcoin-cli -regtest -generate 200
      5$ ./build/bin/bitcoin-cli -regtest getblockcount
      6200
      7$ ./build/bin/bitcoin-cli -regtest stop
      8Bitcoin Core stopping
      9$ rm -rf /home/hebasto/.bitcoin/regtest/blocks/index
     10$ ./build/bin/bitcoind -regtest -daemon
     11Bitcoin Core starting
     12$ tail -6 /home/hebasto/.bitcoin/regtest/debug.log
     132025-08-02T15:02:00Z : Error initializing block database.
     14Please restart with -reindex or -reindex-chainstate to recover.
     152025-08-02T15:02:00Z Shutdown: In progress...
     162025-08-02T15:02:00Z scheduler thread exit
     172025-08-02T15:02:00Z Flushed fee estimates to fee_estimates.dat.
     182025-08-02T15:02:00Z Shutdown: done
     19$ rm /home/hebasto/.bitcoin/regtest/debug.log
     20$ ./build/bin/bitcoind -regtest -daemon -reindex
     21Bitcoin Core starting
     22$ ./build/bin/bitcoin-cli -regtest getblockcount
     230
     24$ cat /home/hebasto/.bitcoin/regtest/debug.log                    
     25
     26
     27
     28
     29
     302025-08-02T15:13:08Z Bitcoin Core version v29.99.0-75ed673193c5 (release build)
     312025-08-02T15:13:08Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
     322025-08-02T15:13:08Z Using RdSeed as an additional entropy source
     332025-08-02T15:13:08Z Using RdRand as an additional entropy source
     342025-08-02T15:13:08Z Default data directory /home/hebasto/.bitcoin
     352025-08-02T15:13:08Z Using data directory /home/hebasto/.bitcoin/regtest
     362025-08-02T15:13:08Z Config file: /home/hebasto/.bitcoin/bitcoin.conf (not found, skipping)
     372025-08-02T15:13:08Z Command-line arg: daemon=""
     382025-08-02T15:13:08Z Command-line arg: regtest=""
     392025-08-02T15:13:08Z Command-line arg: reindex=""
     402025-08-02T15:13:08Z Using at most 125 automatic connections (512 file descriptors available)
     412025-08-02T15:13:08Z scheduler thread start
     422025-08-02T15:13:08Z Binding RPC on address ::1 port 18443
     432025-08-02T15:13:08Z Binding RPC on address 127.0.0.1 port 18443
     442025-08-02T15:13:08Z Generated RPC authentication cookie /home/hebasto/.bitcoin/regtest/.cookie
     452025-08-02T15:13:08Z Permissions used for cookie: rw-------
     462025-08-02T15:13:08Z Using random cookie authentication.
     472025-08-02T15:13:08Z Starting HTTP server with 16 worker threads
     482025-08-02T15:13:08Z Using wallet directory /home/hebasto/.bitcoin/regtest/wallets
     492025-08-02T15:13:08Z init message: Verifying wallet(s)
     502025-08-02T15:13:08Z Using /16 prefix for IP bucketing
     512025-08-02T15:13:08Z init message: Loading P2P addresses
     522025-08-02T15:13:08Z Loaded 0 addresses from peers.dat  0ms
     532025-08-02T15:13:08Z init message: Loading banlist
     542025-08-02T15:13:08Z SetNetworkActive: true
     552025-08-02T15:13:08Z Cache configuration:
     562025-08-02T15:13:08Z * Using 2.0 MiB for block index database
     572025-08-02T15:13:08Z * Using 8.0 MiB for chain state database
     582025-08-02T15:13:08Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
     592025-08-02T15:13:08Z Script verification uses 7 additional threads
     602025-08-02T15:13:08Z Using obfuscation key for blocksdir *.dat files (/home/hebasto/.bitcoin/regtest/blocks): '997651b2ed068218'
     612025-08-02T15:13:08Z Wiping LevelDB in /home/hebasto/.bitcoin/regtest/blocks/index
     622025-08-02T15:13:08Z Opening LevelDB in /home/hebasto/.bitcoin/regtest/blocks/index
     632025-08-02T15:13:08Z Opened LevelDB successfully
     642025-08-02T15:13:08Z Using obfuscation key for /home/hebasto/.bitcoin/regtest/blocks/index: 0000000000000000
     652025-08-02T15:13:08Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements
     662025-08-02T15:13:08Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements
     672025-08-02T15:13:08Z init message: Loading block index
     682025-08-02T15:13:08Z Validating signatures for all blocks.
     692025-08-02T15:13:08Z Setting nMinimumChainWork=0000000000000000000000000000000000000000000000000000000000000000
     702025-08-02T15:13:08Z Initializing chainstate Chainstate [ibd] @ height -1 (null)
     712025-08-02T15:13:08Z Wiping LevelDB in /home/hebasto/.bitcoin/regtest/chainstate
     722025-08-02T15:13:08Z Opening LevelDB in /home/hebasto/.bitcoin/regtest/chainstate
     732025-08-02T15:13:08Z Opened LevelDB successfully
     742025-08-02T15:13:08Z Wrote new obfuscation key for /home/hebasto/.bitcoin/regtest/chainstate: cc8a83834d10b91a
     752025-08-02T15:13:08Z Using obfuscation key for /home/hebasto/.bitcoin/regtest/chainstate: cc8a83834d10b91a
     762025-08-02T15:13:08Z init message: Verifying blocks
     772025-08-02T15:13:08Z Block index and chainstate loaded
     782025-08-02T15:13:08Z Setting NODE_NETWORK on non-prune mode
     792025-08-02T15:13:08Z initload thread start
     802025-08-02T15:13:08Z Reindexing block file blk00000.dat...
     812025-08-02T15:13:08Z UpdateTip: new best=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 height=0 version=0x00000001 log2_work=1.000000 tx=1 date='2011-02-02T23:16:42Z' progress=0.000002 cache=0.3MiB(0txo)
     822025-08-02T15:13:08Z block tree size = 1
     832025-08-02T15:13:08Z nBestHeight = 0
     842025-08-02T15:13:08Z mapport thread start
     852025-08-02T15:13:08Z torcontrol thread start
     862025-08-02T15:13:08Z Bound to 127.0.0.1:18445
     872025-08-02T15:13:08Z Bound to [::]:18444
     882025-08-02T15:13:08Z Bound to 0.0.0.0:18444
     892025-08-02T15:13:08Z Loaded 0 addresses from "anchors.dat"
     902025-08-02T15:13:08Z 0 block-relay-only anchors will be tried for connections.
     912025-08-02T15:13:08Z init message: Starting network threads
     922025-08-02T15:13:08Z net thread start
     932025-08-02T15:13:08Z dnsseed thread start
     942025-08-02T15:13:08Z Loading addresses from DNS seed dummySeed.invalid.
     952025-08-02T15:13:08Z addcon thread start
     962025-08-02T15:13:08Z opencon thread start
     972025-08-02T15:13:08Z init message: Done loading
     982025-08-02T15:13:08Z msghand thread start
     992025-08-02T15:13:08Z 0 addresses found from DNS seeds
    1002025-08-02T15:13:08Z dnsseed thread exit
    1012025-08-02T15:13:08Z Loaded 1 blocks from external file in 38ms
    1022025-08-02T15:13:08Z Reindexing finished
    1032025-08-02T15:13:08Z Loading 0 mempool transactions from file...
    1042025-08-02T15:13:08Z Imported mempool transactions from file: 0 succeeded, 0 failed, 0 expired, 0 already there, 0 waiting for initial broadcast
    1052025-08-02T15:13:08Z initload thread exit
    106$ ./build/bin/bitcoin-cli -regtest stop
    107Bitcoin Core stopping
    

    Despite the log containing the messages “Reindexing block file blk00000.dat…” and “Reindexing finished”, the getblockcount RPC returns 0.

    It appears this issue affects other operating systems as well, as noted in #32987 (review).

  2. hebasto added the label Bug on Aug 2, 2025
  3. hebasto referenced this in commit 77879a5542 on Aug 2, 2025
  4. hebasto referenced this in commit 45d9f13b3f on Aug 2, 2025
  5. hebasto referenced this in commit c06a5abd1d on Aug 2, 2025
  6. hebasto referenced this in commit b74dda5e2a on Aug 2, 2025
  7. hebasto referenced this in commit 46b651c33b on Aug 2, 2025
  8. hebasto referenced this in commit c4ddaaa14d on Aug 2, 2025
  9. hebasto commented at 8:55 pm on August 2, 2025: member

    Apparently, after the failed run:

    0$ rm -rf /home/hebasto/.bitcoin/regtest/blocks/index
    1$ ./build/bin/bitcoind -regtest -daemon
    2Bitcoin Core starting
    3$ tail -6 /home/hebasto/.bitcoin/regtest/debug.log
    42025-08-02T15:02:00Z : Error initializing block database.
    5Please restart with -reindex or -reindex-chainstate to recover.
    62025-08-02T15:02:00Z Shutdown: In progress...
    72025-08-02T15:02:00Z scheduler thread exit
    82025-08-02T15:02:00Z Flushed fee estimates to fee_estimates.dat.
    92025-08-02T15:02:00Z Shutdown: done
    

    the blk00000.dat file contains only the genesis block, which is clearly incorrect behaviour.

  10. hebasto commented at 9:08 pm on August 2, 2025: member

    @theStack

    Can you confirm the bug?

  11. hebasto added the label Block storage on Aug 3, 2025
  12. mzumsande commented at 11:32 pm on August 3, 2025: contributor
    Does this mean that feature_reindex.py still succeeds, so that reindex only fails if we delete the index/ dir like in feature_reindex_init.py, but not if we just reindex without corrupting anything?!
  13. theStack commented at 0:55 am on August 4, 2025: contributor

    @theStack

    Can you confirm the bug?

    Will test in 1-2 weeks, as I unfortunately don’t have access to an OpenBSD machine right now.

  14. hebasto commented at 8:51 am on August 4, 2025: member

    Does this mean that feature_reindex.py still succeeds, so that reindex only fails if we delete the index/ dir like in feature_reindex_init.py, but not if we just reindex without corrupting anything?!

    Correct.

  15. maflcko commented at 11:30 am on August 4, 2025: member
    Would be nice to see a test run with additional logging added to ChainstateManager::LoadExternalBlockFile (to the continue and break statements), and a log showing the size of the blk dat file.
  16. hebasto commented at 12:07 pm on August 4, 2025: member

    … showing the size of the blk dat file.

    You mean blkdat.GetPos()?

  17. maflcko commented at 6:08 pm on August 5, 2025: member

    … showing the size of the blk dat file.

    You mean blkdat.GetPos()?

    A bit like commit 734737b5930df7cebab83cf0dbe5fd390143f2be

  18. hebasto commented at 11:45 am on August 9, 2025: member

    … showing the size of the blk dat file.

    You mean blkdat.GetPos()?

    A bit like commit 734737b

    I used this branch for additional logging.

    On OpenBSD, running ./build/bin/bitcoind -regtest -logsourcelocations -daemon -reindex logs the following:

     02025-08-09T12:33:19Z [init/common.cpp:152] [void init::LogPackageVersion()] Bitcoin Core version v29.99.0-26f02ab3d92d (release build)
     12025-08-09T12:33:19Z [kernel/context.cpp:20] [kernel::Context::Context()] Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
     22025-08-09T12:33:19Z [random.cpp:110] [void (anonymous namespace)::ReportHardwareRand()] Using RdSeed as an additional entropy source
     32025-08-09T12:33:19Z [random.cpp:113] [void (anonymous namespace)::ReportHardwareRand()] Using RdRand as an additional entropy source
     42025-08-09T12:33:19Z [init/common.cpp:120] [bool init::StartLogging(const ArgsManager &)] Default data directory /home/hebasto/.bitcoin
     52025-08-09T12:33:19Z [init/common.cpp:121] [bool init::StartLogging(const ArgsManager &)] Using data directory /home/hebasto/.bitcoin/regtest
     62025-08-09T12:33:19Z [init/common.cpp:135] [bool init::StartLogging(const ArgsManager &)] Config file: /home/hebasto/.bitcoin/bitcoin.conf (not found, skipping)
     72025-08-09T12:33:19Z [common/args.cpp:851] [void ArgsManager::logArgsPrefix(const std::string &, const std::string &, const std::map<std::string, std::vector<common::SettingsValue>> &) const] Command-line arg: daemon=""
     82025-08-09T12:33:19Z [common/args.cpp:851] [void ArgsManager::logArgsPrefix(const std::string &, const std::string &, const std::map<std::string, std::vector<common::SettingsValue>> &) const] Command-line arg: logsourcelocations=""
     92025-08-09T12:33:19Z [common/args.cpp:851] [void ArgsManager::logArgsPrefix(const std::string &, const std::string &, const std::map<std::string, std::vector<common::SettingsValue>> &) const] Command-line arg: regtest=""
    102025-08-09T12:33:19Z [common/args.cpp:851] [void ArgsManager::logArgsPrefix(const std::string &, const std::string &, const std::map<std::string, std::vector<common::SettingsValue>> &) const] Command-line arg: reindex=""
    112025-08-09T12:33:19Z [init.cpp:1369] [bool AppInitMain(NodeContext &, interfaces::BlockAndHeaderTipInfo *)] Using at most 125 automatic connections (512 file descriptors available)
    122025-08-09T12:33:19Z [util/thread.cpp:20] [void util::TraceThread(std::string_view, std::function<void ()>)] scheduler thread start
    132025-08-09T12:33:19Z [httpserver.cpp:394] [bool HTTPBindAddresses(struct evhttp *)] Binding RPC on address ::1 port 18443
    142025-08-09T12:33:19Z [httpserver.cpp:394] [bool HTTPBindAddresses(struct evhttp *)] Binding RPC on address 127.0.0.1 port 18443
    152025-08-09T12:33:19Z [rpc/request.cpp:140] [GenerateAuthCookieResult GenerateAuthCookie(const std::optional<fs::perms> &, std::string &, std::string &)] Generated RPC authentication cookie /home/hebasto/.bitcoin/regtest/.cookie
    162025-08-09T12:33:19Z [rpc/request.cpp:141] [GenerateAuthCookieResult GenerateAuthCookie(const std::optional<fs::perms> &, std::string &, std::string &)] Permissions used for cookie: rw-------
    172025-08-09T12:33:19Z [httprpc.cpp:265] [bool InitRPCAuthentication()] Using random cookie authentication.
    182025-08-09T12:33:19Z [httpserver.cpp:504] [void StartHTTPServer()] Starting HTTP server with 16 worker threads
    192025-08-09T12:33:19Z [wallet/load.cpp:53] [bool wallet::VerifyWallets(WalletContext &)] Using wallet directory /home/hebasto/.bitcoin/regtest/wallets
    202025-08-09T12:33:19Z [noui.cpp:57] [void noui_InitMessage(const std::string &)] init message: Verifying wallet(s)
    212025-08-09T12:33:19Z [init.cpp:1521] [bool AppInitMain(NodeContext &, interfaces::BlockAndHeaderTipInfo *)] Using /16 prefix for IP bucketing
    222025-08-09T12:33:19Z [noui.cpp:57] [void noui_InitMessage(const std::string &)] init message: Loading P2P addresses
    232025-08-09T12:33:19Z [addrdb.cpp:207] [util::Result<std::unique_ptr<AddrMan>> LoadAddrman(const NetGroupManager &, const ArgsManager &)] Loaded 0 addresses from peers.dat  1ms
    242025-08-09T12:33:19Z [noui.cpp:57] [void noui_InitMessage(const std::string &)] init message: Loading banlist
    252025-08-09T12:33:19Z [net.cpp:3192] [void CConnman::SetNetworkActive(bool)] SetNetworkActive: true
    262025-08-09T12:33:19Z [init.cpp:1722] [bool AppInitMain(NodeContext &, interfaces::BlockAndHeaderTipInfo *)] Cache configuration:
    272025-08-09T12:33:19Z [init.cpp:1723] [bool AppInitMain(NodeContext &, interfaces::BlockAndHeaderTipInfo *)] * Using 2.0 MiB for block index database
    282025-08-09T12:33:19Z [init.cpp:1731] [bool AppInitMain(NodeContext &, interfaces::BlockAndHeaderTipInfo *)] * Using 8.0 MiB for chain state database
    292025-08-09T12:33:19Z [init.cpp:1257] [ChainstateLoadResult InitAndLoadChainstate(NodeContext &, bool, const bool, const kernel::CacheSizes &, const ArgsManager &)] * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
    302025-08-09T12:33:19Z [checkqueue.h:147] [CCheckQueue<CScriptCheck, std::pair<ScriptError_t, std::string>>::CCheckQueue(unsigned int, int) [T = CScriptCheck, R = std::pair<ScriptError_t, std::string>]] Script verification uses 7 additional threads
    312025-08-09T12:33:19Z [node/blockstorage.cpp:1176] [Obfuscation node::InitBlocksdirXorKey(const BlockManager::Options &)] Using obfuscation key for blocksdir *.dat files (/home/hebasto/.bitcoin/regtest/blocks): '2ce04306dc84ec9a'
    322025-08-09T12:33:19Z [dbwrapper.cpp:231] [CDBWrapper::CDBWrapper(const DBParams &)] Wiping LevelDB in /home/hebasto/.bitcoin/regtest/blocks/index
    332025-08-09T12:33:19Z [dbwrapper.cpp:236] [CDBWrapper::CDBWrapper(const DBParams &)] Opening LevelDB in /home/hebasto/.bitcoin/regtest/blocks/index
    342025-08-09T12:33:19Z [dbwrapper.cpp:244] [CDBWrapper::CDBWrapper(const DBParams &)] Opened LevelDB successfully
    352025-08-09T12:33:19Z [dbwrapper.cpp:260] [CDBWrapper::CDBWrapper(const DBParams &)] Using obfuscation key for /home/hebasto/.bitcoin/regtest/blocks/index: 0000000000000000
    362025-08-09T12:33:19Z [script/sigcache.cpp:36] [SignatureCache::SignatureCache(const size_t)] Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements
    372025-08-09T12:33:19Z [validation.cpp:2120] [ValidationCache::ValidationCache(const size_t, const size_t)] Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements
    382025-08-09T12:33:19Z [noui.cpp:57] [void noui_InitMessage(const std::string &)] init message: Loading block index
    392025-08-09T12:33:19Z [node/chainstate.cpp:150] [ChainstateLoadResult node::LoadChainstate(ChainstateManager &, const CacheSizes &, const ChainstateLoadOptions &)] Validating signatures for all blocks.
    402025-08-09T12:33:19Z [node/chainstate.cpp:152] [ChainstateLoadResult node::LoadChainstate(ChainstateManager &, const CacheSizes &, const ChainstateLoadOptions &)] Setting nMinimumChainWork=0000000000000000000000000000000000000000000000000000000000000000
    412025-08-09T12:33:19Z [node/chainstate.cpp:87] [ChainstateLoadResult node::CompleteChainstateInitialization(ChainstateManager &, const ChainstateLoadOptions &)] Initializing chainstate Chainstate [ibd] @ height -1 (null)
    422025-08-09T12:33:19Z [dbwrapper.cpp:231] [CDBWrapper::CDBWrapper(const DBParams &)] Wiping LevelDB in /home/hebasto/.bitcoin/regtest/chainstate
    432025-08-09T12:33:19Z [dbwrapper.cpp:236] [CDBWrapper::CDBWrapper(const DBParams &)] Opening LevelDB in /home/hebasto/.bitcoin/regtest/chainstate
    442025-08-09T12:33:19Z [dbwrapper.cpp:244] [CDBWrapper::CDBWrapper(const DBParams &)] Opened LevelDB successfully
    452025-08-09T12:33:19Z [dbwrapper.cpp:258] [CDBWrapper::CDBWrapper(const DBParams &)] Wrote new obfuscation key for /home/hebasto/.bitcoin/regtest/chainstate: 715af8a1f6e7a857
    462025-08-09T12:33:19Z [dbwrapper.cpp:260] [CDBWrapper::CDBWrapper(const DBParams &)] Using obfuscation key for /home/hebasto/.bitcoin/regtest/chainstate: 715af8a1f6e7a857
    472025-08-09T12:33:19Z [noui.cpp:57] [void noui_InitMessage(const std::string &)] init message: Verifying blocks
    482025-08-09T12:33:19Z [init.cpp:1343] [ChainstateLoadResult InitAndLoadChainstate(NodeContext &, bool, const bool, const kernel::CacheSizes &, const ArgsManager &)] Block index and chainstate loaded
    492025-08-09T12:33:19Z [init.cpp:1830] [bool AppInitMain(NodeContext &, interfaces::BlockAndHeaderTipInfo *)] Setting NODE_NETWORK on non-prune mode
    502025-08-09T12:33:19Z [util/thread.cpp:20] [void util::TraceThread(std::string_view, std::function<void ()>)] initload thread start
    512025-08-09T12:33:19Z [node/blockstorage.cpp:1236] [void node::ImportBlocks(ChainstateManager &, std::span<const fs::path>)] Reindexing block file blk00000.dat...
    522025-08-09T12:33:19Z [validation.cpp:2967] [void UpdateTipLog(const ChainstateManager &, const CCoinsViewCache &, const CBlockIndex *, const std::string &, const std::string &, const std::string &)] UpdateTip: new best=0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206 height=0 version=0x00000001 log2_work=1.000000 tx=1 date='2011-02-02T23:16:42Z' progress=0.000002 cache=0.3MiB(0txo)
    532025-08-09T12:33:19Z [init.cpp:1940] [bool AppInitMain(NodeContext &, interfaces::BlockAndHeaderTipInfo *)] block tree size = 1
    542025-08-09T12:33:19Z [init.cpp:1953] [bool AppInitMain(NodeContext &, interfaces::BlockAndHeaderTipInfo *)] nBestHeight = 0
    552025-08-09T12:33:19Z [validation.cpp:5173] [void ChainstateManager::LoadExternalBlockFile(AutoFile &, FlatFilePos *, std::multimap<uint256, FlatFilePos> *)] blkdat.size()=20777208
    562025-08-09T12:33:19Z [util/thread.cpp:20] [void util::TraceThread(std::string_view, std::function<void ()>)] mapport thread start
    572025-08-09T12:33:19Z [util/thread.cpp:20] [void util::TraceThread(std::string_view, std::function<void ()>)] torcontrol thread start
    582025-08-09T12:33:19Z [net.cpp:3165] [bool CConnman::BindListenPort(const CService &, bilingual_str &, NetPermissionFlags)] Bound to 127.0.0.1:18445
    592025-08-09T12:33:19Z [net.cpp:3165] [bool CConnman::BindListenPort(const CService &, bilingual_str &, NetPermissionFlags)] Bound to [::]:18444
    602025-08-09T12:33:19Z [net.cpp:3165] [bool CConnman::BindListenPort(const CService &, bilingual_str &, NetPermissionFlags)] Bound to 0.0.0.0:18444
    612025-08-09T12:33:19Z [addrdb.cpp:239] [std::vector<CAddress> ReadAnchors(const fs::path &)] Loaded 0 addresses from "anchors.dat"
    622025-08-09T12:33:19Z [net.cpp:3321] [bool CConnman::Start(CScheduler &, const Options &)] 0 block-relay-only anchors will be tried for connections.
    632025-08-09T12:33:19Z [noui.cpp:57] [void noui_InitMessage(const std::string &)] init message: Starting network threads
    642025-08-09T12:33:19Z [util/thread.cpp:20] [void util::TraceThread(std::string_view, std::function<void ()>)] net thread start
    652025-08-09T12:33:19Z [util/thread.cpp:20] [void util::TraceThread(std::string_view, std::function<void ()>)] msghand thread start
    662025-08-09T12:33:19Z [util/thread.cpp:20] [void util::TraceThread(std::string_view, std::function<void ()>)] addcon thread start
    672025-08-09T12:33:19Z [noui.cpp:57] [void noui_InitMessage(const std::string &)] init message: Done loading
    682025-08-09T12:33:19Z [util/thread.cpp:20] [void util::TraceThread(std::string_view, std::function<void ()>)] opencon thread start
    692025-08-09T12:33:19Z [util/thread.cpp:20] [void util::TraceThread(std::string_view, std::function<void ()>)] dnsseed thread start
    702025-08-09T12:33:19Z [net.cpp:2338] [void CConnman::ThreadDNSAddressSeed()] Loading addresses from DNS seed dummySeed.invalid.
    712025-08-09T12:33:19Z [net.cpp:2374] [void CConnman::ThreadDNSAddressSeed()] 0 addresses found from DNS seeds
    722025-08-09T12:33:19Z [util/thread.cpp:22] [void util::TraceThread(std::string_view, std::function<void ()>)] dnsseed thread exit
    732025-08-09T12:33:20Z [validation.cpp:5080] [void ChainstateManager::LoadExternalBlockFile(AutoFile &, FlatFilePos *, std::multimap<uint256, FlatFilePos> *)] blkdat.size()=33554432
    742025-08-09T12:33:20Z [validation.cpp:5221] [void ChainstateManager::LoadExternalBlockFile(AutoFile &, FlatFilePos *, std::multimap<uint256, FlatFilePos> *)] Loaded 1 blocks from external file in 41ms
    752025-08-09T12:33:20Z [node/blockstorage.cpp:1246] [void node::ImportBlocks(ChainstateManager &, std::span<const fs::path>)] Reindexing finished
    762025-08-09T12:33:20Z [node/mempool_persist.cpp:77] [bool node::LoadMempool(CTxMemPool &, const fs::path &, Chainstate &, ImportMempoolOptions &&)] Loading 0 mempool transactions from file...
    772025-08-09T12:33:20Z [node/mempool_persist.cpp:149] [bool node::LoadMempool(CTxMemPool &, const fs::path &, Chainstate &, ImportMempoolOptions &&)] Imported mempool transactions from file: 0 succeeded, 0 failed, 0 expired, 0 already there, 0 waiting for initial broadcast
    782025-08-09T12:33:20Z [util/thread.cpp:22] [void util::TraceThread(std::string_view, std::function<void ()>)] initload thread exit
    792025-08-09T12:33:36Z [torcontrol.cpp:709] [void InterruptTorControl()] tor: Thread interrupt
    802025-08-09T12:33:36Z [util/thread.cpp:22] [void util::TraceThread(std::string_view, std::function<void ()>)] torcontrol thread exit
    812025-08-09T12:33:36Z [util/thread.cpp:22] [void util::TraceThread(std::string_view, std::function<void ()>)] mapport thread exit
    822025-08-09T12:33:36Z [util/thread.cpp:22] [void util::TraceThread(std::string_view, std::function<void ()>)] opencon thread exit
    832025-08-09T12:33:36Z [util/thread.cpp:22] [void util::TraceThread(std::string_view, std::function<void ()>)] addcon thread exit
    842025-08-09T12:33:36Z [init.cpp:287] [void Shutdown(NodeContext &)] Shutdown in progress...
    852025-08-09T12:33:36Z [util/thread.cpp:22] [void util::TraceThread(std::string_view, std::function<void ()>)] net thread exit
    862025-08-09T12:33:36Z [util/thread.cpp:22] [void util::TraceThread(std::string_view, std::function<void ()>)] msghand thread exit
    872025-08-09T12:33:36Z [logging/timer.h:56] [void BCLog::Timer<std::chrono::duration<long long>>::Log(const std::string &) [TimeType = std::chrono::duration<long long>]] DumpAnchors: Flush 0 outbound block-relay-only peer addresses to anchors.dat started
    882025-08-09T12:33:36Z [logging/timer.h:56] [void BCLog::Timer<std::chrono::duration<long long>>::Log(const std::string &) [TimeType = std::chrono::duration<long long>]] DumpAnchors: Flush 0 outbound block-relay-only peer addresses to anchors.dat completed (0.00s)
    892025-08-09T12:33:36Z [util/thread.cpp:22] [void util::TraceThread(std::string_view, std::function<void ()>)] scheduler thread exit
    902025-08-09T12:33:36Z [node/mempool_persist.cpp:195] [bool node::DumpMempool(const CTxMemPool &, const fs::path &, FopenFn, bool)] Writing 0 mempool transactions to file...
    912025-08-09T12:33:36Z [node/mempool_persist.cpp:205] [bool node::DumpMempool(const CTxMemPool &, const fs::path &, FopenFn, bool)] Writing 0 unbroadcast transactions to file.
    922025-08-09T12:33:36Z [node/mempool_persist.cpp:224] [bool node::DumpMempool(const CTxMemPool &, const fs::path &, FopenFn, bool)] Dumped mempool: 0.000s to copy, 0.001s to dump, 27 bytes dumped to file
    932025-08-09T12:33:36Z [policy/fees.cpp:974] [void CBlockPolicyEstimator::FlushFeeEstimates()] Flushed fee estimates to fee_estimates.dat.
    942025-08-09T12:33:36Z [init.cpp:398] [void Shutdown(NodeContext &)] Shutdown done
    

    There is not much difference compared with a run on Ubuntu, except that the line [validation.cpp:5173] [void ChainstateManager::LoadExternalBlockFile(AutoFile &, FlatFilePos *, std::multimap<uint256, FlatFilePos> *)] blkdat.size()=20777208 appears only once in the log.


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-08-13 06:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me