MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / EntryDescriptionString

Function EntryDescriptionString

src/rpc/blockchain.cpp:378–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378static std::string EntryDescriptionString()
379{
380 return " \"size\" : n, (numeric) virtual transaction size as defined in BIP 141. This is different from actual serialized size for witness transactions as witness data is discounted.\n"
381 " \"fee\" : n, (numeric) transaction fee in " + CURRENCY_UNIT + " (DEPRECATED)\n"
382 " \"modifiedfee\" : n, (numeric) transaction fee with fee deltas used for mining priority (DEPRECATED)\n"
383 " \"time\" : n, (numeric) local time transaction entered pool in seconds since 1 Jan 1970 GMT\n"
384 " \"height\" : n, (numeric) block height when transaction entered pool\n"
385 " \"descendantcount\" : n, (numeric) number of in-mempool descendant transactions (including this one)\n"
386 " \"descendantsize\" : n, (numeric) virtual transaction size of in-mempool descendants (including this one)\n"
387 " \"descendantfees\" : n, (numeric) modified fees (see above) of in-mempool descendants (including this one) (DEPRECATED)\n"
388 " \"ancestorcount\" : n, (numeric) number of in-mempool ancestor transactions (including this one)\n"
389 " \"ancestorsize\" : n, (numeric) virtual transaction size of in-mempool ancestors (including this one)\n"
390 " \"ancestorfees\" : n, (numeric) modified fees (see above) of in-mempool ancestors (including this one) (DEPRECATED)\n"
391 " \"wtxid\" : hash, (string) hash of serialized transaction, including witness data\n"
392 " \"fees\" : {\n"
393 " \"base\" : n, (numeric) transaction fee in " + CURRENCY_UNIT + "\n"
394 " \"modified\" : n, (numeric) transaction fee with fee deltas used for mining priority in " + CURRENCY_UNIT + "\n"
395 " \"ancestor\" : n, (numeric) modified fees (see above) of in-mempool ancestors (including this one) in " + CURRENCY_UNIT + "\n"
396 " \"descendant\" : n, (numeric) modified fees (see above) of in-mempool descendants (including this one) in " + CURRENCY_UNIT + "\n"
397 " }\n"
398 " \"depends\" : [ (array) unconfirmed transactions used as inputs for this transaction\n"
399 " \"transactionid\", (string) parent transaction id\n"
400 " ... ]\n"
401 " \"spentby\" : [ (array) unconfirmed transactions spending outputs from this transaction\n"
402 " \"transactionid\", (string) child transaction id\n"
403 " ... ]\n";
404}
405
406static void entryToJSON(UniValue &info, const CTxMemPoolEntry &e) EXCLUSIVE_LOCKS_REQUIRED(::mempool.cs)
407{

Callers 4

getrawmempoolFunction · 0.85
getmempoolancestorsFunction · 0.85
getmempooldescendantsFunction · 0.85
getmempoolentryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected