-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
good first issueGood for newcomersGood for newcomers
Description
We need this for block consensus programs, for the difficulty adjustment.
Needed operations:
- equality
- comparision (less than)
- addition
-
subtractionmaybe not needed -
multiplication of a u160 with a u32 (asserting no overflow)maybe not needed - multiplication of two u160s (asserting no overflow)
- division -- Handled through non-deterministic input and above operations.
The compiler should be able to handle this as well through an array of 5 u32s.
Co-authored-by: @Sword-Smith
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers