Page MenuHomePhabricator

scripted-diff: Move bloom to src/common
ClosedPublic

Authored by PiRK on Apr 5 2024, 08:53.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC9180dfe4aa82: 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