Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <privatesend.h>
Public Member Functions | |
CPrivateSendBaseSession () | |
int | GetState () const |
std::string | GetStateString () const |
int | GetEntriesCount () const |
Public Attributes | |
int | nSessionDenom |
Protected Member Functions | |
void | SetNull () |
bool | IsValidInOuts (const std::vector< CTxIn > &vin, const std::vector< CTxOut > &vout, PoolMessage &nMessageIDRet, bool *fConsumeCollateralRet) const |
Protected Attributes | |
CCriticalSection | cs_privatesend |
std::vector< CPrivateSendEntry > | vecEntries |
PoolState | nState |
int64_t | nTimeLastSuccessfulStep |
int | nSessionID |
CMutableTransaction | finalMutableTransaction |
Detailed Description
Definition at line 359 of file privatesend.h.
Constructor & Destructor Documentation
◆ CPrivateSendBaseSession()
|
inline |
Definition at line 380 of file privatesend.h.
Member Function Documentation
◆ GetEntriesCount()
|
inline |
Definition at line 393 of file privatesend.h.
References vecEntries.
Referenced by CPrivateSendServer::AddEntry(), CPrivateSendServer::AddScriptSig(), CPrivateSendServer::CheckPool(), CPrivateSendServer::CreateFinalTransaction(), CPrivateSendClientSession::DoAutomaticDenominating(), CPrivateSendServer::GetJsonInfo(), CPrivateSendClientSession::GetJsonInfo(), and CPrivateSendClientSession::SelectDenominate().
◆ GetState()
|
inline |
Definition at line 390 of file privatesend.h.
References nState.
◆ GetStateString()
std::string CPrivateSendBaseSession::GetStateString | ( | ) | const |
Definition at line 207 of file privatesend.cpp.
References nState, POOL_STATE_ACCEPTING_ENTRIES, POOL_STATE_ERROR, POOL_STATE_IDLE, POOL_STATE_QUEUE, and POOL_STATE_SIGNING.
Referenced by CPrivateSendServer::GetJsonInfo(), and CPrivateSendClientSession::GetJsonInfo().
◆ IsValidInOuts()
|
protected |
Definition at line 225 of file privatesend.cpp.
References CPrivateSend::AmountToDenomination(), CPrivateSend::DenominationToString(), ERR_ALREADY_HAVE, ERR_DENOM, ERR_FEES, ERR_INVALID_INPUT, ERR_INVALID_SCRIPT, ERR_MISSING_TX, ERR_SIZE_MISMATCH, llmq::CInstantSendManager::IsLocked(), Coin::IsSpent(), LogPrint, mempool, MEMPOOL_HEIGHT, MSG_NOERR, Coin::nHeight, nSessionDenom, CTxOut::nValue, Coin::out, pcoinsTip, BCLog::PRIVATESEND, llmq::quorumInstantSendManager, and ScriptToAsmStr().
Referenced by CPrivateSendServer::AddEntry(), and CPrivateSendClientSession::SignFinalTransaction().
◆ SetNull()
|
protected |
Definition at line 155 of file privatesend.cpp.
References cs_privatesend, finalMutableTransaction, GetTime(), LOCK, nSessionDenom, nSessionID, nState, nTimeLastSuccessfulStep, POOL_STATE_IDLE, vecEntries, CMutableTransaction::vin, and CMutableTransaction::vout.
Referenced by CPrivateSendServer::SetNull(), and CPrivateSendClientSession::SetNull().
Member Data Documentation
◆ cs_privatesend
|
mutableprotected |
Definition at line 362 of file privatesend.h.
Referenced by CPrivateSendClientSession::DoAutomaticDenominating(), and SetNull().
◆ finalMutableTransaction
|
protected |
Definition at line 371 of file privatesend.h.
Referenced by CPrivateSendServer::AddScriptSig(), CPrivateSendServer::CommitFinalTransaction(), CPrivateSendServer::CreateFinalTransaction(), SetNull(), and CPrivateSendClientSession::SignFinalTransaction().
◆ nSessionDenom
int CPrivateSendBaseSession::nSessionDenom |
Definition at line 378 of file privatesend.h.
Referenced by CPrivateSendServer::AddUserToExistingSession(), CPrivateSendServer::CheckForCompleteQueue(), CPrivateSendServer::CreateNewSession(), CPrivateSendServer::GetJsonInfo(), CPrivateSendClientSession::GetJsonInfo(), IsValidInOuts(), CPrivateSendClientSession::JoinExistingQueue(), CPrivateSendClientSession::PrepareDenominate(), CPrivateSendServer::RelayCompletedTransaction(), CPrivateSendServer::RelayFinalTransaction(), CPrivateSendServer::RelayStatus(), CPrivateSendClientSession::SelectDenominate(), SetNull(), CPrivateSendClientSession::StartNewQueue(), and CPrivateSendClientSession::SubmitDenominate().
◆ nSessionID
|
protected |
Definition at line 369 of file privatesend.h.
Referenced by CPrivateSendServer::AddUserToExistingSession(), CPrivateSendClientSession::CheckTimeout(), CPrivateSendServer::CreateNewSession(), CPrivateSendClientSession::DoAutomaticDenominating(), CPrivateSendServer::ProcessMessage(), CPrivateSendClientSession::ProcessMessage(), CPrivateSendClientSession::ProcessPoolStateUpdate(), CPrivateSendServer::PushStatus(), CPrivateSendServer::RelayCompletedTransaction(), CPrivateSendServer::RelayFinalTransaction(), CPrivateSendServer::RelayStatus(), CPrivateSendClientSession::SendDenominate(), and SetNull().
◆ nState
|
protected |
Definition at line 366 of file privatesend.h.
Referenced by CPrivateSendServer::AddUserToExistingSession(), CPrivateSendServer::ChargeFees(), CPrivateSendServer::CheckForCompleteQueue(), CPrivateSendServer::CheckPool(), CPrivateSendServer::CheckTimeout(), CPrivateSendClientSession::CheckTimeout(), CPrivateSendServer::CreateNewSession(), CPrivateSendClientSession::DoAutomaticDenominating(), GetState(), GetStateString(), CPrivateSendClientSession::GetStatus(), CPrivateSendServer::HasTimedOut(), CPrivateSendServer::IsSessionReady(), CPrivateSendClientSession::ProcessPoolStateUpdate(), CPrivateSendServer::PushStatus(), SetNull(), CPrivateSendServer::SetState(), and CPrivateSendClientSession::SetState().
◆ nTimeLastSuccessfulStep
|
protected |
Definition at line 367 of file privatesend.h.
Referenced by CPrivateSendClientSession::CheckTimeout(), CPrivateSendServer::HasTimedOut(), CPrivateSendClientSession::JoinExistingQueue(), CPrivateSendClientSession::ProcessPendingDsaRequest(), CPrivateSendClientSession::ProcessPoolStateUpdate(), CPrivateSendClientSession::SendDenominate(), SetNull(), CPrivateSendServer::SetState(), CPrivateSendClientSession::SignFinalTransaction(), and CPrivateSendClientSession::StartNewQueue().
◆ vecEntries
|
protected |
Definition at line 364 of file privatesend.h.
Referenced by CPrivateSendServer::AddEntry(), CPrivateSendServer::AddScriptSig(), CPrivateSendServer::ChargeFees(), CPrivateSendServer::CreateFinalTransaction(), GetEntriesCount(), CPrivateSendServer::IsInputScriptSigValid(), CPrivateSendServer::IsSignaturesComplete(), CPrivateSendServer::RelayCompletedTransaction(), CPrivateSendServer::RelayFinalTransaction(), CPrivateSendServer::RelayStatus(), CPrivateSendClientSession::SendDenominate(), SetNull(), and CPrivateSendClientSession::SignFinalTransaction().
The documentation for this class was generated from the following files:
- src/privatesend/privatesend.h
- src/privatesend/privatesend.cpp