Bitcoin Core  21.99.0
P2P Digital Currency
Functions | Variables
bitcoin-util.cpp File Reference
#include <arith_uint256.h>
#include <clientversion.h>
#include <coins.h>
#include <consensus/consensus.h>
#include <core_io.h>
#include <key_io.h>
#include <policy/rbf.h>
#include <primitives/transaction.h>
#include <script/script.h>
#include <script/sign.h>
#include <script/signingprovider.h>
#include <univalue.h>
#include <util/moneystr.h>
#include <util/rbf.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/system.h>
#include <util/translation.h>
#include <atomic>
#include <functional>
#include <memory>
#include <stdio.h>
#include <thread>
#include <boost/algorithm/string.hpp>
Include dependency graph for bitcoin-util.cpp:

Go to the source code of this file.

Functions

static void SetupBitcoinUtilArgs (ArgsManager &argsman)
 
static int AppInitUtil (int argc, char *argv[])
 
static void grind_task (uint32_t nBits, CBlockHeader &header_orig, uint32_t offset, uint32_t step, std::atomic< bool > &found)
 
static int Grind (int argc, char *argv[], std::string &strPrint)
 
static int CommandLineUtil (int argc, char *argv[])
 
int main (int argc, char *argv[])
 

Variables

static const int CONTINUE_EXECUTION =-1
 
const std::function< std::string(const char *)> G_TRANSLATION_FUN = nullptr
 Translate string to current locale using Qt. More...
 

Function Documentation

◆ AppInitUtil()

static int AppInitUtil ( int  argc,
char *  argv[] 
)
static

Definition at line 51 of file bitcoin-util.cpp.

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

◆ CommandLineUtil()

static int CommandLineUtil ( int  argc,
char *  argv[] 
)
static

Definition at line 149 of file bitcoin-util.cpp.

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

◆ Grind()

static int Grind ( int  argc,
char *  argv[],
std::string &  strPrint 
)
static

Definition at line 114 of file bitcoin-util.cpp.

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

◆ grind_task()

static void grind_task ( uint32_t  nBits,
CBlockHeader header_orig,
uint32_t  offset,
uint32_t  step,
std::atomic< bool > &  found 
)
static

Definition at line 88 of file bitcoin-util.cpp.

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

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 193 of file bitcoin-util.cpp.

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

◆ SetupBitcoinUtilArgs()

static void SetupBitcoinUtilArgs ( ArgsManager argsman)
static

Definition at line 40 of file bitcoin-util.cpp.

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

Variable Documentation

◆ CONTINUE_EXECUTION

const int CONTINUE_EXECUTION =-1
static

Definition at line 36 of file bitcoin-util.cpp.

◆ 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 38 of file bitcoin-util.cpp.