Skip to content

Commit fa8f60e

Browse files
author
MarcoFalke
committed
scripted-diff: Move minisketchwrapper to src/node
-BEGIN VERIFY SCRIPT- # Move module git mv src/minisketchwrapper.cpp src/node/ git mv src/minisketchwrapper.h src/node/ # Replacements sed -i 's:minisketchwrapper:node/minisketchwrapper:g' $(git grep -l minisketchwrapper) sed -i 's:MINISKETCHWRAPPER_H:NODE_MINISKETCHWRAPPER_H:g' $(git grep -l MINISKETCHWRAPPER_H) sed -i 's:DBWRAPPER_H:NODE_MINISKETCHWRAPPER_H:g' ./src/node/minisketchwrapper.h -END VERIFY SCRIPT-
1 parent 1ff265a commit fa8f60e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ BITCOIN_CORE_H = \
167167
memusage.h \
168168
merkleblock.h \
169169
miner.h \
170-
minisketchwrapper.h \
170+
node/minisketchwrapper.h \
171171
net.h \
172172
net_permissions.h \
173173
net_processing.h \
@@ -335,7 +335,7 @@ libbitcoin_server_a_SOURCES = \
335335
init.cpp \
336336
mapport.cpp \
337337
miner.cpp \
338-
minisketchwrapper.cpp \
338+
node/minisketchwrapper.cpp \
339339
net.cpp \
340340
net_processing.cpp \
341341
node/blockstorage.cpp \

src/minisketchwrapper.cpp renamed to src/node/minisketchwrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#include <minisketchwrapper.h>
5+
#include <node/minisketchwrapper.h>
66

77
#include <logging.h>
88
#include <util/time.h>

src/minisketchwrapper.h renamed to src/node/minisketchwrapper.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

5-
#ifndef BITCOIN_MINISKETCHWRAPPER_H
6-
#define BITCOIN_MINISKETCHWRAPPER_H
5+
#ifndef BITCOIN_NODE_MINISKETCHWRAPPER_H
6+
#define BITCOIN_NODE_MINISKETCHWRAPPER_H
77

88
#include <minisketch.h>
99
#include <cstddef>
@@ -14,4 +14,4 @@ Minisketch MakeMinisketch32(size_t capacity);
1414
/** Wrapper around Minisketch::CreateFP. */
1515
Minisketch MakeMinisketch32FP(size_t max_elements, uint32_t fpbits);
1616

17-
#endif // BITCOIN_DBWRAPPER_H
17+
#endif // BITCOIN_NODE_MINISKETCHWRAPPER_H

src/test/minisketch_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

55
#include <minisketch.h>
6-
#include <minisketchwrapper.h>
6+
#include <node/minisketchwrapper.h>
77
#include <random.h>
88
#include <test/util/setup_common.h>
99

0 commit comments

Comments
 (0)