mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-28 13:02:38 +02:00

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.
13 lines
389 B
C++
13 lines
389 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/init.h>
|
|
|
|
namespace interfaces {
|
|
std::unique_ptr<Init> MakeWalletInit(int argc, char* argv[], int& exit_status)
|
|
{
|
|
return std::make_unique<Init>();
|
|
}
|
|
} // namespace interfaces
|