Distinguish between vsize and sigop-adjusted mempool vsize #32775

issue musaHaruna openend this issue on June 19, 2025
  1. musaHaruna commented at 8:49 am on June 19, 2025: none

    I was going through the up for grabs PR, and got interested in working on this but, bitcoin locked and limited conversation to collaborators 2 weeks ago, so I couldn’t comment directly there.

    Based on the previous discussions, here’s my understanding of what needs to be done (if the change is still relavant) :

    Keep the existing vsize field as the sigop-adjusted size and the new vsize_bip141 field to clearly represent the BIP141 virtual size (non-sigop-adjusted)for mempool-related RPCs.

    Add optional sigopsize (sigopsize = nSigOpCost * bytes_per_sigop, please correct me if am wrong) getrawtransaction transaction when the transaction is in the mempool and the data is available.

    Write additional documentation under doc/policy/ to explain the different vsize definitions, fee rates, and mining score heuristics.

    Thanks!!!

  2. hodlinator commented at 2:44 pm on June 19, 2025: contributor
    Read through the conversation in the linked up-for-grabs PR #27591, makes sense! (Didn’t double-check the sigopsize formula though).
  3. musaHaruna commented at 3:00 pm on June 19, 2025: none
    Thank @hodlinator I will start working on it right away!

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-07-08 03:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me