-
Notifications
You must be signed in to change notification settings - Fork 36.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RPC] Add transaction size to JSON output #7072
Conversation
Not sure if this is really useful, because in both cases you know the size already by hexlen/2. But no strong opinion. |
@jonasschnelli, it's helpful when one uses REST API ( |
Agreed. Over RPC/JSON it can be useful. utACK. |
ACK |
Field seems to be useful. |
concept ACK |
Needs to be tested in one of the RPC tests |
utACK, but needs an RPC test indeed. |
ACK For a test, you can use this change:
|
Thanks @paveljanik, I've added the test. |
And now, squash everything in one commit. |
This may be useful for blockchain explorers.
@paveljanik, done. |
perfect now, reACK
|
ACK |
utACK 996d311 |
ACK. |
996d311 [RPC] Add transaction size to JSON output (Nick)
[RPC] Add transaction size to JSON output Cherry-picked from upstream PR bitcoin/bitcoin#7072.
This may be useful for blockchain explorers.