#include <masternode.h>
Definition at line 107 of file masternode.h.
◆ state
| Enumerator |
|---|
| MASTERNODE_PRE_ENABLED | |
| MASTERNODE_ENABLED | |
| MASTERNODE_EXPIRED | |
| MASTERNODE_OUTPOINT_SPENT | |
| MASTERNODE_REMOVE | |
| MASTERNODE_WATCHDOG_EXPIRED | |
| MASTERNODE_POSE_BAN | |
| MASTERNODE_VIN_SPENT | |
| MASTERNODE_POS_ERROR | |
Definition at line 115 of file masternode.h.
◆ CMasternode() [1/3]
| CMasternode::CMasternode |
( |
| ) |
|
◆ CMasternode() [2/3]
◆ CMasternode() [3/3]
◆ CalculateScore()
| uint256 CMasternode::CalculateScore |
( |
int |
mod = 1, |
|
|
int64_t |
nBlockHeight = 0 |
|
) |
| |
◆ Check()
| void CMasternode::Check |
( |
bool |
forceCheck = false | ) |
|
◆ Disable()
| void CMasternode::Disable |
( |
| ) |
|
|
inline |
◆ GetLastPaid()
| int64_t CMasternode::GetLastPaid |
( |
| ) |
|
◆ GetMasternodeInputAge()
| int CMasternode::GetMasternodeInputAge |
( |
| ) |
|
|
inline |
◆ GetStatus()
| std::string CMasternode::GetStatus |
( |
| ) |
|
◆ IsBroadcastedWithin()
| bool CMasternode::IsBroadcastedWithin |
( |
int |
seconds | ) |
|
|
inline |
◆ IsEnabled()
| bool CMasternode::IsEnabled |
( |
| ) |
|
|
inline |
◆ IsInputAssociatedWithPubkey()
| bool CMasternode::IsInputAssociatedWithPubkey |
( |
CTxIn & |
vin, |
|
|
CPubKey & |
pubkey |
|
) |
| const |
Is the input associated with collateral public key? (and there is 5000 PRCY - checking if valid masternode)
Definition at line 337 of file masternode.cpp.
◆ IsPingedWithin()
| bool CMasternode::IsPingedWithin |
( |
int |
seconds, |
|
|
int64_t |
now = -1 |
|
) |
| |
|
inline |
◆ IsValidNetAddr()
| bool CMasternode::IsValidNetAddr |
( |
| ) |
|
◆ operator=()
◆ SecondsSincePayment()
| int64_t CMasternode::SecondsSincePayment |
( |
| ) |
|
◆ SerializationOp()
template<typename Stream , typename Operation >
| void CMasternode::SerializationOp |
( |
Stream & |
s, |
|
|
Operation |
ser_action, |
|
|
int |
nType, |
|
|
int |
nVersion |
|
) |
| |
|
inline |
◆ Status()
| std::string CMasternode::Status |
( |
| ) |
|
|
inline |
◆ swap()
◆ UpdateFromNewBroadcast()
◆ operator!=
◆ operator==
◆ activeState
| int CMasternode::activeState |
◆ ADD_SERIALIZE_METHODS
| CMasternode::ADD_SERIALIZE_METHODS |
◆ addr
◆ allowFreeTx
| bool CMasternode::allowFreeTx |
◆ cacheInputAge
| int CMasternode::cacheInputAge |
◆ cacheInputAgeBlock
| int CMasternode::cacheInputAgeBlock |
◆ cs
◆ lastPing
◆ lastTimeChecked
| int64_t CMasternode::lastTimeChecked |
|
private |
◆ nActiveState
| int CMasternode::nActiveState |
◆ nLastDsq
| int64_t CMasternode::nLastDsq |
◆ nLastScanningErrorBlockHeight
| int CMasternode::nLastScanningErrorBlockHeight |
◆ nScanningErrorCount
| int CMasternode::nScanningErrorCount |
◆ protocolVersion
| int CMasternode::protocolVersion |
◆ pubKeyCollateralAddress
| CPubKey CMasternode::pubKeyCollateralAddress |
◆ pubKeyCollateralAddress1
| CPubKey CMasternode::pubKeyCollateralAddress1 |
◆ pubKeyMasternode
| CPubKey CMasternode::pubKeyMasternode |
◆ pubKeyMasternode1
| CPubKey CMasternode::pubKeyMasternode1 |
◆ sig
| std::vector<unsigned char> CMasternode::sig |
◆ sigTime
| int64_t CMasternode::sigTime |
◆ unitTest
| bool CMasternode::unitTest |
◆ vin
The documentation for this class was generated from the following files: