0

I want my node to stay on the v6 hard fork and reject all new blocks from later versions. Is there a command to force my node to stay on that specific hard fork version or do I need to compile and run an old version of the daemon?

1 Answer 1

1

You can just remove version 7 and 8 from the testnet fork table near the top of src/cryptonote_core/blockchain.cpp (the last two lines as of this time). You will have to pop blocks first till v6 with the current binary (monero-blockchain-inmport --testnet --pop-blocks N), then make that change.

2
  • Thanks. I'll do that. I was looking for a solution that doesn't require changing the code. Commented Mar 20, 2018 at 17:45
  • Well, you can use --offline while still on v6, and avoid mining. That might be enough for your purposes.
    – user36303
    Commented Mar 20, 2018 at 17:53

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.