Move-only: bloom to src/common#23137
Merged
fanquake merged 3 commits intobitcoin:masterfrom Oct 21, 2021
Merged
Conversation
Member
Author
|
See also #22951 (which has a minor conflict in one adjacent line). |
Contributor
|
Concept ACK |
1 similar comment
Contributor
|
Concept ACK |
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
added 3 commits
October 5, 2021 11:08
-BEGIN VERIFY SCRIPT- # Move to directory mkdir src/common git mv src/bloom.cpp src/common/ git mv src/bloom.h src/common/ # Replace occurrences sed -i 's|\<bloom\.cpp\>|common/bloom.cpp|g' $(git grep -l 'bloom.cpp') sed -i 's|\<bloom\.h\>|common/bloom.h|g' $(git grep -l 'bloom.h') sed -i 's|BITCOIN_BLOOM_H|BITCOIN_COMMON_BLOOM_H|g' $(git grep -l 'BLOOM_H') -END VERIFY SCRIPT-
fa762d0 to
fa2d611
Compare
hebasto
reviewed
Oct 10, 2021
| CDataStream stream(SER_NETWORK, PROTOCOL_VERSION); | ||
| stream << outpoint; | ||
| return contains(MakeUCharSpan(stream)); | ||
| return contains(stream); |
Member
Member
Author
There was a problem hiding this comment.
There was simply no reason to add it. cc @fanquake
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To avoid having all files at the top level
./srcdirectory, start moving them to their respective sub directory according to #15732.bloomcurrently depends on libconsensus (CTransaction,CScript, ...) and it is currently located in the libcommon. Thus, move it tosrc/common/. (libutil insrc/util/is for stuff that doesn't depend on libconsensus).