Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
privatesend-server.h
Go to the documentation of this file.
48 bool CreateNewSession(const CPrivateSendAccept& dsa, PoolMessage& nMessageIDRet, CConnman& connman);
63 void PushStatus(CNode* pnode, PoolStatusUpdate nStatusUpdate, PoolMessage nMessageID, CConnman& connman);
64 void RelayStatus(PoolStatusUpdate nStatusUpdate, CConnman& connman, PoolMessage nMessageID = MSG_NOERR);
74 void ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStream& vRecv, CConnman& connman);
bool AddEntry(CConnman &connman, const CPrivateSendEntry &entry, PoolMessage &nMessageIDRet)
Add a clients entry to the pool.
Definition: privatesend-server.cpp:556
void CheckTimeout(CConnman &connman)
Definition: privatesend-server.cpp:475
bool AddUserToExistingSession(const CPrivateSendAccept &dsa, PoolMessage &nMessageIDRet)
Definition: privatesend-server.cpp:723
Definition: univalue.h:20
bool IsInputScriptSigValid(const CTxIn &txin)
Check to make sure a given input matches an input in the pool and its scriptSig is valid...
Definition: privatesend-server.cpp:511
Double ended buffer combining vector and stream-like interfaces.
Definition: streams.h:103
Definition: privatesend.h:143
Definition: privatesend.h:397
Definition: privatesend.h:53
Definition: privatesend.h:359
void RelayFinalTransaction(const CTransaction &txFinal, CConnman &connman)
Relay mixing Messages.
Definition: privatesend-server.cpp:773
void ChargeRandomFees(CConnman &connman)
Rarely charge fees to pay miners.
Definition: privatesend-server.cpp:438
void GetJsonInfo(UniValue &obj) const
Definition: privatesend-server.cpp:881
Definition: privatesend.h:173
bool CreateNewSession(const CPrivateSendAccept &dsa, PoolMessage &nMessageIDRet, CConnman &connman)
Definition: privatesend-server.cpp:685
bool IsAcceptableDSA(const CPrivateSendAccept &dsa, PoolMessage &nMessageIDRet)
Is this nDenom and txCollateral acceptable?
Definition: privatesend-server.cpp:664
void ProcessMessage(CNode *pfrom, const std::string &strCommand, CDataStream &vRecv, CConnman &connman)
Definition: privatesend-server.cpp:27
void RelayStatus(PoolStatusUpdate nStatusUpdate, CConnman &connman, PoolMessage nMessageID=MSG_NOERR)
Definition: privatesend-server.cpp:800
void CheckForCompleteQueue(CConnman &connman)
Definition: privatesend-server.cpp:495
bool IsSessionReady()
Do we have enough users to take entries?
Definition: privatesend-server.cpp:757
void DoMaintenance(CConnman &connman)
Definition: privatesend-server.cpp:870
bool IsSignaturesComplete()
Check that all inputs are signed. (Are all inputs signed?)
Definition: privatesend-server.cpp:653
void PushStatus(CNode *pnode, PoolStatusUpdate nStatusUpdate, PoolMessage nMessageID, CConnman &connman)
Definition: privatesend-server.cpp:793
void RelayCompletedTransaction(PoolMessage nMessageID, CConnman &connman)
Definition: privatesend-server.cpp:836
Used to keep track of current status of mixing pool.
Definition: privatesend-server.h:19
void SetState(PoolState nStateNew)
Definition: privatesend-server.cpp:856
void CommitFinalTransaction(CConnman &connman)
Definition: privatesend-server.cpp:308
The basic transaction that is broadcasted on the network and contained in blocks. ...
Definition: transaction.h:198
void CreateFinalTransaction(CConnman &connman)
Definition: privatesend-server.cpp:281
std::vector< CTransactionRef > vecSessionCollaterals
Definition: privatesend-server.h:24
void ConsumeCollateral(CConnman &connman, const CTransactionRef &txref)
Consume collateral in cases when peer misbehaved.
Definition: privatesend-server.cpp:449
void ChargeFees(CConnman &connman)
Charge fees to bad actors (Charge clients a fee if they're abusive)
Definition: privatesend-server.cpp:368