Passing around sets of proof ids is becoming more common with changes like D12013. Providing a type alias
for this just makes sense.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC2c4dd9196603: [avalanche] Create a type alias for proof id sets
ninja check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
src/avalanche/proofpool.cpp | ||
---|---|---|
9 ↗ | (On Diff #35056) | IMO this indicates that ProofIdSet belongs to proofpool.h and not ProofId.h |
src/avalanche/proofpool.cpp | ||
---|---|---|
9 ↗ | (On Diff #35056) | If you want a ProofIdSet for some other purpose than using a pool, then why would you pull in proofpool.h? ProofPool is currently the primary usage but this is not guaranteed so I don't see a compelling reason to put it there. |
src/avalanche/proofpool.cpp | ||
---|---|---|
9 ↗ | (On Diff #35056) | For 2 reasons:
|