Bitcoin-Core
比特幣節點卡在過時的提示上
o7
我的節點有問題。我在 2017 年的 mba 上執行它,隨機它會卡在一個陳舊的提示上,顯然找不到活動的分支,因為它會嘗試幾個小時直到手動重新啟動。我能弄清楚的最多的是它無法連接到對等點然後停止嘗試?相關日誌附在系統資訊下方。
比特幣核心版本:
Bitcoin Core version v23.0
配置:
## General server=1 txindex=1 blockfilterindex=1 daemonwait=1 mempoolexpiry=24 disablewallet=1 sysperms=1 datadir=/run/media/<user>/Chain/bitcoin shrinkdebugfile=1 ## Services 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 rest=1 listen=1 discover=1 maxconnections=25 whitelist=download@127.0.0.1 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
系統資訊:作業系統:EndeavourOS Linux x86_64
主機:MacBookAir7,2 1.0
核心:5.18.12-zen1-1-zen
外殼:bash 5.1.16
CPU:Intel i5-5350U (4) @ 2.900GHz
相關日誌:
2022-07-27T12:16:11Z UpdateTip: new best=00000000000000000004d531a2a6bda3200d27f01e1788fa8542eecd337c9759 height=746776 version=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() connect to z35xbo2q2mclub2pfljc6q4czxuvbivohmuoi3jrw5yukzqb635li2id.onion:8333 failed: host unreachable // first connection failure 2022-07-27T12:18:14Z New outbound peer connected: version: 70016, blocks=746776, peer=281 (block-relay-only) // ..normal logs... 2022-07-27T12:59:53Z New outbound peer connected: version: 70015, blocks=746783, peer=307 (block-relay-only) 2022-07-27T13:02:14Z UpdateTip: new best=000000000000000000089e9978c6b5e69d0d02109ad3e418ec096ce03d3292b0 height=746784 version=0x20800004 log2_work=93.648258 tx=752022658 date='2022-07-27T13:00:22Z' progress=1.000000 cache=52.2MiB(380114txo) // Seems to die here, as this was the height i found it at when i restarted at block 746826 2022-07-27T13:24:16Z Disconnecting outbound peer 9 for old chain, best known block = 000000000000000000098d0c86665071e838f3483d582c0af7a16ef07745020e 2022-07-27T13:24:16Z Disconnecting outbound peer 1 for old chain, best known block = 000000000000000000098d0c86665071e838f3483d582c0af7a16ef07745020e 2022-07-27T13:24:16Z Disconnecting outbound peer 17 for old chain, best known block = 000000000000000000098d0c86665071e838f3483d582c0af7a16ef07745020e 2022-07-27T13:24:16Z Disconnecting outbound peer 16 for old chain, best known block = 000000000000000000098d0c86665071e838f3483d582c0af7a16ef07745020e 2022-07-27T13:36:10Z Potential stale tip detected, will try using extra outbound peer (last tip update: 2036 seconds ago) 2022-07-27T13:46:40Z Potential stale tip detected, will try using extra outbound peer (last tip update: 2666 seconds ago) 2022-07-27T13:57:10Z Potential stale tip detected, will try using extra outbound peer (last tip update: 3296 seconds ago) 2022-07-27T14:07:40Z Potential stale tip detected, will try using extra outbound peer (last tip update: 3926 seconds ago) 2022-07-27T14:18:10Z Potential stale tip detected, will try using extra outbound peer (last tip update: 4556 seconds ago) // ...continues... 2022-07-27T17:27:10Z Potential stale tip detected, will try using extra outbound peer (last tip update: 15896 seconds ago)
編輯:似乎也掛在退出時,它甚至記錄過時的提示消息。
pkill -9
也不會殺死它,只有重新啟動才會。
問題的原因似乎是我的 vpn,在禁用它後,我的節點停止卡住。