![]() |
Bitcoin Core 32.1.0
P2P Digital Currency
|
#include <bitcoin-build-config.h>#include <arith_uint256.h>#include <chain.h>#include <chainparams.h>#include <chainparamsbase.h>#include <clientversion.h>#include <common/args.h>#include <common/license_info.h>#include <common/system.h>#include <compat/compat.h>#include <core_io.h>#include <crypto/sha256.h>#include <streams.h>#include <univalue.h>#include <util/exception.h>#include <util/strencodings.h>#include <util/translation.h>#include <atomic>#include <cstdio>#include <functional>#include <memory>#include <thread>Go to the source code of this file.
Functions | |
| static void | SetupBitcoinUtilArgs (ArgsManager &argsman) |
| static int | AppInitUtil (ArgsManager &args, int argc, char *argv[]) |
| static void | grind_task (uint32_t nBits, CBlockHeader header, uint32_t offset, uint32_t step, std::atomic< bool > &found, uint32_t &proposed_nonce) |
| static int | Grind (const std::vector< std::string > &args, std::string &strPrint) |
| static int | GetChainParams (const std::vector< std::string > &args, std::string &strPrint) |
| SetupEnvironment () | |
| SHA256AutoDetect () | |
| if (ret !=CONTINUE_EXECUTION) | |
| catch (const std::exception &e) | |
| catch (...) | |
| if (!cmd) | |
Variables | |
| static const int | CONTINUE_EXECUTION =-1 |
| const TranslateFn | G_TRANSLATION_FUN {nullptr} |
| MAIN_FUNCTION | |
| try | |
| const auto | cmd = args.GetCommand() |
| int | ret = EXIT_FAILURE |
| std::string | strPrint |
|
static |
Definition at line 48 of file bitcoin-util.cpp.
| catch | ( | ... | ) |
Definition at line 227 of file bitcoin-util.cpp.
| catch | ( | const std::exception & | e | ) |
Definition at line 224 of file bitcoin-util.cpp.
|
static |
Definition at line 156 of file bitcoin-util.cpp.
|
static |
Definition at line 117 of file bitcoin-util.cpp.
|
static |
Definition at line 92 of file bitcoin-util.cpp.
| if | ( | ! | cmd | ) |
| if | ( | ret ! | = CONTINUE_EXECUTION | ) |
Definition at line 221 of file bitcoin-util.cpp.
|
static |
Definition at line 34 of file bitcoin-util.cpp.
| SetupEnvironment | ( | ) |
Definition at line 58 of file system.cpp.
| SHA256AutoDetect | ( | ) |
| const auto cmd = args.GetCommand() |
Definition at line 232 of file bitcoin-util.cpp.
|
static |
Definition at line 30 of file bitcoin-util.cpp.
| const TranslateFn G_TRANSLATION_FUN {nullptr} |
Definition at line 32 of file bitcoin-util.cpp.
| MAIN_FUNCTION |
Definition at line 213 of file bitcoin-util.cpp.
| int ret = EXIT_FAILURE |
Definition at line 238 of file bitcoin-util.cpp.
| std::string strPrint |
Definition at line 239 of file bitcoin-util.cpp.
| try |
Definition at line 219 of file bitcoin-util.cpp.