PIVX Core  5.6.99
P2P Digital Currency
Macros | Functions
masternode.cpp File Reference
#include "masternode.h"
#include "addrman.h"
#include "masternodeman.h"
#include "netbase.h"
#include "sync.h"
#include "tiertwo/tiertwo_sync_state.h"
#include "wallet/wallet.h"
Include dependency graph for masternode.cpp:

Go to the source code of this file.

Macros

#define MASTERNODE_MIN_MNP_SECONDS_REGTEST   90
 
#define MASTERNODE_MIN_MNB_SECONDS_REGTEST   25
 
#define MASTERNODE_PING_SECONDS_REGTEST   25
 
#define MASTERNODE_EXPIRATION_SECONDS_REGTEST   12 * 60
 
#define MASTERNODE_REMOVAL_SECONDS_REGTEST   13 * 60
 
#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

int MasternodeMinPingSeconds ()
 
int MasternodeBroadcastSeconds ()
 
int MasternodePingSeconds ()
 
int MasternodeExpirationSeconds ()
 
int MasternodeRemovalSeconds ()
 
int64_t GetMaxTimeWindow ()
 
MasternodeRef MakeMasternodeRefForDMN (const CDeterministicMNCPtr &dmn)
 

Macro Definition Documentation

◆ MASTERNODE_CHECK_SECONDS

#define MASTERNODE_CHECK_SECONDS   5

Definition at line 26 of file masternode.cpp.

◆ MASTERNODE_EXPIRATION_SECONDS

#define MASTERNODE_EXPIRATION_SECONDS   (120 * 60)

Definition at line 24 of file masternode.cpp.

◆ MASTERNODE_EXPIRATION_SECONDS_REGTEST

#define MASTERNODE_EXPIRATION_SECONDS_REGTEST   12 * 60

Definition at line 18 of file masternode.cpp.

◆ MASTERNODE_MIN_MNB_SECONDS

#define MASTERNODE_MIN_MNB_SECONDS   (5 * 60)

Definition at line 22 of file masternode.cpp.

◆ MASTERNODE_MIN_MNB_SECONDS_REGTEST

#define MASTERNODE_MIN_MNB_SECONDS_REGTEST   25

Definition at line 16 of file masternode.cpp.

◆ MASTERNODE_MIN_MNP_SECONDS

#define MASTERNODE_MIN_MNP_SECONDS   (10 * 60)

Definition at line 21 of file masternode.cpp.

◆ MASTERNODE_MIN_MNP_SECONDS_REGTEST

#define MASTERNODE_MIN_MNP_SECONDS_REGTEST   90

Definition at line 15 of file masternode.cpp.

◆ MASTERNODE_PING_SECONDS

#define MASTERNODE_PING_SECONDS   (5 * 60)

Definition at line 23 of file masternode.cpp.

◆ MASTERNODE_PING_SECONDS_REGTEST

#define MASTERNODE_PING_SECONDS_REGTEST   25

Definition at line 17 of file masternode.cpp.

◆ MASTERNODE_REMOVAL_SECONDS

#define MASTERNODE_REMOVAL_SECONDS   (130 * 60)

Definition at line 25 of file masternode.cpp.

◆ MASTERNODE_REMOVAL_SECONDS_REGTEST

#define MASTERNODE_REMOVAL_SECONDS_REGTEST   13 * 60

Definition at line 19 of file masternode.cpp.

Function Documentation

◆ GetMaxTimeWindow()

int64_t GetMaxTimeWindow ( )

Definition at line 54 of file masternode.cpp.

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

◆ MakeMasternodeRefForDMN()

MasternodeRef MakeMasternodeRefForDMN ( const CDeterministicMNCPtr dmn)

Definition at line 613 of file masternode.cpp.

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

◆ MasternodeBroadcastSeconds()

int MasternodeBroadcastSeconds ( )

Definition at line 33 of file masternode.cpp.

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

◆ MasternodeExpirationSeconds()

int MasternodeExpirationSeconds ( )

Definition at line 43 of file masternode.cpp.

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

◆ MasternodeMinPingSeconds()

int MasternodeMinPingSeconds ( )

Definition at line 28 of file masternode.cpp.

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

◆ MasternodePingSeconds()

int MasternodePingSeconds ( )

Definition at line 38 of file masternode.cpp.

Here is the call graph for this function:

◆ MasternodeRemovalSeconds()

int MasternodeRemovalSeconds ( )

Definition at line 48 of file masternode.cpp.

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