Skip to content

Commit f4652bf

Browse files
committed
refactor: add missing includes to external signer code
1 parent 54569cc commit f4652bf

File tree

5 files changed

+19
-2
lines changed

5 files changed

+19
-2
lines changed

src/external_signer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
#include <util/system.h>
1010
#include <external_signer.h>
1111

12+
#include <string>
13+
#include <vector>
14+
1215
#ifdef ENABLE_EXTERNAL_SIGNER
1316

1417
ExternalSigner::ExternalSigner(const std::string& command, const std::string& fingerprint, std::string chain, std::string name): m_command(command), m_fingerprint(fingerprint), m_chain(chain), m_name(name) {}

src/external_signer.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
#ifndef BITCOIN_EXTERNAL_SIGNER_H
66
#define BITCOIN_EXTERNAL_SIGNER_H
77

8-
#include <stdexcept>
9-
#include <string>
108
#include <univalue.h>
119
#include <util/system.h>
1210

11+
#include <stdexcept>
12+
#include <string>
13+
#include <vector>
14+
1315
#ifdef ENABLE_EXTERNAL_SIGNER
1416

1517
struct PartiallySignedTransaction;

src/rpc/external_signer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
#include <util/strencodings.h>
1010
#include <rpc/protocol.h>
1111

12+
#include <string>
13+
#include <vector>
14+
1215
#ifdef ENABLE_EXTERNAL_SIGNER
1316

1417
static RPCHelpMan enumeratesigners()

src/wallet/external_signer_scriptpubkeyman.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
#include <external_signer.h>
77
#include <wallet/external_signer_scriptpubkeyman.h>
88

9+
#include <iostream>
10+
#include <memory>
11+
#include <stdexcept>
12+
#include <string>
13+
#include <utility>
14+
#include <vector>
15+
916
#ifdef ENABLE_EXTERNAL_SIGNER
1017

1118
bool ExternalSignerScriptPubKeyMan::SetupDescriptor(std::unique_ptr<Descriptor> desc)

src/wallet/external_signer_scriptpubkeyman.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
#ifdef ENABLE_EXTERNAL_SIGNER
99
#include <wallet/scriptpubkeyman.h>
1010

11+
#include <memory>
12+
1113
class ExternalSignerScriptPubKeyMan : public DescriptorScriptPubKeyMan
1214
{
1315
public:

0 commit comments

Comments
 (0)