Author

Topic: can't sinc anymore after i changed to 24 version of bitcoin core (Read 98 times)

legendary
Activity: 3206
Merit: 1069
ok i fixed it by redownloading the whole chain, sometimes it happen, still don't know why

It seems your Bitcoin core before was previously pruned and did you just disable it recently according to this log "Block files have previously been pruned".

Do you mind running bitcoin core with -reindex this can mostly solve syncing issues.

And I just want to know if you change or add something related to the network under bitcoin.conf file before it might be one of the reasons why it's not syncing.

yeah i use prune 200k cuz i have obly 500 gb of storage, but i didn't change that, when launching the new version

i didn't know about reindex, i'll use that next time i have this issue
HCP
legendary
Activity: 2086
Merit: 4314
anyone is experiencing the same thing? there was a consensus warning initially when i swiched, now it's not there anymrore, and it's not synching either
What exactly is it "not" doing? how do you know it's not syncing? Is it sitting on the sync window during start up but the number of blocks left is not decreasing/progress % is not increasing?




I just upgraded to 24.0.1 on a PC that hasn't synced for about a month... and it is quite happily downloading the new blocks.
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
It seems your Bitcoin core before was previously pruned and did you just disable it recently according to this log "Block files have previously been pruned".

Do you mind running bitcoin core with -reindex this can mostly solve syncing issues.
He didn't, that'll always show if the node has pruned blockchain.
To see if he's enabled/disabled pruning, check for "setting" or "command-line argument" lines.

Full -reindex will not work in pruned nodes, it'll have to redownload the entire blockchain to do so.

Code:
2023-02-22T12:02:49Z Setting file arg: prune = "1907"
2023-02-22T12:02:49Z Setting file arg: wallet = [""]
2023-02-22T12:02:49Z Command-line arg: prune="220000"
The only inconsistency that I found is you have a lower prune setting in the GUI but launched Bitcoin Core with a command line option of higher prune size of 220GiB.
But doing so shouldn't cause that issue.
legendary
Activity: 3206
Merit: 2904
Block halving is coming.
It seems your Bitcoin core before was previously pruned and did you just disable it recently according to this log "Block files have previously been pruned".

Do you mind running bitcoin core with -reindex this can mostly solve syncing issues.

And I just want to know if you change or add something related to the network under bitcoin.conf file before it might be one of the reasons why it's not syncing.
legendary
Activity: 3206
Merit: 1069
here the debug

Code:
2023-02-22T12:02:49Z Bitcoin Core version v24.0.1 (release build)
2023-02-22T12:02:49Z Qt 5.15.5 (static), plugin=windows (static)
2023-02-22T12:02:49Z Static plugins:
2023-02-22T12:02:49Z  QWindowsIntegrationPlugin, version 331520
2023-02-22T12:02:49Z  QWindowsVistaStylePlugin, version 331520
2023-02-22T12:02:49Z Style: windowsvista / QWindowsVistaStyle
2023-02-22T12:02:49Z System: Windows 10 Version 2009, x86_64-little_endian-llp64
2023-02-22T12:02:49Z Screen: \\.\DISPLAY1 2560x1440, pixel ratio=1.0
2023-02-22T12:02:49Z Using the 'sse4(1way),sse41(4way),avx2(8way)' SHA256 implementation
2023-02-22T12:02:49Z Using RdRand as an additional entropy source
2023-02-22T12:02:49Z Default data directory C:\Users\Amph\AppData\Roaming\Bitcoin
2023-02-22T12:02:49Z Using data directory C:\Users\Amph\AppData\Roaming\Bitcoin
2023-02-22T12:02:49Z Config file: C:\Users\Amph\AppData\Roaming\Bitcoin\bitcoin.conf (not found, skipping)
2023-02-22T12:02:49Z Setting file arg: prune = "1907"
2023-02-22T12:02:49Z Setting file arg: wallet = [""]
2023-02-22T12:02:49Z Command-line arg: prune="220000"
2023-02-22T12:02:49Z Using at most 125 automatic connections (2048 file descriptors available)
2023-02-22T12:02:49Z GUI: "registerShutdownBlockReason: Successfully registered: Bitcoin Core didn't yet exit safely…"
2023-02-22T12:02:49Z Using 16 MiB out of 16 MiB requested for signature cache, able to store 524288 elements
2023-02-22T12:02:49Z Using 16 MiB out of 16 MiB requested for script execution cache, able to store 524288 elements
2023-02-22T12:02:49Z Script verification uses 7 additional threads
2023-02-22T12:02:49Z scheduler thread start
2023-02-22T12:02:49Z Using wallet directory C:\Users\Amph\AppData\Roaming\Bitcoin\wallets
2023-02-22T12:02:49Z init message: Verifying wallet(s)…
2023-02-22T12:02:49Z Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2023-02-22T12:02:49Z Using wallet C:\Users\Amph\AppData\Roaming\Bitcoin\wallets\wallet.dat
2023-02-22T12:02:49Z BerkeleyEnvironment::Open: LogDir=C:\Users\Amph\AppData\Roaming\Bitcoin\wallets\database ErrorFile=C:\Users\Amph\AppData\Roaming\Bitcoin\wallets\db.log
2023-02-22T12:02:49Z Using /16 prefix for IP bucketing
2023-02-22T12:02:49Z init message: Loading P2P addresses…
2023-02-22T12:02:49Z Loaded 71410 addresses from peers.dat  265ms
2023-02-22T12:02:49Z init message: Loading banlist…
2023-02-22T12:02:49Z banlist.dat ignored because it can only be read by Bitcoin Core version 22.x. Remove "C:\Users\Amph\AppData\Roaming\Bitcoin\banlist.dat" to silence this warning.
2023-02-22T12:02:49Z SetNetworkActive: true
2023-02-22T12:02:49Z Cache configuration:
2023-02-22T12:02:49Z * Using 2.0 MiB for block index database
2023-02-22T12:02:49Z * Using 8.0 MiB for chain state database
2023-02-22T12:02:49Z * Using 440.0 MiB for in-memory UTXO set (plus up to 286.1 MiB of unused mempool space)
2023-02-22T12:02:49Z init message: Loading block index…
2023-02-22T12:02:49Z Assuming ancestors of block 00000000000000000009c97098b5295f7e5f183ac811fb5d1534040adb93cabd have valid signatures.
2023-02-22T12:02:49Z Setting nMinimumChainWork=00000000000000000000000000000000000000003404ba0801921119f903495e
2023-02-22T12:02:49Z Prune configured to target 220000 MiB on disk for block and undo files.
2023-02-22T12:02:49Z Switching active chainstate to Chainstate [ibd] @ height -1 (null)
2023-02-22T12:02:49Z Opening LevelDB in C:\Users\Amph\AppData\Roaming\Bitcoin\blocks\index
2023-02-22T12:02:49Z Opened LevelDB successfully
2023-02-22T12:02:49Z Using obfuscation key for C:\Users\Amph\AppData\Roaming\Bitcoin\blocks\index: 0000000000000000
2023-02-22T12:02:52Z LoadBlockIndexDB: last block file = 3416
2023-02-22T12:02:52Z LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=1, size=3626551, heights=776979...776979, time=2023-02-17...2023-02-17)
2023-02-22T12:02:52Z Checking all blk files are present...
2023-02-22T12:02:53Z LoadBlockIndexDB(): Block files have previously been pruned
2023-02-22T12:02:53Z Opening LevelDB in C:\Users\Amph\AppData\Roaming\Bitcoin\chainstate
2023-02-22T12:02:53Z Opened LevelDB successfully
2023-02-22T12:02:53Z Using obfuscation key for C:\Users\Amph\AppData\Roaming\Bitcoin\chainstate: 66b05a406ad5780b
2023-02-22T12:02:54Z Loaded best chain: hashBestChain=00000000000000000003267474564f9de9bfaf4cdb845b7714a4058444342c8c height=776978 date=2023-02-17T09:55:26Z progress=0.998407
2023-02-22T12:02:54Z init message: Verifying blocks…
2023-02-22T12:02:54Z Verifying last 6 blocks at level 3
2023-02-22T12:02:54Z [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE].
2023-02-22T12:02:56Z No coin database inconsistencies in last 6 blocks (8309 transactions)
2023-02-22T12:02:56Z  block index            6212ms
2023-02-22T12:02:56Z init message: Loading wallet…
2023-02-22T12:02:56Z BerkeleyEnvironment::Open: LogDir=C:\Users\Amph\AppData\Roaming\Bitcoin\wallets\database ErrorFile=C:\Users\Amph\AppData\Roaming\Bitcoin\wallets\db.log
2023-02-22T12:02:56Z [default wallet] Wallet file version = 10500, last client version = 240001
2023-02-22T12:02:56Z [default wallet] Keys: 2383 plaintext, 0 encrypted, 2383 w/ metadata, 2383 total. Unknown wallet records: 0
2023-02-22T12:02:56Z [default wallet] Wallet completed loading in              46ms
2023-02-22T12:02:56Z [default wallet] setKeyPool.size() = 2000
2023-02-22T12:02:56Z [default wallet] mapWallet.size() = 212
2023-02-22T12:02:56Z [default wallet] m_address_book.size() = 64
2023-02-22T12:02:56Z init message: Pruning blockstore…
2023-02-22T12:02:56Z block tree size = 776987
2023-02-22T12:02:56Z nBestHeight = 776978
2023-02-22T12:02:56Z loadblk thread start
2023-02-22T12:02:56Z torcontrol thread start
2023-02-22T12:02:56Z Bound to 127.0.0.1:8334
2023-02-22T12:02:56Z Bound to [::]:8333
2023-02-22T12:02:56Z Bound to 0.0.0.0:8333
2023-02-22T12:02:56Z Loaded 2 addresses from "anchors.dat"
2023-02-22T12:02:56Z 2 block-relay-only anchors will be tried for connections.
2023-02-22T12:02:56Z init message: Starting network threads…
2023-02-22T12:02:56Z net thread start
2023-02-22T12:02:56Z dnsseed thread start
2023-02-22T12:02:56Z addcon thread start
2023-02-22T12:02:56Z opencon thread start
2023-02-22T12:02:56Z init message: Done loading
2023-02-22T12:02:56Z Waiting 300 seconds before querying DNS seeds.
2023-02-22T12:02:56Z msghand thread start
2023-02-22T12:02:56Z GUI: Platform customization: "windows"
2023-02-22T12:02:56Z New outbound peer connected: version: 70016, blocks=777788, peer=0 (block-relay-only)
2023-02-22T12:02:57Z New outbound peer connected: version: 70016, blocks=777788, peer=1 (block-relay-only)
2023-02-22T12:02:59Z Imported mempool transactions from disk: 3941 succeeded, 0 failed, 58 expired, 0 already there, 0 waiting for initial broadcast
2023-02-22T12:02:59Z loadblk thread exit
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS Shell Dlg 2", script 12
2023-02-22T12:03:09Z GUI:   OpenType support missing for "Arial", script 12
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS UI Gothic", script 12
2023-02-22T12:03:09Z GUI:   OpenType support missing for "SimSun", script 12
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS Shell Dlg 2", script 14
2023-02-22T12:03:09Z GUI:   OpenType support missing for "Arial", script 14
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS UI Gothic", script 14
2023-02-22T12:03:09Z GUI:   OpenType support missing for "SimSun", script 14
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS Shell Dlg 2", script 32
2023-02-22T12:03:09Z GUI:   OpenType support missing for "Arial", script 32
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS UI Gothic", script 32
2023-02-22T12:03:09Z GUI:   OpenType support missing for "SimSun", script 32
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS Shell Dlg 2", script 19
2023-02-22T12:03:09Z GUI:   OpenType support missing for "Arial", script 19
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS UI Gothic", script 19
2023-02-22T12:03:09Z GUI:   OpenType support missing for "SimSun", script 19
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS Shell Dlg 2", script 11
2023-02-22T12:03:09Z GUI:   OpenType support missing for "Arial", script 11
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS UI Gothic", script 11
2023-02-22T12:03:09Z GUI:   OpenType support missing for "SimSun", script 11
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS Shell Dlg 2", script 13
2023-02-22T12:03:09Z GUI:   OpenType support missing for "Arial", script 13
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS UI Gothic", script 13
2023-02-22T12:03:09Z GUI:   OpenType support missing for "SimSun", script 13
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS Shell Dlg 2", script 20
2023-02-22T12:03:09Z GUI:   OpenType support missing for "Arial", script 20
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS UI Gothic", script 20
2023-02-22T12:03:09Z GUI:   OpenType support missing for "SimSun", script 20
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS Shell Dlg 2", script 16
2023-02-22T12:03:09Z GUI:   OpenType support missing for "Arial", script 16
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS UI Gothic", script 16
2023-02-22T12:03:09Z GUI:   OpenType support missing for "SimSun", script 16
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS Shell Dlg 2", script 17
2023-02-22T12:03:09Z GUI:   OpenType support missing for "Arial", script 17
2023-02-22T12:03:09Z GUI:   OpenType support missing for "MS UI Gothic", script 17
2023-02-22T12:03:09Z GUI:   OpenType support missing for "SimSun", script 17
2023-02-22T12:03:53Z New outbound peer connected: version: 70015, blocks=777789, peer=2 (outbound-full-relay)
2023-02-22T12:04:00Z New outbound peer connected: version: 70016, blocks=777789, peer=3 (outbound-full-relay)
2023-02-22T12:04:14Z New outbound peer connected: version: 70015, blocks=777789, peer=4 (outbound-full-relay)
2023-02-22T12:04:35Z New outbound peer connected: version: 70016, blocks=777789, peer=6 (outbound-full-relay)
2023-02-22T12:04:36Z New outbound peer connected: version: 70016, blocks=777789, peer=7 (outbound-full-relay)
2023-02-22T12:04:37Z New outbound peer connected: version: 70016, blocks=777789, peer=8 (outbound-full-relay)
2023-02-22T12:05:30Z New outbound peer connected: version: 70016, blocks=777789, peer=9 (outbound-full-relay)
2023-02-22T12:05:31Z New outbound peer connected: version: 70015, blocks=777789, peer=10 (outbound-full-relay)
2023-02-22T12:05:53Z New outbound peer connected: version: 70016, blocks=777789, peer=11 (outbound-full-relay)
2023-02-22T12:05:55Z New outbound peer connected: version: 70016, blocks=777789, peer=12 (outbound-full-relay)
2023-02-22T12:06:24Z New outbound peer connected: version: 70016, blocks=777789, peer=13 (outbound-full-relay)
2023-02-22T12:06:44Z New outbound peer connected: version: 70016, blocks=777789, peer=14 (outbound-full-relay)
2023-02-22T12:06:46Z New outbound peer connected: version: 70015, blocks=777788, peer=16 (outbound-full-relay)
2023-02-22T12:06:46Z New outbound peer connected: version: 70015, blocks=777789, peer=17 (outbound-full-relay)
2023-02-22T12:06:59Z New outbound peer connected: version: 70015, blocks=777789, peer=18 (outbound-full-relay)
2023-02-22T12:07:00Z New outbound peer connected: version: 70016, blocks=777789, peer=19 (outbound-full-relay)
2023-02-22T12:07:11Z New outbound peer connected: version: 70016, blocks=777789, peer=20 (outbound-full-relay)
2023-02-22T12:07:36Z New outbound peer connected: version: 70016, blocks=777790, peer=21 (outbound-full-relay)

legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Any chance you're running a firewall that blocks Bitcoin Core?
legendary
Activity: 2394
Merit: 5531
Self-proclaimed Genius
My v24.0.1 node is syncing just fine, also it works right away after I upgraded it to v24. (from an older version)

Please check the last few line of your debug.log file for errors that may be related to the issue.
It should be in your bitcoin data directory.
legendary
Activity: 3206
Merit: 1069
anyone is experiencing the same thing? there was a consensus warning initially when i swiched, now it's not there anymrore, and it's not synching either
Jump to: