aboutsummaryrefslogtreecommitdiff
path: root/src/dummywallet.cpp
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-09-22 00:53:25 +0100
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-10-18 23:26:06 +0100
commitd1b03b8e5f04a2cc9ebb985bd9a1aebd2068f757 (patch)
tree15591cb226059861f5aaec4777dbc6c57de0af47 /src/dummywallet.cpp
parentfc4db35bfd78d85d6b52d5da3d89696160658450 (diff)
downloadbitcoin-d1b03b8e5f04a2cc9ebb985bd9a1aebd2068f757.tar.xz
interfaces: Add getWalletDir and listWalletDir to Node
Diffstat (limited to 'src/dummywallet.cpp')
-rw-r--r--src/dummywallet.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dummywallet.cpp b/src/dummywallet.cpp
index 3714187a96..3eb77354c1 100644
--- a/src/dummywallet.cpp
+++ b/src/dummywallet.cpp
@@ -34,6 +34,16 @@ void DummyWalletInit::AddWalletOptions() const
const WalletInitInterface& g_wallet_init_interface = DummyWalletInit();
+fs::path GetWalletDir()
+{
+ throw std::logic_error("Wallet function called in non-wallet build.");
+}
+
+std::vector<fs::path> ListWalletDir()
+{
+ throw std::logic_error("Wallet function called in non-wallet build.");
+}
+
std::vector<std::shared_ptr<CWallet>> GetWallets()
{
throw std::logic_error("Wallet function called in non-wallet build.");