tarik0 / bsc-fullnode-installer

Binance Smart Chain Fullnode Tutorial
27 stars 43 forks source link

Help for newer versions #8

Open NeoSephiroth opened 2 years ago

NeoSephiroth commented 2 years ago

thanks for this guide it has been very useful and following it I was able to start the full node on a dedicated hetzener server.

Now the fact is that I followed this guide without any change and now there's the version 1.1.8.

The newer version also have: "We improved the diffsync protocol in this release and rolled it out as a stable feature. Diff sync improves the syncing speed by 60%~70% approximately according to the test. All full nodes are suggested to enable it by adding --diffsync in the starting command. Refer to BEP93 for more details."

Can you be so gentle to update your guide for version 1.1.8? Maybe also update the various commands to use the --diffsync option.

If I'm running a 1.1.4 (as in your guide) , do I have to reinstall all from scratch?

Thanks!

NeoSephiroth commented 2 years ago

It seems I made it and started the full node using 1.1.8!

I also added some more params like this:

echo "./geth_linux --config ./config.toml --datadir ./mainnet --cache 18000 --rpc.allow-unprotected-txs --txlookuplimit 0 --http --maxpeers 100 --ws --syncmode=snap --snapshot=false --pipecommit --diffsync" > start.sh

Now It has taken already very much space from my 2 TB (2x1 SSD NVME Raid 0) In the case it isn't synched before there's still free space left, can I prune before it's synched?

tarik0 commented 2 years ago

Not a expert on the topic so I recommend you to check out the TheCryptoFarm discord channel there are people that have more experience than me. You can contact with PhatJay to invite you