|
|
@ -343,6 +343,7 @@ std::string EntryDescriptionString() |
|
|
|
" \"ancestorcount\" : n, (numeric) number of in-mempool ancestor transactions (including this one)\n" |
|
|
|
" \"ancestorcount\" : n, (numeric) number of in-mempool ancestor transactions (including this one)\n" |
|
|
|
" \"ancestorsize\" : n, (numeric) virtual transaction size of in-mempool ancestors (including this one)\n" |
|
|
|
" \"ancestorsize\" : n, (numeric) virtual transaction size of in-mempool ancestors (including this one)\n" |
|
|
|
" \"ancestorfees\" : n, (numeric) modified fees (see above) of in-mempool ancestors (including this one)\n" |
|
|
|
" \"ancestorfees\" : n, (numeric) modified fees (see above) of in-mempool ancestors (including this one)\n" |
|
|
|
|
|
|
|
" \"wtxid\" : hash, (string) hash of serialized transaction, including witness data\n" |
|
|
|
" \"depends\" : [ (array) unconfirmed transactions used as inputs for this transaction\n" |
|
|
|
" \"depends\" : [ (array) unconfirmed transactions used as inputs for this transaction\n" |
|
|
|
" \"transactionid\", (string) parent transaction id\n" |
|
|
|
" \"transactionid\", (string) parent transaction id\n" |
|
|
|
" ... ]\n"; |
|
|
|
" ... ]\n"; |
|
|
@ -363,6 +364,7 @@ void entryToJSON(UniValue &info, const CTxMemPoolEntry &e) |
|
|
|
info.push_back(Pair("ancestorcount", e.GetCountWithAncestors())); |
|
|
|
info.push_back(Pair("ancestorcount", e.GetCountWithAncestors())); |
|
|
|
info.push_back(Pair("ancestorsize", e.GetSizeWithAncestors())); |
|
|
|
info.push_back(Pair("ancestorsize", e.GetSizeWithAncestors())); |
|
|
|
info.push_back(Pair("ancestorfees", e.GetModFeesWithAncestors())); |
|
|
|
info.push_back(Pair("ancestorfees", e.GetModFeesWithAncestors())); |
|
|
|
|
|
|
|
info.push_back(Pair("wtxid", mempool.vTxHashes[e.vTxHashesIdx].first.ToString())); |
|
|
|
const CTransaction& tx = e.GetTx(); |
|
|
|
const CTransaction& tx = e.GetTx(); |
|
|
|
std::set<std::string> setDepends; |
|
|
|
std::set<std::string> setDepends; |
|
|
|
for (const CTxIn& txin : tx.vin) |
|
|
|
for (const CTxIn& txin : tx.vin) |
|
|
|