Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Qt: Show transaction size in transaction details window #8672
Conversation
Cocosoft
added some commits
Sep 6, 2016
|
Wouldn't it be more useful to show the transaction weight? That's what
matters for fee estimates etc.
|
|
I suggest size + feerate-based-on-weight. |
|
@sipa Valid point, I guess I could add that as well. |
fanquake
added
the
GUI
label
Sep 7, 2016
|
I agree with @luke-jr: |
|
Which size? We have:
My assumption was that after segwit, only vsize would matter. For old |
|
Depends what users will do with the size information. But IMO size should be the "total size" (base + witness). I guess the size has usefulness besides fee calculation. |
|
I agree it may be useful, but total size isn't the first a user should see
|
|
I agree that the virtual size does make more sense to display. We just need to clearly distinct between size (concrete hard size of a data structure) and virtual size (including other variables and attached to a bigger context). I'm also not opposed to display multiple size types (at least base, total and virtual). |
I think the "easy to implement" tag was a bit deceptive in this case :) #8125 had no discussion about what size at all, I think everyone assumed it to be the size of gettransaction hex. anyhow, utACK: Let's call it "Total size" and let people add other sizes later if they want. |
|
@laanwj Indeed, what seemed like an easy task blew up completely.
Will fix. |
|
Please squash your commits according to https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#squashing-commits |
|
@MarcoFalke These are two logically separate commits, one adds the function, the other adds the information to the transaction description HTML, I don't think squashing is necessary. ACK after the 'size'→ 'total size' disambiguation. |
|
utACK c015634 |
jonasschnelli
merged commit c015634
into
bitcoin:master
Sep 20, 2016
1 check passed
added a commit
that referenced
this pull request
Sep 20, 2016
|
Tested ACK c015634, merge-fixed |


Cocosoft commentedSep 6, 2016
Fixes #8125