-
Notifications
You must be signed in to change notification settings - Fork 36.6k
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
compat: document code in compat.h #25493
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. |
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 ae2db1c
ae2db1c
to
5cb0589
Compare
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 5cb0589
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 sipa/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: * sipa/minisketch#65 * sipa/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: * sipa/minisketch#65 * sipa/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
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 18ce5f9
18ce5f9
to
bdbdfe0
Compare
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 bdbdfe0
bdbdfe0
to
122c242
Compare
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 122c242
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 122c242
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 3a865ea |
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. |
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
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.h
intocompat/
, and document what is in there.