#include <masternode.h>
|
| | CMasternodeBroadcast () |
| |
| | CMasternodeBroadcast (CService newAddr, CTxIn newVin, CPubKey newPubkey, CPubKey newPubkey2, int protocolVersionIn) |
| |
| | CMasternodeBroadcast (const CMasternode &mn) |
| |
| bool | CheckAndUpdate (int &nDoS) |
| |
| bool | CheckInputsAndAdd (int &nDos) |
| |
| bool | Sign (CKey &keyCollateralAddress) |
| |
| bool | VerifySignature () |
| |
| void | Relay () |
| |
| std::string | GetStrMessage () |
| |
| template<typename Stream , typename Operation > |
| void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
| |
| uint256 | GetHash () |
| |
| | CMasternode () |
| |
| | CMasternode (const CMasternode &other) |
| |
| | CMasternode (const CMasternodeBroadcast &mnb) |
| |
| void | swap (CMasternode &first, CMasternode &second) |
| |
| CMasternode & | operator= (CMasternode from) |
| |
| uint256 | CalculateScore (int mod=1, int64_t nBlockHeight=0) |
| |
| template<typename Stream , typename Operation > |
| void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
| |
| int64_t | SecondsSincePayment () |
| |
| bool | UpdateFromNewBroadcast (CMasternodeBroadcast &mnb) |
| |
| void | Check (bool forceCheck=false) |
| |
| bool | IsBroadcastedWithin (int seconds) |
| |
| bool | IsPingedWithin (int seconds, int64_t now=-1) |
| |
| void | Disable () |
| |
| bool | IsEnabled () |
| |
| int | GetMasternodeInputAge () |
| |
| std::string | GetStatus () |
| |
| std::string | Status () |
| |
| int64_t | GetLastPaid () |
| |
| bool | IsValidNetAddr () |
| |
| bool | IsInputAssociatedWithPubkey (CTxIn &vin, CPubKey &pubkey) const |
| | Is the input associated with collateral public key? (and there is 5000 PRCY - checking if valid masternode) More...
|
| |
|
| static bool | Create (CTxIn vin, CService service, CKey keyCollateralAddressNew, CPubKey pubKeyCollateralAddressNew, CKey keyMasternodeNew, CPubKey pubKeyMasternodeNew, std::string &strErrorRet, CMasternodeBroadcast &mnbRet) |
| | Create Masternode broadcast, needs to be relayed manually after that. More...
|
| |
| static bool | Create (std::string strService, std::string strKey, std::string strTxHash, std::string strOutputIndex, std::string &strErrorRet, CMasternodeBroadcast &mnbRet, bool fOffline=false) |
| |
| static bool | CheckDefaultPort (CService service, std::string &strErrorRet, const std::string &strContext) |
| |
Definition at line 292 of file masternode.h.
◆ CMasternodeBroadcast() [1/3]
| CMasternodeBroadcast::CMasternodeBroadcast |
( |
| ) |
|
◆ CMasternodeBroadcast() [2/3]
| CMasternodeBroadcast::CMasternodeBroadcast |
( |
CService |
newAddr, |
|
|
CTxIn |
newVin, |
|
|
CPubKey |
newPubkey, |
|
|
CPubKey |
newPubkey2, |
|
|
int |
protocolVersionIn |
|
) |
| |
◆ CMasternodeBroadcast() [3/3]
| CMasternodeBroadcast::CMasternodeBroadcast |
( |
const CMasternode & |
mn | ) |
|
◆ CheckAndUpdate()
| bool CMasternodeBroadcast::CheckAndUpdate |
( |
int & |
nDoS | ) |
|
◆ CheckDefaultPort()
| bool CMasternodeBroadcast::CheckDefaultPort |
( |
CService |
service, |
|
|
std::string & |
strErrorRet, |
|
|
const std::string & |
strContext |
|
) |
| |
|
static |
◆ CheckInputsAndAdd()
| bool CMasternodeBroadcast::CheckInputsAndAdd |
( |
int & |
nDos | ) |
|
◆ Create() [1/2]
Create Masternode broadcast, needs to be relayed manually after that.
Definition at line 467 of file masternode.cpp.
◆ Create() [2/2]
| bool CMasternodeBroadcast::Create |
( |
std::string |
strService, |
|
|
std::string |
strKey, |
|
|
std::string |
strTxHash, |
|
|
std::string |
strOutputIndex, |
|
|
std::string & |
strErrorRet, |
|
|
CMasternodeBroadcast & |
mnbRet, |
|
|
bool |
fOffline = false |
|
) |
| |
|
static |
◆ GetHash()
| uint256 CMasternodeBroadcast::GetHash |
( |
| ) |
|
|
inline |
◆ GetStrMessage()
| std::string CMasternodeBroadcast::GetStrMessage |
( |
| ) |
|
◆ Relay()
| void CMasternodeBroadcast::Relay |
( |
| ) |
|
◆ SerializationOp()
template<typename Stream , typename Operation >
| void CMasternodeBroadcast::SerializationOp |
( |
Stream & |
s, |
|
|
Operation |
ser_action, |
|
|
int |
nType, |
|
|
int |
nVersion |
|
) |
| |
|
inline |
◆ Sign()
| bool CMasternodeBroadcast::Sign |
( |
CKey & |
keyCollateralAddress | ) |
|
◆ VerifySignature()
| bool CMasternodeBroadcast::VerifySignature |
( |
| ) |
|
◆ ADD_SERIALIZE_METHODS
| CMasternodeBroadcast::ADD_SERIALIZE_METHODS |
The documentation for this class was generated from the following files: