yancy
8b928a1515
Split checked_div_by_weight into floor and ceiling version
2024-11-07 16:28:44 -06:00
Tobin C. Harding
42e5043b33
Add from_int_btc group of functions
...
Add/update the from_int group of functions to provide one that errors
and one that is const and panics (errors in const context are not useful
because one cannot call `unwrap` in const context).
2024-11-02 10:19:03 +11:00
Tobin C. Harding
87c9a3fd11
amount: Format tests file
...
Done as a separate patch so that the diff of the verification code move
was less noisy.
2024-10-31 12:29:21 +11:00
Tobin C. Harding
e0bc68042d
amount: Move test code to submodule
...
In preparation for splitting the two amounts into separate files; move
the `amount` module code to a submodule.
Internal change only.
2024-10-31 12:29:20 +11:00