Dash Core  0.12.2.1
P2P Digital Currency
CMasternodeVerification Class Reference

#include <masternode.h>

Public Member Functions

 CMasternodeVerification ()=default
 
 CMasternodeVerification (CService addr, int nonce, int nBlockHeight)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 
uint256 GetHash () const
 
void Relay () const
 

Public Attributes

CTxIn vin1 {}
 
CTxIn vin2 {}
 
CService addr {}
 
int nonce {}
 
int nBlockHeight {}
 
std::vector< unsigned char > vchSig1 {}
 
std::vector< unsigned char > vchSig2 {}
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

Definition at line 360 of file masternode.h.

Constructor & Destructor Documentation

◆ CMasternodeVerification() [1/2]

CMasternodeVerification::CMasternodeVerification ( )
default

◆ CMasternodeVerification() [2/2]

CMasternodeVerification::CMasternodeVerification ( CService  addr,
int  nonce,
int  nBlockHeight 
)
inline

Definition at line 373 of file masternode.h.

Member Function Documentation

◆ GetHash()

uint256 CMasternodeVerification::GetHash ( ) const
inline

Definition at line 392 of file masternode.h.

Referenced by CMasternodeMan::ProcessVerifyBroadcast(), and Relay().

◆ Relay()

void CMasternodeVerification::Relay ( ) const
inline

◆ SerializationOp()

template<typename Stream , typename Operation >
void CMasternodeVerification::SerializationOp ( Stream &  s,
Operation  ser_action,
int  nType,
int  nVersion 
)
inline

Definition at line 382 of file masternode.h.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CMasternodeVerification::ADD_SERIALIZE_METHODS

Definition at line 379 of file masternode.h.

◆ addr

CService CMasternodeVerification::addr {}

◆ nBlockHeight

int CMasternodeVerification::nBlockHeight {}

◆ nonce

◆ vchSig1

std::vector<unsigned char> CMasternodeVerification::vchSig1 {}

◆ vchSig2

std::vector<unsigned char> CMasternodeVerification::vchSig2 {}

◆ vin1

CTxIn CMasternodeVerification::vin1 {}

◆ vin2

CTxIn CMasternodeVerification::vin2 {}

The documentation for this class was generated from the following file: