diff options
| author | Russell Yanofsky <[email protected]> | 2017-05-30 15:55:17 -0400 |
|---|---|---|
| committer | Russell Yanofsky <[email protected]> | 2018-11-06 11:44:40 -0400 |
| commit | 7e2e62cf7c513bd7d8e784069c5534fda1c50c52 (patch) | |
| tree | 7b2fe6a1f88af4c59e2e1bee7b2b6d4978b23594 /src/interfaces/chain.cpp | |
| parent | Merge #14619: tests: Fix value display name in test_runner help text (diff) | |
| download | discoin-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.cpp | 20 |
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 |