The main feature of this update is to fix validate_clvm_and_signature() to release the GIL. This was an oversight in the previous version where this function was first ported to rust. We are already using this function in a python thread in chia-blockchain.
Additionally, a few feature flags have been removed now (and enabled unconditionally) as soft0fork 4 and 5 as well as the hard fork have activated. This is reflected in chia-blockchain by removing all references to them.
Current Behavior:
the behavior of div depends on the block height
BLS operators are only available outside the softfork guard after the hard fork block height
public keys are allowed to be the infinity G1 point (and just ignored)
BLSCache.update() takes a list of (bytes, bytes)
New Behavior:
the behavior of div is correct, unconditionally
BLS operators are available outside the softfork guard unconditionally
public keys are not allowed to be the infinity G1 point
BLSCache.update() takes a list of (bytes, GTElement)
This PR is best reviewed one commit at a time.
Purpose:
Changes since last chia_rs release can be found here: https://github.com/Chia-Network/chia_rs/releases/tag/0.14.0
The main feature of this update is to fix
validate_clvm_and_signature()
to release the GIL. This was an oversight in the previous version where this function was first ported to rust. We are already using this function in a python thread inchia-blockchain
.Additionally, a few feature flags have been removed now (and enabled unconditionally) as soft0fork 4 and 5 as well as the hard fork have activated. This is reflected in chia-blockchain by removing all references to them.
Current Behavior:
div
depends on the block heightsoftfork
guard after the hard fork block heightBLSCache.update()
takes a list of(bytes, bytes)
New Behavior:
div
is correct, unconditionallysoftfork
guard unconditionallyBLSCache.update()
takes a list of(bytes, GTElement)