PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Macros | Functions | Variables
masternode.h File Reference
#include "base58.h"
#include "key.h"
#include "main.h"
#include "net.h"
#include "sync.h"
#include "timedata.h"
#include "util.h"
Include dependency graph for masternode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CMasternodePing
 
class  CMasternode
 
class  CMasternodeBroadcast
 

Macros

#define MASTERNODE_MIN_CONFIRMATIONS   15
 
#define MASTERNODE_MIN_MNP_SECONDS   (10 * 60)
 
#define MASTERNODE_MIN_MNB_SECONDS   (5 * 60)
 
#define MASTERNODE_PING_SECONDS   (5 * 60)
 
#define MASTERNODE_EXPIRATION_SECONDS   (120 * 60)
 
#define MASTERNODE_REMOVAL_SECONDS   (130 * 60)
 
#define MASTERNODE_CHECK_SECONDS   5
 

Functions

bool GetBlockHash (uint256 &hash, int nBlockHeight)
 

Variables

std::map< int64_t, uint256mapCacheBlockHashes
 

Macro Definition Documentation

◆ MASTERNODE_CHECK_SECONDS

#define MASTERNODE_CHECK_SECONDS   5

Definition at line 24 of file masternode.h.

◆ MASTERNODE_EXPIRATION_SECONDS

#define MASTERNODE_EXPIRATION_SECONDS   (120 * 60)

Definition at line 22 of file masternode.h.

◆ MASTERNODE_MIN_CONFIRMATIONS

#define MASTERNODE_MIN_CONFIRMATIONS   15

Definition at line 18 of file masternode.h.

◆ MASTERNODE_MIN_MNB_SECONDS

#define MASTERNODE_MIN_MNB_SECONDS   (5 * 60)

Definition at line 20 of file masternode.h.

◆ MASTERNODE_MIN_MNP_SECONDS

#define MASTERNODE_MIN_MNP_SECONDS   (10 * 60)

Definition at line 19 of file masternode.h.

◆ MASTERNODE_PING_SECONDS

#define MASTERNODE_PING_SECONDS   (5 * 60)

Definition at line 21 of file masternode.h.

◆ MASTERNODE_REMOVAL_SECONDS

#define MASTERNODE_REMOVAL_SECONDS   (130 * 60)

Definition at line 23 of file masternode.h.

Function Documentation

◆ GetBlockHash()

bool GetBlockHash ( uint256 hash,
int  nBlockHeight 
)

Definition at line 26 of file masternode.cpp.

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

Variable Documentation

◆ mapCacheBlockHashes

std::map<int64_t, uint256> mapCacheBlockHashes

Definition at line 23 of file masternode.cpp.