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 #19940: rpc: Return fee and vsize from testmempoolaccept
23c35bf [test] add get_vsize util for more programmatic testing (gzhao408)
2233a93 [rpc] Return fee and vsize from testmempoolaccept (codeShark149)
Pull request description:
From #19093 and resolves #19057.
Difference from #19093: return `vsize` and `fees` object (similar to `getmempoolentry`) when the test accept is successful. Updates release-notes.md.
ACKs for top commit:
jnewbery:
utACK 23c35bf
fjahr:
utACK 23c35bf
instagibbs:
reACK bitcoin/bitcoin@23c35bf
Tree-SHA512: dcb81b7b817a4684e9076bc5d427a6f2d549d2edc66544e718260c4b5f8f1d5ae1d47b754175e9f0c8a3bd8371ce116c2dca0583588d513a7d733d5d614f2b04
{RPCResult::Type::STR_HEX, "txid", "The transaction hash in hex"},
880
880
{RPCResult::Type::BOOL, "allowed", "If the mempool allows this tx to be inserted"},
881
+
{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)"},
882
+
{RPCResult::Type::OBJ, "fees", "Transaction fees (only present if 'allowed' is true)",
883
+
{
884
+
{RPCResult::Type::STR_AMOUNT, "base", "transaction fee in " + CURRENCY_UNIT},
885
+
}},
881
886
{RPCResult::Type::STR, "reject-reason", "Rejection string (only present when 'allowed' is false)"},
0 commit comments