0

I modified go-ethereum source code and built it. I am wondering if I want to test and run geth with the modified source code in mainnet or testnet, and how it works in the mainnet or testnet.

  1. How to test the modified source in mainnet or testnet
  2. How it works with modified source in mainnet or testnet
  • 2
    This question is very wide, it would depends on the lines of code you modified and if those affect to the way geth interacts with mainnet/testnet or not. For instance, you could have modified geth to write down in a file log traces about sync status and that would not affect the correctness of your local node. In flipside, if you modify the validation algorithm it might be a completely different escenario – Gabriel G. Dec 6 '19 at 15:15
  • 1
    Depending on your modifications it might just work. If the changes are compatible with the network you will have no problem, if they aren't compatible then after some time your node will be kicked by the other nodes. – Ismael Dec 6 '19 at 18:35
  • I am still confused with modification in my side and it will be affected to the nodes in mainnet/testnet. Which source modification is acceptable or not. Could you explain it in detail how it affects in existing network? What do you mean by depending on modifications which is compatible or not? Thanks. – JongH Dec 6 '19 at 20:32
  • 1
    What does "it" refer to in the title and question 2? Geth? – Ann Kilzer Dec 7 '19 at 9:44
  • It refers to the geth in mainnet/testnet. – JongH Dec 7 '19 at 20:59

Your Answer

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

Browse other questions tagged or ask your own question.