Anoncoin  0.9.4
P2P Digital Currency
Classes | Macros | Enumerations | Functions | Variables
init.cpp File Reference
#include "init.h"
#include "addrman.h"
#include "checkpoints.h"
#include "key.h"
#include "main.h"
#include "miner.h"
#include "net.h"
#include "rpcserver.h"
#include "txdb.h"
#include "ui_interface.h"
#include "util.h"
#include <stdint.h>
#include <stdio.h>
#include <signal.h>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem.hpp>
#include <boost/interprocess/sync/file_lock.hpp>
#include <openssl/crypto.h>
Include dependency graph for init.cpp:

Go to the source code of this file.

Classes

struct  CImportingNow
 

Macros

#define MIN_CORE_FILEDESCRIPTORS   150
 

Enumerations

enum  BindFlags { BF_NONE = 0, BF_EXPLICIT = (1U << 0), BF_REPORT_ERROR = (1U << 1) }
 

Functions

void StartShutdown ()
 
bool ShutdownRequested ()
 
void Shutdown ()
 
void HandleSIGTERM (int)
 
void HandleSIGHUP (int)
 
std::string HelpMessage (HelpMessageMode hmm)
 
void ThreadImport (std::vector< boost::filesystem::path > vImportFiles)
 
bool InitSanityCheck (void)
 Sanity checks Ensure that Anoncoin is running in a usable environment with all necessary library support. More...
 
bool AppInit2 (boost::thread_group &threadGroup)
 Initialize anoncoin. More...
 

Variables

volatile bool fRequestShutdown = false
 

Macro Definition Documentation

#define MIN_CORE_FILEDESCRIPTORS   150

Definition at line 60 of file init.cpp.

Enumeration Type Documentation

enum BindFlags
Enumerator
BF_NONE 
BF_EXPLICIT 
BF_REPORT_ERROR 

Definition at line 64 of file init.cpp.

Function Documentation

bool AppInit2 ( boost::thread_group &  threadGroup)

Initialize anoncoin.

Precondition
Parameters should be parsed and config file should be read.

Definition at line 420 of file init.cpp.

Here is the caller graph for this function:

void HandleSIGHUP ( int  )

Definition at line 167 of file init.cpp.

Here is the caller graph for this function:

void HandleSIGTERM ( int  )

Definition at line 162 of file init.cpp.

Here is the caller graph for this function:

std::string HelpMessage ( HelpMessageMode  hmm)

Definition at line 197 of file init.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool InitSanityCheck ( void  )

Sanity checks Ensure that Anoncoin is running in a usable environment with all necessary library support.

Definition at line 404 of file init.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void Shutdown ( )

Definition at line 114 of file init.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool ShutdownRequested ( )

Definition at line 107 of file init.cpp.

Here is the caller graph for this function:

void StartShutdown ( )

Definition at line 103 of file init.cpp.

Here is the caller graph for this function:

void ThreadImport ( std::vector< boost::filesystem::path >  vImportFiles)

Definition at line 348 of file init.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

volatile bool fRequestShutdown = false

Definition at line 101 of file init.cpp.