Final step towards CLTV deployment on mainnet.
I’ve copied the logic and tests from the previous BIP66 (DERSIG) soft-fork line-by-line for ease of review; any code review applicable to BIP66 should be applicable to BIP65.
Once merged I’ll prepare a backport of the soft-fork logic for the v0.10.x branch as well.