Saturday, July 6, 2024

bitcoind – Bitcoin node will get caught on a stale tip

o7

I am having a challenge with my node. I am working it on a 2017 mba, and randomly it’s going to get caught on a stale tip and apparently cannot discover the energetic department, because it’ll attempt for hours till manually restarted. Probably the most i can determine is it fails to hook up with a peer after which simply stops making an attempt? Related logs are connected under system information.

Bitcoin core model: Bitcoin Core model v23.0

Config:

## Common
server=1
txindex=1
blockfilterindex=1
daemonwait=1
mempoolexpiry=24
disablewallet=1
sysperms=1
datadir=/run/media/<person>/Chain/bitcoin
shrinkdebugfile=1

## Providers
peerbloomfilters=1
peerblockfilters=1

zmqpubrawblock=tcp://127.0.0.1:29000
zmqpubrawtx=tcp://127.0.0.1:29000
zmqpubhashtx=tcp://127.0.0.1:29000
zmqpubhashblock=tcp://127.0.0.1:29000

## Networking
port=8333
rpcuser=mempool
rpcpassword=mempool
rpcbind=0.0.0.0
relaxation=1
hear=1
uncover=1
maxconnections=25
[email protected]
rpcallowip=192.168.1.0/24
### Tor
listenonion=1
onion=127.0.0.1:9050

## Tor Seeds
addnode=kpgvmscirrdqpekbqjsvw5teanhatztpp2gl6eee4zkowvwfxwenqaid.onion
addnode=bnx4povtqynvwnui5oqm5xcxqvat3j7yzgn6mqciuyszqawhuayvyaid.onion:8333
addnode=qxkgr5u4rmwme5jticjuuqrecw5vfc5thcqdxvbffwbqgqkdin7s7vid.onion

System information:
OS: EndeavourOS Linux x86_64
Host: MacBookAir7,2 1.0
Kernel: 5.18.12-zen1-1-zen
Shell: bash 5.1.16
CPU: Intel i5-5350U (4) @ 2.900GHz

Related logs:

2022-07-27T12:16:11Z UpdateTip: new finest=00000000000000000004d531a2a6bda3200d27f01e1788fa8542eecd337c9759 peak=746776 model=0x2222a000 log2_work=93.648170 tx=752013680 date="2022-07-27T12:15:46Z" progress=1.000000 cache=44.8MiB(342049txo)
2022-07-27T12:17:59Z Socks5() hook up with z35xbo2q2mclub2pfljc6q4czxuvbivohmuoi3jrw5yukzqb635li2id.onion:8333 failed: host unreachable // first connection failure
2022-07-27T12:18:14Z New outbound peer related: model: 70016, blocks=746776, peer=281 (block-relay-only)
// ..regular logs...
2022-07-27T12:59:53Z New outbound peer related: model: 70015, blocks=746783, peer=307 (block-relay-only)
2022-07-27T13:02:14Z UpdateTip: new finest=000000000000000000089e9978c6b5e69d0d02109ad3e418ec096ce03d3292b0 peak=746784 model=0x20800004 log2_work=93.648258 tx=752022658 date="2022-07-27T13:00:22Z" progress=1.000000 cache=52.2MiB(380114txo) // Appears to die right here, as this was the peak i discovered it at when i restarted at block 746826
2022-07-27T13:24:16Z Disconnecting outbound peer 9 for previous chain, finest identified block = 000000000000000000098d0c86665071e838f3483d582c0af7a16ef07745020e
2022-07-27T13:24:16Z Disconnecting outbound peer 1 for previous chain, finest identified block = 000000000000000000098d0c86665071e838f3483d582c0af7a16ef07745020e
2022-07-27T13:24:16Z Disconnecting outbound peer 17 for previous chain, finest identified block = 000000000000000000098d0c86665071e838f3483d582c0af7a16ef07745020e
2022-07-27T13:24:16Z Disconnecting outbound peer 16 for previous chain, finest identified block = 000000000000000000098d0c86665071e838f3483d582c0af7a16ef07745020e
2022-07-27T13:36:10Z Potential stale tip detected, will attempt utilizing additional outbound peer (final tip replace: 2036 seconds in the past)
2022-07-27T13:46:40Z Potential stale tip detected, will attempt utilizing additional outbound peer (final tip replace: 2666 seconds in the past)
2022-07-27T13:57:10Z Potential stale tip detected, will attempt utilizing additional outbound peer (final tip replace: 3296 seconds in the past)
2022-07-27T14:07:40Z Potential stale tip detected, will attempt utilizing additional outbound peer (final tip replace: 3926 seconds in the past)
2022-07-27T14:18:10Z Potential stale tip detected, will attempt utilizing additional outbound peer (final tip replace: 4556 seconds in the past)
// ...continues...
2022-07-27T17:27:10Z Potential stale tip detected, will attempt utilizing additional outbound peer (final tip replace: 15896 seconds in the past)

Edit: Additionally appears to hold on exit, and it even logs stale tip messages. pkill -9 doesnt kill it both, solely a reboot will.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles