mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-24 10:17:45 -03:00
d5f985e51f
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.
12 lines
389 B
C++
12 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
|