You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run a mainnet or testnet node, you just run your node with a new flag --history-segment . It will use hard code history segment to auto prune useless ancient data(except tx index) when node restart.
Below is the quick user guide of BEP-283 pr.
Run Node
Mainnet/Testnet
If you run a mainnet or testnet node, you just run your node with a new flag
--history-segment
. It will use hard code history segment to auto prune useless ancient data(except tx index) when node restart.Default segment config as below:
There are also provide a offline prune tool, it will prune tx index too.
It is also compatible with
pruneancient
&prune-block
feature.Snap Sync
If you start snap sync from genesis, the node will only download latest 2 segments blocks.
Private Network
If you run a private network, you could export & import your custom history segment file.
boundstart
block, andsegmentlen
.--history-segment --history-segment.custom ./history_segments.json
.Storage Profile
Originally posted by @0xbundler in bnb-chain/bsc#2017 (comment)
The text was updated successfully, but these errors were encountered: