refactor: add missing includes to external signer code

This commit is contained in:
fanquake 2021-04-13 15:02:10 +08:00
parent 54569cc6d6
commit f4652bf125
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1
5 changed files with 19 additions and 2 deletions

View file

@ -9,6 +9,9 @@
#include <util/system.h>
#include <external_signer.h>
#include <string>
#include <vector>
#ifdef ENABLE_EXTERNAL_SIGNER
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) {}

View file

@ -5,11 +5,13 @@
#ifndef BITCOIN_EXTERNAL_SIGNER_H
#define BITCOIN_EXTERNAL_SIGNER_H
#include <stdexcept>
#include <string>
#include <univalue.h>
#include <util/system.h>
#include <stdexcept>
#include <string>
#include <vector>
#ifdef ENABLE_EXTERNAL_SIGNER
struct PartiallySignedTransaction;

View file

@ -9,6 +9,9 @@
#include <util/strencodings.h>
#include <rpc/protocol.h>
#include <string>
#include <vector>
#ifdef ENABLE_EXTERNAL_SIGNER
static RPCHelpMan enumeratesigners()

View file

@ -6,6 +6,13 @@
#include <external_signer.h>
#include <wallet/external_signer_scriptpubkeyman.h>
#include <iostream>
#include <memory>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#ifdef ENABLE_EXTERNAL_SIGNER
bool ExternalSignerScriptPubKeyMan::SetupDescriptor(std::unique_ptr<Descriptor> desc)

View file

@ -8,6 +8,8 @@
#ifdef ENABLE_EXTERNAL_SIGNER
#include <wallet/scriptpubkeyman.h>
#include <memory>
class ExternalSignerScriptPubKeyMan : public DescriptorScriptPubKeyMan
{
public: