aboutsummaryrefslogtreecommitdiff
path: root/src/init/bitcoin-wallet.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-12-05 15:57:12 -0500
committerRussell Yanofsky <russ@yanofsky.org>2021-09-16 13:17:01 -0500
commitd5f985e51f2863fda0c0d632e836eba42a5c3e15 (patch)
treec2c31afc74dff9dc819662b64c76ce0398c62bbf /src/init/bitcoin-wallet.cpp
parent6ef84e0503994c53f77093e7ea5951a7b0edea7a (diff)
downloadbitcoin-d5f985e51f2863fda0c0d632e836eba42a5c3e15.tar.xz
multiprocess: Add new bitcoin-gui, bitcoin-qt, bitcoin-wallet init implementations
Add separate init implementations instead of sharing existing bitcoind and bitcoin-node ones, so they can start to be differentiated in upcoming commits with node and wallet code no longer linked into the bitcoin-gui binary and wallet code no longer linked into the bitcoin-node binary.
Diffstat (limited to 'src/init/bitcoin-wallet.cpp')
-rw-r--r--src/init/bitcoin-wallet.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/init/bitcoin-wallet.cpp b/src/init/bitcoin-wallet.cpp
new file mode 100644
index 0000000000..e9dcde72fe
--- /dev/null
+++ b/src/init/bitcoin-wallet.cpp
@@ -0,0 +1,12 @@
+// Copyright (c) 2021 The Bitcoin Core developers
+// Distributed under the MIT software license, see the accompanying
+// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#include <interfaces/init.h>
+
+namespace interfaces {
+std::unique_ptr<Init> MakeWalletInit(int argc, char* argv[], int& exit_status)
+{
+ return std::make_unique<Init>();
+}
+} // namespace interfaces