mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
Merge pull request #482 from UdjinM6/v0.12.0.x_relay_dstx
v0.12.0.x relay dstx to everyone
This commit is contained in:
commit
05dfffbc63
@ -619,7 +619,7 @@ void CDarksendPool::CheckFinalTransaction()
|
|||||||
}
|
}
|
||||||
|
|
||||||
CInv inv(MSG_DSTX, txNew.GetHash());
|
CInv inv(MSG_DSTX, txNew.GetHash());
|
||||||
RelayInv(inv, MIN_POOL_PEER_PROTO_VERSION);
|
RelayInv(inv);
|
||||||
|
|
||||||
// Tell the clients it was successful
|
// Tell the clients it was successful
|
||||||
RelayCompletedTransaction(sessionID, false, MSG_SUCCESS);
|
RelayCompletedTransaction(sessionID, false, MSG_SUCCESS);
|
||||||
|
@ -4812,7 +4812,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||||||
|
|
||||||
if(strCommand == "dstx"){
|
if(strCommand == "dstx"){
|
||||||
CInv inv(MSG_DSTX, tx.GetHash());
|
CInv inv(MSG_DSTX, tx.GetHash());
|
||||||
RelayInv(inv, MIN_POOL_PEER_PROTO_VERSION);
|
RelayInv(inv);
|
||||||
}
|
}
|
||||||
|
|
||||||
int nDoS = 0;
|
int nDoS = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user