Skip to content

getrawmempool verbose mode should return "size" and "disksize" for segwit transactions #11218

@junderw

Description

@junderw

Describe the issue

getrawmempool verbose mode only returns "size" rather than "size" and "disksize" (the size on disk for segwit transactions)

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Run getrawmempool with verbose set to true
  2. Notice it only gives size

Expected behaviour

It should show:

  1. effective feerate "size" (ceil(weight/4))
  2. disk size "disksize" (total number of bytes in the serialized segwit transaction. (since "disksize" and "size" will be equal for non-segwit transactions, "disksize" should only appear for segwit transactions)

Actual behaviour

It shows size only (effective size for fees ceil(weight/4))

Screenshots.

If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.

What version of bitcoin-core are you using?

0.14.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions