From d1b03b8e5f04a2cc9ebb985bd9a1aebd2068f757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Barbosa?= Date: Sat, 22 Sep 2018 00:53:25 +0100 Subject: interfaces: Add getWalletDir and listWalletDir to Node --- src/interfaces/node.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/interfaces/node.h') 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 listWalletDir() = 0; + //! Return interfaces for accessing wallets (if any). virtual std::vector> getWallets() = 0; -- cgit v1.2.3