Slow sync #30360

issue djkarmi openend this issue on June 28, 2024
  1. djkarmi commented at 6:20 pm on June 28, 2024: none

    Why does my Bitcoin daemon take so long to synchronize?

    Rasppery pi 4 8GB Bitcoin v27 64 bit gnu

    bitcoin.conf

    #Opcje Bitcoind server=1 daemon=1 testnet=0 txindex=0 prune=10000

    #połączenie RPC rpcuser=xyz rpcpassword=xyz zmqpubrawblock=tcp://127.0.0.1:29000 zmqpubrawtx=tcp://127.0.0.1:29001

    #Optymalizacja dla maliny #dbcache=200 #maxorphantx=10 #maxmempool=50 #maxmempool=300 maxconnections=50 maxuploadtarget=5000

    $ tail -f ~/.bitcoin/debug.log 2024-06-28T17:02:40Z Flushed fee estimates to fee_estimates.dat. 2024-06-28T17:03:11Z New outbound-full-relay v1 peer connected: version: 70016, blocks=849844, peer=17383 2024-06-28T17:03:12Z Saw new header hash=00000000000000000001dea82cca4d125385627cb6efb6c82301132089d2878a height=849842 2024-06-28T17:03:12Z Saw new header hash=00000000000000000002d30e77784e29ddf52d58c66451ccbcc9b0692d3e2337 height=849843 2024-06-28T17:03:12Z Saw new header hash=00000000000000000001d8956b4b2066965db045ed5038c31efd8cb38cbb7faf height=849844 2024-06-28T17:27:42Z UpdateTip: new best=00000000000000000002a85bda12e6debef8023cc98e9133f78511bafe0952ac height=849641 version=0x26000000 log2_work=95.006575 tx=1030786176 date=‘2024-06-27T03:41:10Z’ progress=0.999134 cache=14.7MiB(124039txo) 2024-06-28T17:27:43Z Timeout downloading block 000000000000000000022d579c5f43eace7948f5e2fd86b34345a0f482268545 from peer=17383, disconnecting 2024-06-28T17:27:45Z New outbound-full-relay v1 peer connected: version: 70015, blocks=849845, peer=17390 2024-06-28T17:27:47Z Saw new header hash=00000000000000000002c7fefb9b000fa67055876f6e281877425cbcfc9a7d6a height=849845 2024-06-28T17:30:09Z UpdateTip: new best=000000000000000000022d579c5f43eace7948f5e2fd86b34345a0f482268545 height=849642 version=0x20a00000 log2_work=95.006588 tx=1030792868 date=‘2024-06-27T03:42:40Z’ progress=0.999134 cache=15.0MiB(127074txo)

  2. mzumsande commented at 6:30 pm on June 28, 2024: contributor
    Looks like you were close to the tip, and a peer didn’t send you the requested block 000000000000000000022d579c5f43eace7948f5e2fd86b34345a0f482268545. This looks similar to #29281 and would be fixed by the open PR #29664.
  3. djkarmi commented at 0:15 am on June 29, 2024: none
    So what should I do now?
  4. mzumsande commented at 0:28 am on June 29, 2024: contributor
    you could just restart the node and see whether the problem persists. If it’s the problem I mentioned above, you should connect to new peers and the problem should go away. If it persists, it’s probably another problem, e.g. networking issues.
  5. djkarmi commented at 9:48 am on June 29, 2024: none
    When using the 32 bit version there was no such problem with synchronization. Internet seems to be ok. Restarting bitcoind doesn’t help.
  6. willcl-ark added the label P2P on Jul 1, 2024
  7. maflcko commented at 6:13 pm on July 2, 2024: member

    Internet seems to be ok. Restarting bitcoind doesn’t help.

    Can you clarify this. Does the debug log look the same after the restart?

  8. maflcko closed this on Jul 8, 2024

  9. maflcko commented at 7:52 am on July 8, 2024: member
    Closing for now, due to lack of details, but please leave a comment if you get a chance.

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: 2024-11-21 09:12 UTC

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