PIVX Core  5.6.99
P2P Digital Currency
Classes | Macros | Functions | Variables
activemasternode.h File Reference
#include "key.h"
#include "evo/deterministicmns.h"
#include "operationresult.h"
#include "sync.h"
#include "validationinterface.h"
Include dependency graph for activemasternode.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CActiveMasternodeInfo
 
class  CActiveDeterministicMasternodeManager
 
class  CActiveMasternode
 

Macros

#define ACTIVE_MASTERNODE_INITIAL   0
 
#define ACTIVE_MASTERNODE_SYNC_IN_PROCESS   1
 
#define ACTIVE_MASTERNODE_NOT_CAPABLE   3
 
#define ACTIVE_MASTERNODE_STARTED   4
 

Functions

OperationResult initMasternode (const std::string &strMasterNodePrivKey, const std::string &strMasterNodeAddr, bool isFromInit)
 
bool GetActiveMasternodeKeys (CTxIn &vin, Optional< CKey > &key, CBLSSecretKey &blsKey)
 
bool GetActiveDMNKeys (CBLSSecretKey &key, CTxIn &vin)
 

Variables

CActiveDeterministicMasternodeManageractiveMasternodeManager
 

Macro Definition Documentation

◆ ACTIVE_MASTERNODE_INITIAL

#define ACTIVE_MASTERNODE_INITIAL   0

Definition at line 19 of file activemasternode.h.

◆ ACTIVE_MASTERNODE_NOT_CAPABLE

#define ACTIVE_MASTERNODE_NOT_CAPABLE   3

Definition at line 21 of file activemasternode.h.

◆ ACTIVE_MASTERNODE_STARTED

#define ACTIVE_MASTERNODE_STARTED   4

Definition at line 22 of file activemasternode.h.

◆ ACTIVE_MASTERNODE_SYNC_IN_PROCESS

#define ACTIVE_MASTERNODE_SYNC_IN_PROCESS   1

Definition at line 20 of file activemasternode.h.

Function Documentation

◆ GetActiveDMNKeys()

bool GetActiveDMNKeys ( CBLSSecretKey key,
CTxIn vin 
)

Definition at line 487 of file activemasternode.cpp.

Here is the call graph for this function:

◆ GetActiveMasternodeKeys()

bool GetActiveMasternodeKeys ( CTxIn vin,
Optional< CKey > &  key,
CBLSSecretKey blsKey 
)

Definition at line 501 of file activemasternode.cpp.

◆ initMasternode()

OperationResult initMasternode ( const std::string &  strMasterNodePrivKey,
const std::string &  strMasterNodeAddr,
bool  isFromInit 
)

Definition at line 240 of file activemasternode.cpp.

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

Variable Documentation

◆ activeMasternodeManager

CActiveDeterministicMasternodeManager* activeMasternodeManager
extern

Definition at line 22 of file activemasternode.cpp.