-
Notifications
You must be signed in to change notification settings - Fork 38.7k
compat: document code in compat.h #25493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
f558168 to
ae2db1c
Compare
|
Concept ACK |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
vasild
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK ae2db1c4764e2ab0e027c9526ba51c5330bb8b1e
ae2db1c to
5cb0589
Compare
vasild
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 5cb0589c2159c50d3f5d2f7b22287446a54a1070
|
We will need to update the minisketch subtree, to accomodate the |
5cb0589 to
a43777b
Compare
|
For now I've rebased this on top of a minisketch subtree update, and a cherry-pick of bitcoin-core/minisketch#66; that way we'll get a run against the MSVC CI. I've also added a commit to use the SSIZE_T change in our code. Once that PR is merged, I'll open a PR to update the subtree in our repo. Once that is merged, I'll rebase this. |
28a28a0 Squashed 'src/minisketch/' changes from 7eeb778fef..47f0a2d26f (fanquake) Pull request description: Contains: * bitcoin-core/minisketch#65 * bitcoin-core/minisketch#66 Required for #25493. ACKs for top commit: achow101: ACK dc375e5 hebasto: ACK dc375e5, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: fbcd6cdc551770ff67d1df65ab171ce43c9eb7e7668da76da5c5b06865ed550527abcff661741a86c1535018a85a165619ff94ae3e6c7a695374b6c4f843c5ca
28a28a0 Squashed 'src/minisketch/' changes from 7eeb778fef..47f0a2d26f (fanquake) Pull request description: Contains: * bitcoin-core/minisketch#65 * bitcoin-core/minisketch#66 Required for bitcoin#25493. ACKs for top commit: achow101: ACK dc375e5 hebasto: ACK dc375e5, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: fbcd6cdc551770ff67d1df65ab171ce43c9eb7e7668da76da5c5b06865ed550527abcff661741a86c1535018a85a165619ff94ae3e6c7a695374b6c4f843c5ca
a43777b to
18ce5f9
Compare
vasild
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 18ce5f990d7a2ae5815d09c87be5db7f5d86c1e7
18ce5f9 to
bdbdfe0
Compare
vasild
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK bdbdfe074b7c54268ec813f5092ce722d6cc5899
bdbdfe0 to
122c242
Compare
vasild
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 122c242cae6e459ab58f2ef0ef53e2f8db6fa363
hebasto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 122c242cae6e459ab58f2ef0ef53e2f8db6fa363
The S_IRUSR and S_IWUSR macro are used in src/wallet/bdb.cpp which requires to #include <compat/compat.h>. Maybe #include <sys/stat.h> could be moved from src/wallet/bdb.cpp into compat/compat.h as well.
122c242 to
56470a1
Compare
Rebased and incorporated this change. |
|
I would expect non-standard headers to be included in
The commit message of 3a865ea692cc46a68816dbd84f7254f4390a4f42 |
56470a1 to
f7dc992
Compare
|
Ok. I've just reverted Hebastos suggestion for now. If someone wants to go an massage the headers later (with IWYU), they can. However doing that is unrelated to adding documentation. |
vasild
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK f7dc992
hebasto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
re-ACK f7dc992
Move
compat.hintocompat/, and document what is in there.