Repository navigation
CHIP-0011: BLS/SECP CLVM Operators and SOFTFORK Condition - #46
Conversation
Signed-off-by: danieljperry <d.perry@chia.net>
Signed-off-by: danieljperry <d.perry@chia.net>
|
No, let's keep it open while the CHIP is active. People can post their reviews as comments here. |
|
This video explains the details of this CHIP, including why we would like to add these operators and the technical details of how it would work: |
9de8b7d
|
This CHIP has been updated to include a tentative soft fork block height. It will be moved to |
|
This CHIP is now in |
|
The ability to verify secp256k1 and secp256r1 are now included with this CHIP. Please take a moment to review these additions and leave your thoughts here. |
|
Two new operators have been added, along with associated test cases:
Please review these additions at your convenience. |
The CHIP seems to indicates % as 61 and modpow as 60 |
|
Sorry about that. I transposed them in the comment, which I have now fixed. The CHIP itself is correct. |
|
|
||
| #### % | ||
|
|
||
| Opcode: 61 |
There was a problem hiding this comment.
Is this just meant to be a simpler (and cheaper) version of what divmod already handles?
There was a problem hiding this comment.
Any restrictions on negative numbers with %?
There was a problem hiding this comment.
Is this just meant to be a simpler (and cheaper) version of what
divmodalready handles?
Correct, this operator only gives the remainder, and the cost is slightly less than that of divmod.
There was a problem hiding this comment.
Any restrictions on negative numbers with
%?
Negative numbers are allowed. I have added a clarifying note to the CHIP.
|
This CHIP now includes the ability to add new CLVM conditions with cost. This functionality will become available after next year's hard fork. Currently, new conditions must have zero cost. Please review at your convenience. |
|
This CHIP is now in |
|
The activation height for the fork described in this CHIP is now set to 4,474,000. Nothing else has been changed. This CHIP will remain in |
|
We have to adjust the activation height for this CHIP once again, so I'm pulling it out of Last Call until we can determine a new height. Nothing else has changed with this CHIP. |
|
The soft fork activation height for this CHIP has been updated to 4,510,000 and the CHIP has been moved back into |
|
This CHIP is now |
Opening PR for consideration of the BLS Additions CHIP.