Skip to content

Commit

Permalink
rpc: renaming txid -> transactionid
Browse files Browse the repository at this point in the history
renamed to transactionid because it is named this way in getrawmempool
and getmempoolancestors
  • Loading branch information
kevkevinpal committed Nov 29, 2023
1 parent 401662f commit b2c09ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -491,10 +491,10 @@ static RPCHelpMan getprioritisedtransactions()
RPCResult::Type::OBJ_DYN,
"",
"prioritisation keyed by txid",
{{RPCResult::Type::OBJ, "txid", "", {
{RPCResult::Type::NUM, "fee_delta", "transaction fee delta in satoshis"},
{RPCResult::Type::BOOL, "in_mempool", "whether this transaction is currently in mempool"},
}}},
{{RPCResult::Type::OBJ, "<transactionid>", "", {
{RPCResult::Type::NUM, "fee_delta", "transaction fee delta in satoshis"},
{RPCResult::Type::BOOL, "in_mempool", "whether this transaction is currently in mempool"},
}}},
},
RPCExamples{HelpExampleCli("getprioritisedtransactions", "") + HelpExampleRpc("getprioritisedtransactions", "")},
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue {
Expand Down

0 comments on commit b2c09ab

Please sign in to comment.