Just in case there will be some time a XMR Classic fork ...

Are there any technical solutions in the protocol to prevent replay-attacks after a hard fork?

Is there any possibility to distinguish whether a receiver’s address is on an old chain or the most current chain with the most hash rate and greatest block height?

What happens with a transaction is sent to non-valid address?

  • 1
    If by "non-valid address" you mean one that has an invalid checksum, you can't, it will be rejected. If you mean one where no wallet has been created yet, pretty sure the coins will just sit there until someone (by luck/chance) creates a wallet using that address.
    – hyc
    Commented Aug 16, 2016 at 2:19
  • 1
    @hyc thank you for the answer about the not valid adresses. It is clear for me now. How about the other two questions?
    – Marusha
    Commented Aug 18, 2016 at 19:34

1 Answer 1


1) The blockchain can fork at any time. From what I've observed, it only gets as far as 1-2 blocks down a branch before a chain reorganization occurs and the canonical longest branch is restored. Meanwhile, as noted here Why does Monero prevent transactions from being spent without 10 confirmations? it takes 10 blocks before any output is spendable. I believe this is the mechanism that you're asking for.

2) Wallet addresses are their own separate entity, they aren't dependent on a particular chain.

3) Non-valid addresses (with an invalid checksum) are rejected.

  • 1
    I think what is being asked is: if the people on the forked chain do not resolve by updating to the longest chain, and the people on the second chain treat their chain as a second currency, then a tx on a chain can also be relayed to the other chain. Like what happened with Ethereum. In that case, the mechanism above is inoperative.
    – user36303
    Commented Aug 18, 2016 at 21:33
  • 1
    Ah, I see what you mean. But in order to do an actual hard fork they'd have to change the version number in their txs, so they wouldn't actually be able to relay across chains.
    – hyc
    Commented Aug 18, 2016 at 23:13
  • 3
    Changing tx version is one possible way to prevent the issue from happening, yes. But if Monero forked like it forked last time (the main change was the 2 minute block time), then it was possible. Monero did not change tx version. Block version was changed, but both new blocks and old blocks could include a tx coming from any fork.
    – user36303
    Commented Aug 19, 2016 at 7:44

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.