I¹ am trying to sync Bitcoin Core v24.0.1 on my Desktop with 16 GB RAM and an Intel Core i7-7700HQ processor, but it is taking forever even to get past the header synchronization. It tells me that it will take over 3.5 years to synchronize.
3 hours later, my node is still in Header Synchronization:
I have a decent internet connection and am connected to my router via wifi
I downloaded Bitcoin Core v24.0.1 from bitcoincore.org
I’m using an internal hard drive
I have ten connections, but have only received about 340 kB across my eight outbound connections in the past ~10 minutes minutes
I have tried to add a few nodes from bitnodes.io via addnode <ip> onetry to perhaps learn about more peers (and the added nodes show up when I call getaddednodeinfo as past connections)
I have over 365 GB of free disk space
My node was already configured to run in pruning mode
I’ve increased my dbcache to 10 GB
My debug.log appears to show that I’m switching my peers frequently
EDIT: As pointed out in the comments, headers sync should not be taking 3 hours. Based on https://github.com/bitcoin/bitcoin/issues/26391 , it sounds like corrupted block data could be the cause. If you can confirm that by looking in your debug.log, restarting your node with -reindex is an option. However, it's difficult to recommend a solution without knowing what's in your debug.log first.
Why not collecting and insepcting debug logs? There could be traces of the reasons that the node is synchornising slowly. Upload a debug.log file generated by Bitcoin Core started with the -debug option, i.e.
3 hours of headers synchronisation doesn't seem to be slow to me.