chainside / btcpy

A Python3 SegWit-compliant library which provides tools to handle Bitcoin data structures in a simple fashion.
https://www.chainside.net
GNU Lesser General Public License v3.0
270 stars 73 forks source link

Difference between vsize and size property of the Transaction object? #45

Closed peerchemist closed 6 years ago

peerchemist commented 6 years ago

How do two compare and what's the use case for each?

SimoneBronzini commented 6 years ago

size is the size in bytes of the serialised transaction, as for use cases of vsize, I think they are very well explained here

peerchemist commented 6 years ago

Aha, it's SegWit related. Ok thx.