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
- Branch
- TS_amountToScore
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 18498 Build 36791: Build Diff build-clang-tidy · build-without-wallet · build-diff · lint-circular-dependencies · build-debug · build-clang Build 36790: arc lint + arc unit