#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/system.h>
#include <compat/compat.h>
#include <core_io.h>
#include <streams.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.
◆ AppInitUtil()
static int AppInitUtil |
( |
ArgsManager & |
args, |
|
|
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
static |
◆ catch() [1/2]
◆ catch() [2/2]
catch |
( |
const std::exception & |
e | ) |
|
◆ Grind()
static int Grind |
( |
const std::vector< std::string > & |
args, |
|
|
std::string & |
strPrint |
|
) |
| |
|
static |
◆ grind_task()
static void grind_task |
( |
uint32_t |
nBits, |
|
|
CBlockHeader |
header, |
|
|
uint32_t |
offset, |
|
|
uint32_t |
step, |
|
|
std::atomic< bool > & |
found, |
|
|
uint32_t & |
proposed_nonce |
|
) |
| |
|
static |
◆ if() [1/2]
◆ if() [2/2]
◆ SetupBitcoinUtilArgs()
static void SetupBitcoinUtilArgs |
( |
ArgsManager & |
argsman | ) |
|
|
static |
◆ SetupEnvironment()
◆ cmd
const auto cmd = args.GetCommand() |
◆ CONTINUE_EXECUTION
const int CONTINUE_EXECUTION =-1 |
|
static |
◆ G_TRANSLATION_FUN
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 29 of file bitcoin-util.cpp.
◆ MAIN_FUNCTION
◆ ret
◆ strPrint
◆ try
Initial value:{
static int AppInitUtil(ArgsManager &args, int argc, char *argv[])
Definition at line 157 of file bitcoin-util.cpp.