tari-project / triptych

BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

chore: use an `enum` for operation timing #55

Closed AaronFeickert closed 7 months ago

AaronFeickert commented 7 months ago

This PR moves operation timing from a bool to a custom enum. This adds clarity and also encourages the use of match to ensure both constant- and variable-time functionality are handled.