Relay double-spends, subject to anti-DOS
cef3711500 (diff-7ec3c68a81efff79b6ca22ac1f1eabbaL929)
This commit is contained in:
@@ -95,7 +95,7 @@ void WalletTxToJSON(const CWalletTx& wtx, UniValue& entry)
|
||||
conflicts.push_back(conflict.GetHex());
|
||||
entry.push_back(Pair("walletconflicts", conflicts));
|
||||
UniValue respends;
|
||||
BOOST_FOREACH(const uint256& respend, wtx.GetConflicts())
|
||||
BOOST_FOREACH(const uint256& respend, wtx.GetConflicts(false))
|
||||
respends.push_back(respend.GetHex());
|
||||
entry.push_back(Pair("respendsobserved", respends));
|
||||
entry.push_back(Pair("time", wtx.GetTxTime()));
|
||||
|
||||
Reference in New Issue
Block a user