part of private blockchain disapear

Ethereum Asked by Tomas Batrla on January 5, 2022

I have a private blockchain, mined by one ec2 instance. When I restart the instance, significant part of the chain disappear with all transaction and contracts on it. How can I prevent this?

One Answer

Please ensure you are using the same network ID and other parameters of the geth, while using the geth command, when you want to access your network over the console each time. If you alter the network ID or the datadir, it will not use the existing contents of the Blockchain

Answered by Jagdish0886 on January 5, 2022

Add your own answers!

Related Questions

Storing data on IPFS using KMS and ethereum

2  Asked on November 20, 2020 by prateek-shrivastava


Truffle test: error when passing more than one file as input

1  Asked on November 4, 2020 by goodvibration


Ropsten infura test network + web3 js event listener

2  Asked on October 26, 2020 by kapil


Does ASIC miner works in ETH and ETC

2  Asked on October 24, 2020 by shubham-panchal


Plug and Play Contracts

1  Asked on October 24, 2020 by daniel-silveira


Call deployed smart contract from web3.js

2  Asked on October 23, 2020 by chun-wei-chiang


Massive Download [ETH] smart contracts

2  Asked on October 13, 2020 by chris-russo


Can I use approve/transferfrom function for ETH coin?

1  Asked on September 1, 2020 by ikaop


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP