MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ClusterDescription

Function ClusterDescription

src/rpc/mempool.cpp:425–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425static std::vector<RPCResult> ClusterDescription()
426{
427 return {
428 RPCResult{RPCResult::Type::NUM, "clusterweight", "total sigops-adjusted weight (as defined in BIP 141 and modified by '-bytespersigop')"},
429 RPCResult{RPCResult::Type::NUM, "txcount", "number of transactions"},
430 RPCResult{RPCResult::Type::ARR, "chunks", "chunks in this cluster (in mining order)",
431 {RPCResult{RPCResult::Type::OBJ, "chunk", "",
432 {
433 RPCResult{RPCResult::Type::NUM, "chunkfee", "fees of the transactions in this chunk"},
434 RPCResult{RPCResult::Type::NUM, "chunkweight", "sigops-adjusted weight of all transactions in this chunk"},
435 RPCResult{RPCResult::Type::ARR, "txs", "transactions in this chunk in mining order",
436 {RPCResult{RPCResult::Type::STR_HEX, "txid", "transaction id"}}},
437 }
438 }}
439 }
440 };
441}
442
443static std::vector<RPCResult> MempoolEntryDescription()
444{

Callers 1

getmempoolclusterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected