[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.