aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/chain.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <[email protected]>2017-05-30 15:55:17 -0400
committerRussell Yanofsky <[email protected]>2018-11-06 11:44:40 -0400
commit7e2e62cf7c513bd7d8e784069c5534fda1c50c52 (patch)
tree7b2fe6a1f88af4c59e2e1bee7b2b6d4978b23594 /src/interfaces/chain.cpp
parentMerge #14619: tests: Fix value display name in test_runner help text (diff)
downloaddiscoin-7e2e62cf7c513bd7d8e784069c5534fda1c50c52.tar.xz
discoin-7e2e62cf7c513bd7d8e784069c5534fda1c50c52.zip
Add skeleton chain and client classes
This commit does not change behavior. It just adds new skeleton classes that don't do anything and aren't instantiated yet.
Diffstat (limited to 'src/interfaces/chain.cpp')
-rw-r--r--src/interfaces/chain.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/interfaces/chain.cpp b/src/interfaces/chain.cpp
new file mode 100644
index 000000000..28b36717d
--- /dev/null
+++ b/src/interfaces/chain.cpp
@@ -0,0 +1,20 @@
+// Copyright (c) 2018 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/chain.h>
+
+#include <util/system.h>
+
+namespace interfaces {
+namespace {
+
+class ChainImpl : public Chain
+{
+};
+
+} // namespace
+
+std::unique_ptr<Chain> MakeChain() { return MakeUnique<ChainImpl>(); }
+
+} // namespace interfaces