There are multiple places we want to convert an Amount of stake into a proof score, so pull that
logic into it's own helper function. Score computation logic in tested in the Avalanche unit tests,
which covers this behavior.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Maniphest Tasks
- Restricted Maniphest Task
- Commits
- rABC12185af8e7b6: [avalanche] Add helper function Proof::amountToScore().
ninja check-avalanche
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable