Commit Graph

12 Commits

Author SHA1 Message Date
TomZ 7593d06473 Use blockheight to enable historical features
We used various ways to enable new features over the last 10 years.
We can remove that legacy code and just set the blockheight.

This cleans up the code quite a bit.
2019-10-14 19:24:19 +02:00
TomZ 3fc088a76d Add 2019-11 HF activation mechanism. 2019-10-08 14:24:22 +02:00
TomZ f868a8274e Make all protocol upgrades equal.
The "UAHF" one used to be "more equal", mostly just because it happened
to be the first.
This makes them all equally equal.

Specifically this removes the special casing and the enum for the 201708
HF (aka BCH fork-point).
We select the right branch now purely based on the historical check-
points.
2019-06-02 13:57:47 +02:00
TomZ 5996205a07 add checkpoint and set PU blockheight 2019-05-15 20:44:47 +02:00
TomZ 2577b6f7ef Merge branch 'may19PU' 2019-04-22 12:51:07 +02:00
TomZ d8b9d79f2f Use block-height for DAA PU (201711) 2019-04-21 17:41:47 +02:00
TomZ f23aa69a86 Detect the 2019-09 protocol upgrade 2019-04-17 16:02:54 +02:00
TomZ 3e3f8843f3 Remove the optional replay protection feature
Its sundown has passed, so the code is now effectively dead.
2018-11-29 23:13:48 +01:00
TomZ 2ef243a43a Add more basic support for the novHF
this adds sigop counting for the new opcodes and
flags enabling based on block-height.
2018-11-08 17:37:22 +01:00
TomZ b8a6c54a51 Make block-height hard fork detection easy 2018-11-03 19:31:22 +01:00
DesWurstes c9e9e19698 Add Sha256D64 to Merkle root calculation 2018-08-12 10:27:40 +03:00
TomZ 14bf96aa3c Start libs/server 2018-02-13 13:27:58 +01:00