Skip to content

Commit

Permalink
merge bitcoin#23491: Move minisketchwrapper to src/node
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Oct 27, 2024
1 parent 25c3355 commit 49ef53c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ BITCOIN_CORE_H = \
memusage.h \
merkleblock.h \
messagesigner.h \
minisketchwrapper.h \
net.h \
net_permissions.h \
net_processing.h \
Expand All @@ -275,6 +274,7 @@ BITCOIN_CORE_H = \
node/context.h \
node/eviction.h \
node/miner.h \
node/minisketchwrapper.h \
node/psbt.h \
node/transaction.h \
node/ui_interface.h \
Expand Down Expand Up @@ -494,7 +494,6 @@ libbitcoin_server_a_SOURCES = \
masternode/payments.cpp \
masternode/sync.cpp \
masternode/utils.cpp \
minisketchwrapper.cpp \
net.cpp \
netfulfilledman.cpp \
netgroup.cpp \
Expand All @@ -507,6 +506,7 @@ libbitcoin_server_a_SOURCES = \
node/eviction.cpp \
node/interfaces.cpp \
node/miner.cpp \
node/minisketchwrapper.cpp \
node/psbt.cpp \
node/transaction.cpp \
node/ui_interface.cpp \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include <minisketchwrapper.h>
#include <node/minisketchwrapper.h>

#include <logging.h>
#include <util/time.h>
Expand Down
6 changes: 3 additions & 3 deletions src/minisketchwrapper.h → src/node/minisketchwrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#ifndef BITCOIN_MINISKETCHWRAPPER_H
#define BITCOIN_MINISKETCHWRAPPER_H
#ifndef BITCOIN_NODE_MINISKETCHWRAPPER_H
#define BITCOIN_NODE_MINISKETCHWRAPPER_H

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

#endif // BITCOIN_DBWRAPPER_H
#endif // BITCOIN_NODE_MINISKETCHWRAPPER_H
2 changes: 1 addition & 1 deletion src/test/minisketch_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include <minisketch.h>
#include <minisketchwrapper.h>
#include <node/minisketchwrapper.h>
#include <random.h>
#include <test/util/setup_common.h>

Expand Down

0 comments on commit 49ef53c

Please sign in to comment.