You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #20916: rpc: Return wtxid from testmempoolaccept
fa0aa87 rpc: Return wtxid from testmempoolaccept (MarcoFalke)
Pull request description:
It would be nice if `testmempoolaccept` returned the unique wtxid directly to avoid a costly `decoderawtransaction` roundtrip
ACKs for top commit:
mjdietzx:
utACK fa0aa87
stackman27:
utACK [`fa0aa87`](bitcoin/bitcoin@fa0aa87)
glozow:
cr ACK bitcoin/bitcoin@fa0aa87
Tree-SHA512: 05dbaf46d93e47e9eedb725c2f57175e6d4e1722da0531fe4f80e74fc2518911da87634f25f61fa2bc8d87a3017e82fd0684b09a0a9706d71deed970035c2e7a
{RPCResult::Type::STR_HEX, "txid", "The transaction hash in hex"},
897
+
{RPCResult::Type::STR_HEX, "wtxid", "The transaction witness hash in hex"},
897
898
{RPCResult::Type::BOOL, "allowed", "If the mempool allows this tx to be inserted"},
898
899
{RPCResult::Type::NUM, "vsize", "Virtual transaction size as defined in BIP 141. This is different from actual serialized size for witness transactions as witness data is discounted (only present when 'allowed' is true)"},
899
900
{RPCResult::Type::OBJ, "fees", "Transaction fees (only present if 'allowed' is true)",
0 commit comments