5#ifndef BITCOIN_INTERFACES_INIT_H
6#define BITCOIN_INTERFACES_INIT_H
34 virtual std::unique_ptr<Node>
makeNode() {
return nullptr; }
35 virtual std::unique_ptr<Chain>
makeChain() {
return nullptr; }
36 virtual std::unique_ptr<Mining>
makeMining() {
return nullptr; }
38 virtual std::unique_ptr<Echo>
makeEcho() {
return nullptr; }
39 virtual Ipc*
ipc() {
return nullptr; }
41 virtual const char*
exeName() {
return nullptr; }
42 virtual void makeMiningOld2() {
throw std::runtime_error(
"Old mining interface (@2) not supported. Please update your client!"); }
57std::unique_ptr<Init>
MakeGuiInit(
int argc,
char* argv[]);
virtual std::unique_ptr< Echo > makeEcho()
virtual std::unique_ptr< Chain > makeChain()
virtual bool canListenIpc()
virtual std::unique_ptr< Node > makeNode()
virtual std::unique_ptr< Mining > makeMining()
virtual const char * exeName()
virtual std::unique_ptr< WalletLoader > makeWalletLoader(Chain &chain)
virtual void makeMiningOld2()
std::unique_ptr< Init > MakeGuiInit(int argc, char *argv[])
Return implementation of Init interface for the gui process.
std::unique_ptr< Init > MakeNodeInit(node::NodeContext &node, int argc, char *argv[], int &exit_status)
std::unique_ptr< Init > MakeWalletInit(int argc, char *argv[], int &exit_status)
Return implementation of Init interface for the wallet process.