| 423 | } |
| 424 | |
| 425 | static 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 | |
| 443 | static std::vector<RPCResult> MempoolEntryDescription() |
| 444 | { |