diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-09-22 00:53:25 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2018-10-18 23:26:06 +0100 |
commit | d1b03b8e5f04a2cc9ebb985bd9a1aebd2068f757 (patch) | |
tree | 15591cb226059861f5aaec4777dbc6c57de0af47 /src/interfaces/node.h | |
parent | fc4db35bfd78d85d6b52d5da3d89696160658450 (diff) | |
download | bitcoin-d1b03b8e5f04a2cc9ebb985bd9a1aebd2068f757.tar.xz |
interfaces: Add getWalletDir and listWalletDir to Node
Diffstat (limited to 'src/interfaces/node.h')
-rw-r--r-- | src/interfaces/node.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interfaces/node.h b/src/interfaces/node.h index 8185c015a9..1f8bbbff7a 100644 --- a/src/interfaces/node.h +++ b/src/interfaces/node.h @@ -173,6 +173,12 @@ public: //! Get unspent outputs associated with a transaction. virtual bool getUnspentOutput(const COutPoint& output, Coin& coin) = 0; + //! Return default wallet directory. + virtual std::string getWalletDir() = 0; + + //! Return available wallets in wallet directory. + virtual std::vector<std::string> listWalletDir() = 0; + //! Return interfaces for accessing wallets (if any). virtual std::vector<std::unique_ptr<Wallet>> getWallets() = 0; |