-
Notifications
You must be signed in to change notification settings - Fork 947
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
masp: implement remaining inflation logic
Inflation logic that works with 256-bit Amounts was deferred until now. We correct the implementation to adjust rewards for words above the lowest. (Rewards are only awarded in the lowest denomination of NAM, which is the only one used; if a reward exceeds i64::MAX, this is certainly an error.) For nonstandard (non-10^6) denominations, we must also perform an adjustment in decimal places. This will apply to ETH in reality, and our test ETH now.
- Loading branch information
Showing
12 changed files
with
462 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.