Bitcoin
Classes | Namespaces | Functions
bitcoin.h File Reference
#include <QApplication>
#include <memory>
#include <vector>

Go to the source code of this file.

Classes

class  BitcoinCore
 
class  BitcoinApplication
 

Namespaces

 interfaces
 

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)
  2. Parse command-line options. We do this after qt in order to show an error if there are problems parsing these
  3. Application identification
  4. Initialization of translations, so that intro dialog is in user's language
  5. Now that settings and translations are available, ask user for data directory
  6. Determine availability of data and blocks directory and parse bitcoin.conf
  • Do not call GetDataDir(true) before this step finishes
  1. Determine network (and switch to network specific options)
  2. Main GUI initialization