![]() |
Bitcoin Core
28.1.0
P2P Digital Currency
|
#include <config/bitcoin-config.h>#include <chainparams.h>#include <clientversion.h>#include <common/args.h>#include <common/init.h>#include <common/system.h>#include <compat/compat.h>#include <init.h>#include <interfaces/chain.h>#include <interfaces/init.h>#include <kernel/context.h>#include <node/context.h>#include <node/interface_ui.h>#include <node/warnings.h>#include <noui.h>#include <util/check.h>#include <util/exception.h>#include <util/signalinterrupt.h>#include <util/strencodings.h>#include <util/syserror.h>#include <util/threadnames.h>#include <util/tokenpipe.h>#include <util/translation.h>#include <any>#include <functional>#include <optional>Go to the source code of this file.
Functions | |
| static bool | ParseArgs (ArgsManager &args, int argc, char *argv[]) |
| static bool | ProcessInitCommands (ArgsManager &args) |
| static bool | AppInit (NodeContext &node) |
| if (!init) | |
| SetupEnvironment () | |
| noui_connect () | |
| if (!ParseArgs(args, argc, argv)) return EXIT_FAILURE | |
| if (ProcessInitCommands(args)) return EXIT_SUCCESS | |
| if (!AppInit(node)||!Assert(node.shutdown) ->wait()) | |
| Interrupt (node) | |
| Shutdown (node) | |
Variables | |
| const std::function< std::string(const char *)> | G_TRANSLATION_FUN = nullptr |
| Translate string to current locale using Qt. More... | |
| MAIN_FUNCTION | |
| int | exit_status |
| std::unique_ptr< interfaces::Init > | init = interfaces::MakeNodeInit(node, argc, argv, exit_status) |
| ArgsManager & | args = *Assert(node.args) |
|
static |
| if | ( | ! | init | ) |
Definition at line 258 of file bitcoind.cpp.
| if | ( | ! | ParseArgsargs, argc, argv | ) |
| if | ( | ProcessInitCommands(args) | ) |
| if | ( | ! | AppInitnode)||!Assert(node.shutdown) ->wait( | ) |
Definition at line 276 of file bitcoind.cpp.
| Interrupt | ( | node | ) |
|
static |
|
static |
| SetupEnvironment | ( | ) |
Definition at line 59 of file system.cpp.
| Shutdown | ( | node | ) |
| ArgsManager& args = *Assert(node.args) |
Definition at line 270 of file bitcoind.cpp.
| return node exit_status |
Definition at line 256 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 37 of file bitcoind.cpp.
| std::unique_ptr<interfaces::Init> init = interfaces::MakeNodeInit(node, argc, argv, exit_status) |
Definition at line 257 of file bitcoind.cpp.
| MAIN_FUNCTION |
Definition at line 249 of file bitcoind.cpp.
1.8.14