Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Enumerations | Functions | Variables
main.cpp File Reference
#include <thread>
#include <fstream>
#include <iostream>
#include <signal.h>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/trim_all.hpp>
#include <boost/filesystem.hpp>
#include <libdevcore/FileSystem.h>
#include <libethashseal/EthashAux.h>
#include <libevm/VM.h>
#include <libevm/VMFactory.h>
#include <libethcore/KeyManager.h>
#include <libethcore/ICAP.h>
#include <libethereum/Defaults.h>
#include <libethereum/BlockChainSync.h>
#include <libethashseal/EthashClient.h>
#include <libethashseal/GenesisInfo.h>
#include <libwebthree/WebThree.h>
#include <libweb3jsonrpc/AccountHolder.h>
#include <libweb3jsonrpc/Eth.h>
#include <libweb3jsonrpc/SafeHttpServer.h>
#include <jsonrpccpp/client/connectors/httpclient.h>
#include <libweb3jsonrpc/ModularServer.h>
#include <libweb3jsonrpc/IpcServer.h>
#include <libweb3jsonrpc/LevelDB.h>
#include <libweb3jsonrpc/Whisper.h>
#include <libweb3jsonrpc/Net.h>
#include <libweb3jsonrpc/Web3.h>
#include <libweb3jsonrpc/AdminNet.h>
#include <libweb3jsonrpc/AdminEth.h>
#include <libweb3jsonrpc/AdminUtils.h>
#include <libweb3jsonrpc/Personal.h>
#include <libweb3jsonrpc/Debug.h>
#include <libweb3jsonrpc/Test.h>
#include <ethminer/MinerAux.h>
#include "BuildInfo.h"
#include "AccountManager.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Classes

class  ExitHandler
 

Enumerations

enum  NodeMode { NodeMode::PeerServer, NodeMode::Full }
 
enum  OperationMode { OperationMode::Node, OperationMode::Import, OperationMode::Export }
 
enum  Format { Format::Binary, Format::Hex, Format::Human }
 

Functions

void help ()
 
string ethCredits (bool _interactive=false)
 
void version ()
 
void setDefaultOrCLocale ()
 
void importPresale (KeyManager &_km, string const &_file, function< string()> _pass)
 
string pretty (h160 _a, dev::eth::State const &_st)
 
bool isPrime (unsigned _number)
 
void stopSealingAfterXBlocks (eth::Client *_c, unsigned _start, unsigned &io_mining)
 
int main (int argc, char **argv)
 

Variables

Address c_config = Address("ccdeac59d35627b7de09332e819d5159e7bb7250")
 

Enumeration Type Documentation

enum Format
strong
Enumerator
Binary 
Hex 
Human 

Definition at line 266 of file main.cpp.

enum NodeMode
strong
Enumerator
PeerServer 
Full 

Definition at line 253 of file main.cpp.

enum OperationMode
strong
Enumerator
Node 
Import 
Export 

Definition at line 259 of file main.cpp.

Function Documentation

string ethCredits ( bool  _interactive = false)

Definition at line 179 of file main.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void help ( )

Definition at line 75 of file main.cpp.

Here is the call graph for this function:

void importPresale ( KeyManager _km,
string const &  _file,
function< string()>  _pass 
)

Definition at line 220 of file main.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool isPrime ( unsigned  _number)
inline

Definition at line 243 of file main.cpp.

int main ( int  argc,
char **  argv 
)

Operating mode.

File name for import/export.

Hashes/numbers for export range.

General params for Node operation

Networking params.

Mining params

Transaction params

Wallet password stuff

Whisper

Definition at line 303 of file main.cpp.

string pretty ( h160  _a,
dev::eth::State const &  _st 
)

Definition at line 227 of file main.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void setDefaultOrCLocale ( )

Definition at line 210 of file main.cpp.

void stopSealingAfterXBlocks ( eth::Client _c,
unsigned  _start,
unsigned &  io_mining 
)

Definition at line 273 of file main.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void version ( )

Definition at line 188 of file main.cpp.

Variable Documentation

Address c_config = Address("ccdeac59d35627b7de09332e819d5159e7bb7250")

Definition at line 226 of file main.cpp.