node-real / bsc-erigon

Ethereum implementation on the efficiency frontier
GNU Lesser General Public License v3.0
118 stars 44 forks source link

snapshots build, gather headers block=38300000 #381

Closed harveyff closed 1 month ago

harveyff commented 1 month ago

Hi, thank you guys, I've been using this fork and it's great.

When I upgraded to v1.2.6, it kept reporting this error, and then I tried deleting the snapshots folder and restarting, but it still happened. Is there any other way to run it?

chain="bsc"
datadir="/bsc/bsc"
port="30303"
http="true"
ws="true"
"http.port"="8585"
"authrpc.port"="8551"
"torrent.port"="30303"
"private.api.addr"="127.0.0.1:9090"
"http.api"="web3,net,eth,debug,trace,txpool"
"http.corsdomain"="*"
"http.addr"="0.0.0.0"
"http.vhosts"="*"
"maxpeers"="100"
"db.pagesize"="16k"
"rpc.gascap"="100000000"

It prints these logs for 2 days

[INFO] [05-03|04:33:30.611] [parlia] snapshots build, gather headers block=38300000
[INFO] [05-03|04:33:30.959] [parlia] snapshots build, gather headers block=38300000
[INFO] [05-03|04:33:31.295] [parlia] snapshots build, gather headers block=38300000
[INFO] [05-03|04:33:31.642] [parlia] snapshots build, gather headers block=38300000
[INFO] [05-03|04:33:31.715] [2/15 Headers] No block headers to write in this log period number=38370655 blk/second=0.000 alloc=409.4MB sys=548.5MB invalidHeaders=87 rejectedBadHeaders=0
[INFO] [05-03|04:33:31.715] Req/resp stats                           req=151 reqMin=38370629 reqMax=38389258 skel=28 skelMin=38370654 skelMax=38407710 resp=444 respMin=38370654 respMax=38389259 dups=52950
[INFO] [05-03|04:33:31.973] [parlia] snapshots build, gather headers block=38300000
[INFO] [05-03|04:33:32.310] [parlia] snapshots build, gather headers block=38300000
[INFO] [05-03|04:33:32.649] [parlia] snapshots build, gather headers block=38300000
[INFO] [05-03|04:33:32.992] [parlia] snapshots build, gather headers block=38300000
STdevK commented 1 month ago

Which snapshot was used to sync the node?

harveyff commented 1 month ago

Which snapshot was used to sync the node?

Hi, thank you for your reply. I downloaded the snapshot data of erigon_data from https://github.com/bnb-chain/bsc-snapshots/blob/main/README.md on March 14th, so I am not sure about the number. It has been working fine for the last 1+ months until this update.