Ethereum Asked by Harpreet Singh on November 27, 2021
I am running a private ethereum node with a single node.
and it creates a folder for the keystore and chaindata But on restart, all the data is gone even the balance as well.
init genesis.json
is occurred only once and later only this:
geth –gcmode archive –port 3000 –networkid 15 –nodiscover –datadir=./block-data –maxpeers=2 –rpc –rpcaddr 0.0.0.0 –rpcport 8545 –rpccorsdomain “*” –rpcapi “eth,net,web3,personal,miner” –allow-insecure-unlock
Well, I got the solution, when you run the network its saves keychain and nodedata on --datadir. To make the data available while restarting the network 2 points are important :
Answered by Harpreet Singh on November 27, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP