0

Suppose in a private network setup , one node runs a standard geth client, and then we add another node to the network using a modified geth, where only the difficulty has been made static. Can this node be added successfully as a peer to the existing node in the network ? If yes , how will the consensus algorithm work if a differential difficulty exists in the network (I don't think its possible , but have doubts) . If no , what are the exact reasons for such a set up not working ?

1 Answer 1

0

It is not going to work. The difficulty is a part of the Hash of the block, and if your node has modified the difficulty, the hash will be different and its block won't be accepted by the other nodes in the network.

you can check the difficulty function in consensus/ethash/consensus.go file in go-ethereum source code

Your Answer

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

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