Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <providertx.h>
Public Types | |
enum | { REASON_NOT_SPECIFIED = 0, REASON_TERMINATION_OF_SERVICE = 1, REASON_COMPROMISED_KEYS = 2, REASON_CHANGE_OF_KEYS = 3, REASON_LAST = REASON_CHANGE_OF_KEYS } |
Public Member Functions | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action) |
std::string | ToString () const |
void | ToJson (UniValue &obj) const |
Public Attributes | |
uint16_t | nVersion {CURRENT_VERSION} |
uint256 | proTxHash |
uint16_t | nReason {REASON_NOT_SPECIFIED} |
uint256 | inputsHash |
CBLSSignature | sig |
ADD_SERIALIZE_METHODS | |
Static Public Attributes | |
static const uint16_t | CURRENT_VERSION = 1 |
Detailed Description
Definition at line 187 of file providertx.h.
Member Enumeration Documentation
◆ anonymous enum
anonymous enum |
Enumerator | |
---|---|
REASON_NOT_SPECIFIED | |
REASON_TERMINATION_OF_SERVICE | |
REASON_COMPROMISED_KEYS | |
REASON_CHANGE_OF_KEYS | |
REASON_LAST |
Definition at line 193 of file providertx.h.
Member Function Documentation
◆ SerializationOp()
|
inline |
Definition at line 212 of file providertx.h.
References inputsHash, nReason, nVersion, proTxHash, READWRITE, SER_GETHASH, and sig.
◆ ToJson()
|
inline |
Definition at line 226 of file providertx.h.
References UniValue::clear(), inputsHash, nReason, nVersion, Pair(), proTxHash, UniValue::push_back(), UniValue::setObject(), and base_blob< BITS >::ToString().
Referenced by TxToUniv().
◆ ToString()
std::string CProUpRevTx::ToString | ( | ) | const |
Definition at line 459 of file providertx.cpp.
References nReason, nVersion, proTxHash, strprintf, and base_blob< BITS >::ToString().
Referenced by CDeterministicMNManager::BuildNewListFromBlock().
Member Data Documentation
◆ ADD_SERIALIZE_METHODS
CProUpRevTx::ADD_SERIALIZE_METHODS |
Definition at line 209 of file providertx.h.
◆ CURRENT_VERSION
|
static |
Definition at line 190 of file providertx.h.
Referenced by CheckProUpRevTx().
◆ inputsHash
uint256 CProUpRevTx::inputsHash |
Definition at line 205 of file providertx.h.
Referenced by SerializationOp(), and ToJson().
◆ nReason
uint16_t CProUpRevTx::nReason {REASON_NOT_SPECIFIED} |
Definition at line 204 of file providertx.h.
Referenced by CDeterministicMNManager::BuildNewListFromBlock(), CheckProUpRevTx(), SerializationOp(), ToJson(), and ToString().
◆ nVersion
uint16_t CProUpRevTx::nVersion {CURRENT_VERSION} |
Definition at line 202 of file providertx.h.
Referenced by CheckProUpRevTx(), SerializationOp(), ToJson(), and ToString().
◆ proTxHash
uint256 CProUpRevTx::proTxHash |
Definition at line 203 of file providertx.h.
Referenced by CTxMemPool::addUnchecked(), CDeterministicMNManager::BuildNewListFromBlock(), CheckProUpRevTx(), CBloomFilter::CheckSpecialTransactionMatchesAndUpdate(), CTxMemPool::existsProviderTxConflict(), CTxMemPool::removeProTxConflicts(), CTxMemPool::removeUnchecked(), SerializationOp(), ToJson(), and ToString().
◆ sig
CBLSSignature CProUpRevTx::sig |
Definition at line 206 of file providertx.h.
Referenced by SerializationOp().
The documentation for this class was generated from the following files:
- src/evo/providertx.h
- src/evo/providertx.cpp