Title: Help, 'Checking all blk files' takes almost 20 minutes to start the Qt wallet.
Post by: ora.zhang on December 19, 2017, 05:39:16 AM
Hi, I install the bitcoin-qt wallet in my macpro and it worked well. But it takes much more time to start the qt wallet recently. Basically the step 'Checking all blk files are present...' takes almost 20 minutes. Does someone get this? Here is some info from debug file. As you can see from these two lines, I think it would not be the normal behavior. 2017-12-19 02:52:52 Checking all blk files are present... 2017-12-19 03:11:41 LoadBlockIndexDB: transaction index enabled
Could someone give me some hints to fix it? It's annoying. 2017-12-19 02:52:47 Bitcoin version v0.15.0.1 2017-12-19 02:52:47 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1 2017-12-19 02:52:48 Assuming ancestors of block 0000000000000000003b9ce759c2a087d52abc4266f8f4ebd6d768b89defa50a have valid signatures. 2017-12-19 02:52:48 Using the 'standard' SHA256 implementation 2017-12-19 02:52:48 Using RdRand as an additional entropy source 2017-12-19 02:52:48 Default data directory /Users/abc/Library/Application Support/Bitcoin 2017-12-19 02:52:48 Using data directory /Users/abc/BTCtmp 2017-12-19 02:52:48 Using config file /Users/abc/BTCtmp/bitcoin.conf 2017-12-19 02:52:48 Using at most 125 automatic connections (12544 file descriptors available) 2017-12-19 02:52:48 Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements 2017-12-19 02:52:48 Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements 2017-12-19 02:52:48 Using 4 threads for script verification 2017-12-19 02:52:48 scheduler thread start 2017-12-19 02:52:48 HTTP: creating work queue of depth 16 2017-12-19 02:52:48 Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcuser for rpcauth auth generation. 2017-12-19 02:52:48 HTTP: starting 4 worker threads 2017-12-19 02:52:48 init message: Verifying wallet(s)... 2017-12-19 02:52:48 Using BerkeleyDB version Berkeley DB 4.8.30: (April 9, 2010) 2017-12-19 02:52:48 Using wallet wallet.dat 2017-12-19 02:52:48 CDBEnv::Open: LogDir=/Users/abc/BTCtmp/database ErrorFile=/Users/abc/BTCtmp/db.log 2017-12-19 02:52:48 Cache configuration: 2017-12-19 02:52:48 * Using 56.2MiB for block index database 2017-12-19 02:52:48 * Using 8.0MiB for chain state database 2017-12-19 02:52:48 * Using 385.8MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space) 2017-12-19 02:52:48 init message: 正在加载区块索引... 2017-12-19 02:52:48 Opening LevelDB in /Users/abc/BTCtmp/blocks/index 2017-12-19 02:52:48 Opened LevelDB successfully 2017-12-19 02:52:48 Using obfuscation key for /Users/abc/BTCtmp/blocks/index: 0000000000000000 2017-12-19 02:52:52 LoadBlockIndexDB: last block file = 1105 2017-12-19 02:52:52 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=59, size=59618641, heights=499597...499888, time=2017-12-16...2017-12-18) 2017-12-19 02:52:52 Checking all blk files are present... 2017-12-19 03:11:41 LoadBlockIndexDB: transaction index enabled 2017-12-19 03:11:41 Opening LevelDB in /Users/abc/BTCtmp/chainstate 2017-12-19 03:11:42 Opened LevelDB successfully 2017-12-19 03:11:42 Using obfuscation key for /Users/abc/BTCtmp/chainstate: 8c3d20bc8e5d080e 2017-12-19 03:11:44 Loaded best chain: hashBestChain=00000000000000000034f7bd2bffb12b590eada706b9b985a458b0bf135c4291 height=499888 date=2017-12-18 02:55:58 progress=0.999045 2017-12-19 03:11:44 init message: Rewinding blocks... 2017-12-19 03:11:46 init message: 正在验证区块... 2017-12-19 03:11:46 Verifying last 6 blocks at level 3 2017-12-19 03:11:46 [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE]. 2017-12-19 03:17:51 No coin database inconsistencies in last 7 blocks (12759 transactions) 2017-12-19 03:17:51 block index 1502639ms 2017-12-19 03:17:51 init message: 正在加载钱包... 2017-12-19 03:17:51 nFileVersion = 150001 2017-12-19 03:17:51 Keys: 2002 plaintext, 0 encrypted, 2002 w/ metadata, 2002 total 2017-12-19 03:17:51 wallet 58ms 2017-12-19 03:17:51 setKeyPool.size() = 2000 2017-12-19 03:17:51 mapWallet.size() = 0 2017-12-19 03:17:51 mapAddressBook.size() = 1 2017-12-19 03:17:51 mapBlockIndex.size() = 499889 2017-12-19 03:17:51 nBestHeight = 499888 2017-12-19 03:17:51 torcontrol thread start 2017-12-19 03:17:51 Bound to [::]:8333 2017-12-19 03:17:51 Bound to 0.0.0.0:8333 2017-12-19 03:17:51 init message: Loading P2P addresses... 2017-12-19 03:17:51 Loaded 64067 addresses from peers.dat 272ms 2017-12-19 03:17:51 init message: 加载黑名单 2017-12-19 03:17:51 init message: 正在启动网络线程... 2017-12-19 03:17:51 net thread start 2017-12-19 03:17:51 dnsseed thread start 2017-12-19 03:17:51 addcon thread start 2017-12-19 03:17:51 opencon thread start 2017-12-19 03:17:51 init message: 加载完成 2017-12-19 03:17:51 msghand thread start 2017-12-19 03:17:51 GUI: Platform customization: "macosx" 2017-12-19 03:17:51 GUI: PaymentServer::LoadRootCAs: Loaded 161 root certificates 2017-12-19 03:17:53 receive version message: /Satoshi:0.15.1/: version 70015, blocks=500065, us=182.50.114.226:45586, peer=0 2017-12-19 03:17:54 receive version message: /Satoshi:0.14.0/: version 70015, blocks=500065, us=182.50.114.226:45558, peer=1 2017-12-19 03:18:00 receive version message: /Satoshi:0.15.1/: version 70015, blocks=500065, us=182.50.114.226:13928, peer=2 2017-12-19 03:18:02 P2P peers available. Skipped DNS seeding. 2017-12-19 03:18:02 dnsseed thread exit 2017-12-19 03:18:13 receive version message: /Satoshi:0.15.0.1/: version 70015, blocks=500065, us=182.50.114.226:14007, peer=3 2017-12-19 03:18:13 receive version message: /Satoshi:0.15.1/: version 70015, blocks=500065, us=182.50.114.226:14058, peer=4
|