mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-23 15:20:49 +01:00
Name has been confusing since it was introduced, and it was pointed in recent review club as https://bitcoincore.reviews/10102 that it was particularly unclear how interfaces::WalletClient was different from interfaces::Wallet. -BEGIN VERIFY SCRIPT- ren() { git grep -l "$1" src | xargs sed -i "s/$1/$2/g"; } ren WalletClient WalletLoader ren walletClient walletLoader ren wallet_client wallet_loader ren "wallet clients release the wallet" "wallet pointer owners release the wallet" ren "wallet client" "wallet loader" ren "Wallet client" "Wallet loader" -END VERIFY SCRIPT-
17 lines
671 B
C++
17 lines
671 B
C++
// 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/chain.h>
|
|
#include <interfaces/echo.h>
|
|
#include <interfaces/init.h>
|
|
#include <interfaces/node.h>
|
|
#include <interfaces/wallet.h>
|
|
|
|
namespace interfaces {
|
|
std::unique_ptr<Node> Init::makeNode() { return {}; }
|
|
std::unique_ptr<Chain> Init::makeChain() { return {}; }
|
|
std::unique_ptr<WalletLoader> Init::makeWalletLoader(Chain& chain) { return {}; }
|
|
std::unique_ptr<Echo> Init::makeEcho() { return {}; }
|
|
Ipc* Init::ipc() { return nullptr; }
|
|
} // namespace interfaces
|