Does this mean that if an attack occurs just before a checkpoint It gets locked in forever?
Discussion
it would appear so, but no attack has hurt monero
No, the developers can roll back a checkpoint.
Well, if that's the state of the chain, at the time, I don't see how they can avoid putting it in, because if they roll it back, they have to roll back the chain and break the trust of their users in their system. Can you ever imagine if, like, Bitcoin did this and said, oh, the last 3000 blocks are invalid. Yeah, I can't either.