![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <instantx.h>
Public Member Functions | |
CTxLockVote () | |
CTxLockVote (const uint256 &txHashIn, const COutPoint &outpointIn, const COutPoint &outpointMasternodeIn) | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
uint256 | GetHash () const |
uint256 | GetTxHash () const |
COutPoint | GetOutpoint () const |
COutPoint | GetMasternodeOutpoint () const |
bool | IsValid (CNode *pnode, CConnman &connman) const |
void | SetConfirmedHeight (int nConfirmedHeightIn) |
bool | IsExpired (int nHeight) const |
bool | IsTimedOut () const |
bool | IsFailed () const |
bool | Sign () |
bool | CheckSignature () const |
void | Relay (CConnman &connman) const |
Public Attributes | |
ADD_SERIALIZE_METHODS | |
Private Attributes | |
uint256 | txHash |
COutPoint | outpoint |
COutPoint | outpointMasternode |
std::vector< unsigned char > | vchMasternodeSignature |
int | nConfirmedHeight |
int64_t | nTimeCreated |
Definition at line 142 of file instantx.h.
|
inline |
Definition at line 154 of file instantx.h.
|
inline |
Definition at line 163 of file instantx.h.
bool CTxLockVote::CheckSignature | ( | ) | const |
Definition at line 1047 of file instantx.cpp.
Referenced by IsValid(), and CInstantSend::Vote().
uint256 CTxLockVote::GetHash | ( | ) | const |
Definition at line 1038 of file instantx.cpp.
Referenced by IsValid(), CInstantSend::ProcessTxLockVote(), Relay(), and CInstantSend::Vote().
|
inline |
Definition at line 186 of file instantx.h.
Referenced by COutPointLock::AddVote(), and CInstantSend::ProcessTxLockVote().
|
inline |
Definition at line 185 of file instantx.h.
Referenced by CTxLockCandidate::AddVote(), and CInstantSend::ProcessTxLockVote().
|
inline |
Definition at line 184 of file instantx.h.
Referenced by IsFailed(), and CInstantSend::ProcessTxLockVote().
bool CTxLockVote::IsExpired | ( | int | nHeight | ) | const |
Definition at line 1091 of file instantx.cpp.
bool CTxLockVote::IsFailed | ( | ) | const |
Definition at line 1102 of file instantx.cpp.
bool CTxLockVote::IsTimedOut | ( | ) | const |
Definition at line 1097 of file instantx.cpp.
Definition at line 999 of file instantx.cpp.
Referenced by CInstantSend::ProcessTxLockVote().
void CTxLockVote::Relay | ( | CConnman & | connman | ) | const |
Definition at line 1085 of file instantx.cpp.
Referenced by CInstantSend::ProcessTxLockVote(), and CInstantSend::Vote().
|
inline |
Definition at line 175 of file instantx.h.
|
inline |
Definition at line 189 of file instantx.h.
bool CTxLockVote::Sign | ( | ) |
Definition at line 1067 of file instantx.cpp.
Referenced by CInstantSend::Vote().
CTxLockVote::ADD_SERIALIZE_METHODS |
Definition at line 172 of file instantx.h.
|
private |
Definition at line 150 of file instantx.h.
Referenced by IsExpired(), and SetConfirmedHeight().
|
private |
Definition at line 151 of file instantx.h.
Referenced by IsFailed(), and IsTimedOut().
|
private |
Definition at line 146 of file instantx.h.
Referenced by CheckSignature(), GetHash(), GetOutpoint(), IsValid(), SerializationOp(), and Sign().
|
private |
Definition at line 147 of file instantx.h.
Referenced by CheckSignature(), GetHash(), GetMasternodeOutpoint(), IsValid(), and SerializationOp().
|
private |
Definition at line 145 of file instantx.h.
Referenced by CheckSignature(), GetHash(), GetTxHash(), SerializationOp(), and Sign().
|
private |
Definition at line 148 of file instantx.h.
Referenced by CheckSignature(), SerializationOp(), and Sign().