Closed czarly closed 8 months ago
If you want to sync from genesis, use v1.1.12. Or download snapshot from https://github.com/bnb-chain/bsc-snapshots/blob/main/README.md#endpoint-1
How do I know that 1.1.12 will work? can I just sync over what I have with the new version? I started 3 times since October each time with a version that was supposed to work. How do I know that it will work this time? The experiment piled up at least $1000 in cost already. Are there snapshots for full nodes somewhere?
Someone have same issue in chaple, the latest version work for it. Download snapshot is more easy.
those snapshots are for archive nodes. I want a full node. thus I tried to sync from genesis because I can only find snapshots for4 archive nodes and I think they can not be pruned after the fact. I tried to prune them but was not successful.
EDIT: well actually the torrent might be for a full node. it's 785GB download. EDIT2: it's probably only the snapshots folder that the client can download itself via torrent. not the mdmx.dat
those snapshots are for archive nodes. I want a full node. thus I tried to sync from genesis because I can only find snapshots for4 archive nodes and I think they can not be pruned after the fact. I tried to prune them but was not successful.
EDIT: well actually the torrent might be for a full node. it's 785GB download. EDIT2: it's probably only the snapshots folder that the client can download itself via torrent. not the mdmx.dat
Yes, you can download the snapshots folder, and sync from the genesis.
Please can you confirm that the only way to know if it works now is to delete everything and wait for another month after trying 3 times with subsequent releases already.
Have you try start with v1.1.12. Just unwind some block and restart?
yep I did and I now realised that I'm actually stuck at block 30499999 not 29999999 anymore. need to close this issue.
I'm trying to to sync a full node and synced with 1.10-devel until I reached the error from the title "could not apply tx 0 from block 30000000"
Then I upgraded to v1.11 and did the header reset
integration stage_headers --reset --chain=bsc --datadir=..pathtostorage..
and got stuck with endless repetition of the following line
I tried to delete and redownload the snapshots with the same result.
my command line:
erigon --chain=bsc --nat=stun --sentry.drop-useless-peers --http --http.addr=0.0.0.0 --http.port=8545 --http.compression --http.vhosts='*' --http.corsdomain='*' --http.api=eth,debug,net,trace,web3,erigon,bor --ws --ws.compression --rpc.gascap=300000000 --metrics --metrics.addr=0.0.0.0 --metrics.port=6060 --bodies.cache=5G --rpc.batch.limit=200000 --db.pagesize=16k --batchSize=2048MB --port=54993 --p2p.protocol=66 --p2p.protocol 67 --p2p.protocol 68 --p2p.allowed-ports 53931 --p2p.allowed-ports 22185 --p2p.allowed-ports 9521 --datadir=/datadir --ethash.dagdir=/datadir/ethash --rpc.returndata.limit=1100000 --snapshots=true --downloader.verify --torrent.port 25703 --torrent.download.rate 1000mb --torrent.upload.rate 10mb --prune.h.older=128 --prune.r.older=128 --prune.t.older=128 --prune.c.older=128
Originally posted by @czarly in https://github.com/node-real/bsc-erigon/issues/226#issuecomment-1879928154