Changeset View
Changeset View
Standalone View
Standalone View
src/rpc/blockchain.cpp
Show First 20 Lines • Show All 519 Lines • ▼ Show 20 Lines | return { | ||||
RPCResult{ | RPCResult{ | ||||
RPCResult::Type::ARR, | RPCResult::Type::ARR, | ||||
"spentby", | "spentby", | ||||
"unconfirmed transactions spending outputs from this transaction", | "unconfirmed transactions spending outputs from this transaction", | ||||
{RPCResult{RPCResult::Type::STR_HEX, "transactionid", | {RPCResult{RPCResult::Type::STR_HEX, "transactionid", | ||||
"child transaction id"}}}, | "child transaction id"}}}, | ||||
RPCResult{RPCResult::Type::BOOL, "unbroadcast", | RPCResult{RPCResult::Type::BOOL, "unbroadcast", | ||||
"Whether this transaction is currently unbroadcast (initial " | "Whether this transaction is currently unbroadcast (initial " | ||||
"broadcast not yet confirmed)"}, | "broadcast not yet acknowledged by any peers)"}, | ||||
}; | }; | ||||
} | } | ||||
static void entryToJSON(const CTxMemPool &pool, UniValue &info, | static void entryToJSON(const CTxMemPool &pool, UniValue &info, | ||||
const CTxMemPoolEntry &e) | const CTxMemPoolEntry &e) | ||||
EXCLUSIVE_LOCKS_REQUIRED(pool.cs) { | EXCLUSIVE_LOCKS_REQUIRED(pool.cs) { | ||||
AssertLockHeld(pool.cs); | AssertLockHeld(pool.cs); | ||||
▲ Show 20 Lines • Show All 2,450 Lines • Show Last 20 Lines |