Another reason why alternative implementations are so important. Nice catch, libcoin.
Now you would expect some code enforcing that only an input of that name can be update to another value - but NO!
It's just a hardfork that needs to be done in order to enforce the rules, no?
Well, it will be awfully hard to administer such a hardfork - either you reorganize all the way back to block 139872,
Oh come on now, that's not difficult at all. And calling it "reorganization" makes it sound more difficult and complicated than it really is. The rule is simple: trust the difficultywise-longest chain that obeys the validation rules. You found an epic bug in the check for the "obeys the validation rules" part. Fix that bug and the system will do the right thing.
Nothing actually gets
reorganized, which is why this terminology makes no sense. You simply
ignore blocks that aren't on the difficultywise-longest valid chain.
A lot of miners will lose a lot of block rewards, but they'll get over it. Any legitimate transactions mined into the invalid chain will be remined.