0

In quorum running raft consensus, what happens if one node attempts to modify the state via modifying the physical file? Assuming this is even possible in the first place.

Will the update be sync across the network? Or will the updated node have its change overwritten?

2

If the node mucks with its local DB, this node will fall out of sync with the blockchain and will not advance its chain anymore. This is unmodified from original Ethereum and is part of block validation process.

  • Thanks! Is there some way to restore and backup the state/localdb? Is it leveldb that we are using? – Nathan Aw Jul 27 '18 at 0:18
  • As mentioned in another reply, back up the --datadir that you write data to and thats sufficient. – fixanoid Jul 27 '18 at 2:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.