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?

1 Answer 1

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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