Bitcoin Core  24.99.0
P2P Digital Currency
Functions | Variables
bitcoind.cpp File Reference
#include <chainparams.h>
#include <clientversion.h>
#include <common/init.h>
#include <common/url.h>
#include <compat/compat.h>
#include <init.h>
#include <interfaces/chain.h>
#include <interfaces/init.h>
#include <node/context.h>
#include <node/interface_ui.h>
#include <noui.h>
#include <shutdown.h>
#include <util/check.h>
#include <util/exception.h>
#include <util/strencodings.h>
#include <util/syscall_sandbox.h>
#include <util/syserror.h>
#include <util/system.h>
#include <util/threadnames.h>
#include <util/tokenpipe.h>
#include <util/translation.h>
#include <any>
#include <functional>
#include <optional>
Include dependency graph for bitcoind.cpp:

Go to the source code of this file.


static bool AppInit (NodeContext &node, int argc, char *argv[])
 if (!init)
 SetupEnvironment ()
 noui_connect ()
 return (AppInit(node, argc, argv) ? EXIT_SUCCESS :EXIT_FAILURE)


const std::function< std::string(const char *)> G_TRANSLATION_FUN = nullptr
 Translate string to current locale using Qt. More...
UrlDecodeFn *const URL_DECODE = urlDecode
int exit_status
std::unique_ptr< interfaces::Initinit = interfaces::MakeNodeInit(node, argc, argv, exit_status)

Function Documentation

◆ AppInit()

static bool AppInit ( NodeContext node,
int  argc,
char *  argv[] 

Definition at line 114 of file bitcoind.cpp.

Here is the call graph for this function:

◆ if()

if ( init)

Definition at line 257 of file bitcoind.cpp.

◆ noui_connect()

noui_connect ( )

Definition at line 59 of file noui.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ return()

return ( AppInit(node, argc, argv) ? EXIT_SUCCESS :EXIT_FAILURE  )
Here is the caller graph for this function:

◆ SetupEnvironment()

SetupEnvironment ( )

Definition at line 1294 of file system.cpp.

Variable Documentation

◆ exit_status

int exit_status

Definition at line 255 of file bitcoind.cpp.


const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr

Translate string to current locale using Qt.

Translate a message to the native language of the user.

Definition at line 38 of file bitcoind.cpp.

◆ init

std::unique_ptr<interfaces::Init> init = interfaces::MakeNodeInit(node, argc, argv, exit_status)

Definition at line 256 of file bitcoind.cpp.


Initial value:
Definition: init.h:25
NodeContext struct containing references to chain state and connection state.
Definition: context.h:43

Definition at line 247 of file bitcoind.cpp.


UrlDecodeFn* const URL_DECODE = urlDecode

Definition at line 39 of file bitcoind.cpp.