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
- Branch
- proof-id-set
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 20090 Build 39867: Build Diff build-without-wallet · build-diff · lint-circular-dependencies · build-debug · build-clang · build-clang-tidy Build 39866: arc lint + arc unit
Event Timeline
src/avalanche/proofpool.cpp | ||
---|---|---|
9 | IMO this indicates that ProofIdSet belongs to proofpool.h and not ProofId.h |
src/avalanche/proofpool.cpp | ||
---|---|---|
9 | 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 | For 2 reasons:
|