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

Nethereum C# FilterInput.GetAllChanges always empty

1  Asked on February 12, 2021 by exaltedoil


Testing Gas Token on testnet failing transaction

0  Asked on February 9, 2021 by marr


I am unable to install web3 on my mac

1  Asked on February 5, 2021 by saiteja-kuruva


Out of stack DUP2 1/1024 when adding string to parameter

0  Asked on February 1, 2021 by koukotsu


How to find contract’s address?

6  Asked on January 31, 2021 by user3280964


Import error in Truffle Pet Shop tutorial

1  Asked on January 29, 2021 by xpain


Timeout w/ Mocha on deploying a contract

2  Asked on January 26, 2021 by tulun


How to send ERC20 token to smart contract in constructor

1  Asked on January 24, 2021 by user938363


Deploy bytecode

1  Asked on January 19, 2021 by william-entriken


Ask a Question

Get help from others!

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