mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
This commit adds a new `vsize_adjusted` and `vsize_bip141` field to mempool acceptance and submission RPCs, including `testmempoolaccept` and `submitpackage`, to report the sigop-adjusted virtual transaction size and virtual transaction size as defined in BIP 141 respectively. While `vsize` is now marked as deprecated. RPC help texts are updated to reflect this addition. Tests in `mempool_accept.py, mempool_accept, p2p_segwit, rpc_packages, mempool_sigoplimit` are extended to verify the presence and correctness of the new fields. Co-authored-by: Gloria Zhao <gloriajzhao@gmail.com>
25 KiB
Executable File
25 KiB
Executable File