Chains
BNB Beacon Chain
BNB ecosystem’s staking & governance layer
Developers
Solutions
Tokenization
Get Your Business Into Web3
Ecosystem
Community
bsc v1.1.1 is out and many validator nodes on bsc mainnet have upgraded to this new version. If you are running a fullnode on Binance Smart chain mainnet or testnet, it's recommended to upgrade to this version.
IMPROVEMENT
BUGFIX
# Linux
wget https://github.com/binance-chain/bsc/releases/download/v1.1.1/geth_linux
# MacOS
wget https://github.com/binance-chain/bsc/releases/download/v1.1.1/geth_mac
$ pid=`ps -ef | grep geth | grep -v grep | awk '{print $2}'`
$ kill $pid
Note: it may take several minutes to complete the shutdown process. Please be patient!
2. Start `geth` again
geth --config ./config.toml --datadir ./node --syncmode snap -unlock {your-validator-address} --password password.txt --mine --allow-insecure-unlock --cache 10000
If you want to restart from a snapshot, please follow these instructions: https://github.com/binance-chain/bsc-snapshots/blob/main/README.md
How to reduce storage occupation
If the storage occupation of the bsc client increasing dramatically, you may consider increasing the TrieTimeout setting in config.toml.
What does TrieTimeout means?
The bsc client will keep MPT(Merkle Patricia Tree) in memory. Once the block processing time exceeds the TrieTimeout, the client will persis MPT into disk. If the client crash, it can recover from recent persisted MPT. Increasing the TrieTimeout setting will reduce storage occupation, in exchange, it will need more time to recover from a crash.
The default setting before release v1.1.1 is 100000000000, it will persist MPT about every 35 minutes.
We change the default setting to 2000000000000 in this release, it will persist MPT about every 12 hours.