PIVX Core  5.6.99
P2P Digital Currency
Functions
init.h File Reference
#include <string>
#include "fs.h"
Include dependency graph for init.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

std::string GetTierTwoHelpString (bool showDebug)
 
void InitTierTwoInterfaces ()
 Init the interfaces objects. More...
 
void ResetTierTwoInterfaces ()
 Resets the interfaces objects. More...
 
void InitTierTwoPreChainLoad (bool fReindex)
 Inits the tier two global objects. More...
 
void InitTierTwoPostCoinsCacheLoad (CScheduler *scheduler)
 Inits the tier two global objects that require access to the coins tip cache. More...
 
void InitTierTwoChainTip ()
 Initialize chain tip. More...
 
bool LoadTierTwo (int chain_active_height, bool load_cache_files)
 Loads from disk all the tier two related objects. More...
 
void RegisterTierTwoValidationInterface ()
 Register all tier two objects. More...
 
void DumpTierTwo ()
 Dump tier two managers to disk. More...
 
void SetBudgetFinMode (const std::string &mode)
 
bool InitActiveMN ()
 Initialize the active Masternode manager. More...
 
void StartTierTwoThreadsAndScheduleJobs (boost::thread_group &threadGroup, CScheduler &scheduler)
 Starts tier two threads and jobs. More...
 
void StopTierTwoThreads ()
 Stops tier two workers. More...
 
void DeleteTierTwo ()
 Cleans manager and worker objects pointers. More...
 
void InterruptTierTwo ()
 Interrupt tier two threads. More...
 

Function Documentation

◆ DeleteTierTwo()

void DeleteTierTwo ( )

Cleans manager and worker objects pointers.

Definition at line 325 of file init.cpp.

Here is the call graph for this function:

◆ DumpTierTwo()

void DumpTierTwo ( )

Dump tier two managers to disk.

Definition at line 200 of file init.cpp.

Here is the call graph for this function:

◆ GetTierTwoHelpString()

std::string GetTierTwoHelpString ( bool  showDebug)

Definition at line 27 of file init.cpp.

Here is the call graph for this function:

◆ InitActiveMN()

bool InitActiveMN ( )

Initialize the active Masternode manager.

Definition at line 215 of file init.cpp.

Here is the call graph for this function:

◆ InitTierTwoChainTip()

void InitTierTwoChainTip ( )

Initialize chain tip.

Definition at line 80 of file init.cpp.

Here is the call graph for this function:

◆ InitTierTwoInterfaces()

void InitTierTwoInterfaces ( )

Init the interfaces objects.

Definition at line 45 of file init.cpp.

Here is the call graph for this function:

◆ InitTierTwoPostCoinsCacheLoad()

void InitTierTwoPostCoinsCacheLoad ( CScheduler scheduler)

Inits the tier two global objects that require access to the coins tip cache.

Definition at line 74 of file init.cpp.

Here is the call graph for this function:

◆ InitTierTwoPreChainLoad()

void InitTierTwoPreChainLoad ( bool  fReindex)

Inits the tier two global objects.

Definition at line 65 of file init.cpp.

◆ InterruptTierTwo()

void InterruptTierTwo ( )

Interrupt tier two threads.

Definition at line 332 of file init.cpp.

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

◆ LoadTierTwo()

bool LoadTierTwo ( int  chain_active_height,
bool  load_cache_files 
)

Loads from disk all the tier two related objects.

Definition at line 100 of file init.cpp.

Here is the call graph for this function:

◆ RegisterTierTwoValidationInterface()

void RegisterTierTwoValidationInterface ( )

Register all tier two objects.

Definition at line 193 of file init.cpp.

Here is the call graph for this function:

◆ ResetTierTwoInterfaces()

void ResetTierTwoInterfaces ( )

Resets the interfaces objects.

Definition at line 51 of file init.cpp.

Here is the call graph for this function:

◆ SetBudgetFinMode()

void SetBudgetFinMode ( const std::string &  mode)

Definition at line 209 of file init.cpp.

◆ StartTierTwoThreadsAndScheduleJobs()

void StartTierTwoThreadsAndScheduleJobs ( boost::thread_group &  threadGroup,
CScheduler scheduler 
)

Starts tier two threads and jobs.

Definition at line 303 of file init.cpp.

Here is the call graph for this function:

◆ StopTierTwoThreads()

void StopTierTwoThreads ( )

Stops tier two workers.

Definition at line 320 of file init.cpp.

Here is the call graph for this function: