mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Devnet shall not store historical data as it will blow up memory (#239)
This commit is contained in:
parent
63a5dc4ce6
commit
21c54fd1d6
1 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,8 @@ netstats="${NODE_NAME}-${wallet}-${INSTANCE_IP}:xinfin_xdpos_hybrid_network_stat
|
|||
echo "Running a node with wallet: ${wallet} at IP: ${INSTANCE_IP}"
|
||||
echo "Starting nodes with $bootnodes ..."
|
||||
|
||||
XDC --ethstats ${netstats} --gcmode=archive \
|
||||
# Note: --gcmode=archive means node will store all historical data. This will lead to high memory usage. Only needed if you need the node to perform historical operations
|
||||
XDC --ethstats ${netstats} --gcmode=full \
|
||||
--nat extip:${INSTANCE_IP} \
|
||||
--bootnodes ${bootnodes} --syncmode full \
|
||||
--datadir /work/xdcchain --networkid 551 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue