HomePhabricator

scripted-diff: Move bloom to src/common

Description

scripted-diff: Move bloom to src/common

Summary:

-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-

This concludes backport of core#23137
https://github.com/bitcoin/bitcoin/pull/23137/commits/fa1e5de2db2c7c95b96773a4ac231ab4249317e9

Depends on D15901

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D15902

Details

Provenance
PiRKAuthored on Apr 5 2024, 08:44
PiRKPushed on Apr 5 2024, 12:40
Reviewer
Restricted Project
Differential Revision
D15902: scripted-diff: Move bloom to src/common
Parents
rABCae2feb449f1d: bloom: use Span instead of std::vector for `insert` and `contains`
Branches
Unknown
Tags
Unknown