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.
This commit is contained in:
Russell Yanofsky
2017-05-30 15:55:17 -04:00
parent 6af27b8157
commit 7e2e62cf7c
6 changed files with 98 additions and 8 deletions

20
src/interfaces/chain.cpp Normal file
View File

@@ -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