Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Classes | Functions
bitcoin.h File Reference
#include <QApplication>
#include <cassert>
#include <memory>
#include <interfaces/node.h>
Include dependency graph for bitcoin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BitcoinABC
 Class encapsulating Bitcoin ABC startup and shutdown. More...
 
class  BitcoinApplication
 Main Bitcoin application object. More...
 

Functions

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

Function Documentation

◆ GuiMain()

int GuiMain ( int  argc,
char argv[] 
)
  1. Basic Qt initialization (not dependent on parameters or configuration)
  1. Parse command-line options. We do this after qt in order to show an error if there are problems parsing these
  1. Application identification
  1. Initialization of translations, so that intro dialog is in user's language. Now that QSettings are accessible, initialize translations.
  1. Now that settings and translations are available, ask user for data directory. User language is set up: pick a data directory.
  1. Determine availability of data directory and parse bitcoin.conf
  • Do not call gArgs.GetDataDirNet() before this step finishes.
  1. Determine network (and switch to network specific options)
  1. Main GUI initialization

Definition at line 594 of file bitcoin.cpp.

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