Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/blockchain.cpp
Show First 20 Lines • Show All 413 Lines • ▼ Show 20 Lines | return " \"size\" : n, (numeric) transaction size.\n" | ||||
CURRENCY_UNIT + "(DEPRECATED)" + | CURRENCY_UNIT + "(DEPRECATED)" + | ||||
"\n" | "\n" | ||||
" \"modifiedfee\" : n, (numeric) transaction fee with fee " | " \"modifiedfee\" : n, (numeric) transaction fee with fee " | ||||
"deltas used for mining priority (DEPRECATED)\n" | "deltas used for mining priority (DEPRECATED)\n" | ||||
" \"time\" : n, (numeric) local time transaction " | " \"time\" : n, (numeric) local time transaction " | ||||
"entered pool in seconds since 1 Jan 1970 GMT\n" | "entered pool in seconds since 1 Jan 1970 GMT\n" | ||||
" \"height\" : n, (numeric) block height when " | " \"height\" : n, (numeric) block height when " | ||||
"transaction entered pool\n" | "transaction entered pool\n" | ||||
" \"startingpriority\" : n, (numeric) DEPRECATED. Priority when " | |||||
"transaction entered pool\n" | |||||
" \"currentpriority\" : n, (numeric) DEPRECATED. Transaction " | |||||
"priority now\n" | |||||
" \"descendantcount\" : n, (numeric) number of in-mempool " | " \"descendantcount\" : n, (numeric) number of in-mempool " | ||||
"descendant transactions (including this one)\n" | "descendant transactions (including this one)\n" | ||||
" \"descendantsize\" : n, (numeric) virtual transaction size " | " \"descendantsize\" : n, (numeric) virtual transaction size " | ||||
"of in-mempool descendants (including this one)\n" | "of in-mempool descendants (including this one)\n" | ||||
" \"descendantfees\" : n, (numeric) modified fees (see above) " | " \"descendantfees\" : n, (numeric) modified fees (see above) " | ||||
"of in-mempool descendants (including this one) (DEPRECATED)\n" | "of in-mempool descendants (including this one) (DEPRECATED)\n" | ||||
" \"ancestorcount\" : n, (numeric) number of in-mempool " | " \"ancestorcount\" : n, (numeric) number of in-mempool " | ||||
"ancestor transactions (including this one)\n" | "ancestor transactions (including this one)\n" | ||||
Show All 40 Lines | static void entryToJSON(const CTxMemPool &pool, UniValue &info, | ||||
fees.pushKV("descendant", ValueFromAmount(e.GetModFeesWithDescendants())); | fees.pushKV("descendant", ValueFromAmount(e.GetModFeesWithDescendants())); | ||||
info.pushKV("fees", fees); | info.pushKV("fees", fees); | ||||
info.pushKV("size", (int)e.GetTxSize()); | info.pushKV("size", (int)e.GetTxSize()); | ||||
info.pushKV("fee", ValueFromAmount(e.GetFee())); | info.pushKV("fee", ValueFromAmount(e.GetFee())); | ||||
info.pushKV("modifiedfee", ValueFromAmount(e.GetModifiedFee())); | info.pushKV("modifiedfee", ValueFromAmount(e.GetModifiedFee())); | ||||
info.pushKV("time", e.GetTime()); | info.pushKV("time", e.GetTime()); | ||||
info.pushKV("height", (int)e.GetHeight()); | info.pushKV("height", (int)e.GetHeight()); | ||||
info.pushKV("startingpriority", e.GetPriority(e.GetHeight())); | |||||
info.pushKV("currentpriority", e.GetPriority(chainActive.Height())); | |||||
info.pushKV("descendantcount", e.GetCountWithDescendants()); | info.pushKV("descendantcount", e.GetCountWithDescendants()); | ||||
info.pushKV("descendantsize", e.GetSizeWithDescendants()); | info.pushKV("descendantsize", e.GetSizeWithDescendants()); | ||||
info.pushKV("descendantfees", e.GetModFeesWithDescendants() / SATOSHI); | info.pushKV("descendantfees", e.GetModFeesWithDescendants() / SATOSHI); | ||||
info.pushKV("ancestorcount", e.GetCountWithAncestors()); | info.pushKV("ancestorcount", e.GetCountWithAncestors()); | ||||
info.pushKV("ancestorsize", e.GetSizeWithAncestors()); | info.pushKV("ancestorsize", e.GetSizeWithAncestors()); | ||||
info.pushKV("ancestorfees", e.GetModFeesWithAncestors() / SATOSHI); | info.pushKV("ancestorfees", e.GetModFeesWithAncestors() / SATOSHI); | ||||
const CTransaction &tx = e.GetTx(); | const CTransaction &tx = e.GetTx(); | ||||
std::set<std::string> setDepends; | std::set<std::string> setDepends; | ||||
▲ Show 20 Lines • Show All 2,048 Lines • Show Last 20 Lines |