Skip to content

Commit 044a98a

Browse files
committed
refactor: removed unused includes
1 parent 2bca8c2 commit 044a98a

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/instantsend/instantsend.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
#include <chainparams.h>
88
#include <consensus/validation.h>
9-
#include <masternode/sync.h>
109
#include <node/blockstorage.h>
1110
#include <spork.h>
1211
#include <stats/client.h>

src/instantsend/instantsend.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,13 @@
99
#include <instantsend/lock.h>
1010

1111
#include <net_types.h>
12-
#include <primitives/transaction.h>
1312
#include <protocol.h>
1413
#include <saltedhasher.h>
1514
#include <sync.h>
1615
#include <threadsafety.h>
1716
#include <unordered_lru_cache.h>
1817

1918
#include <optional>
20-
#include <unordered_set>
2119
#include <vector>
2220

2321
class CBlockIndex;
@@ -30,6 +28,7 @@ struct LLMQParams;
3028
namespace util {
3129
struct DbWrapperParams;
3230
} // namespace util
31+
typedef std::shared_ptr<const CTransaction> CTransactionRef;
3332

3433
namespace instantsend {
3534

src/instantsend/signing.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@
66
#define BITCOIN_INSTANTSEND_SIGNING_H
77

88
#include <instantsend/lock.h>
9-
#include <instantsend/signing.h>
109
#include <llmq/signing.h>
11-
12-
#include <optional>
10+
#include <sync.h>
11+
#include <threadsafety.h>
1312

1413
class CMasternodeSync;
1514
class CSporkManager;

0 commit comments

Comments
 (0)