chia-blockchain/chia/clvm
Arvid Norberg 8dbfc4840a
enable soft-fork2 conditions (incl. ASSERT_BEFORE) (#14733)
* enable soft-fork2

* add blockchain (consensus) test for time-lock conditions (non-ephemeral spend)

* introduce new soft-fork rule to compare ASSERT_SECONDS_* conditions against the previous transaction block's timestamp (to be consistent with ASSERT_HEIGHT_* conditions)

* bump chia_rs. This updates the mempool rules to disallow relative height- and time conditions on ephemeral coin spends

* implement assert_before in mempool_check_time_locks. Extend ephemeral coin test in blockchain with assert_before conditions

* implement support for assert_before conditions in compute_assert_height()

* support assert-before in mempool

* add timelock rule

* address review comments
2023-03-23 11:30:10 -05:00
..
__init__.py chia|tests|pre-commit: Add missing __init__.py files (#8758) 2021-12-16 18:52:46 -08:00
singleton.py configure isort to add the future annotations import (#13327) 2022-09-30 03:40:22 -05:00
spend_sim.py enable soft-fork2 conditions (incl. ASSERT_BEFORE) (#14733) 2023-03-23 11:30:10 -05:00