1
I wrote a bitcoin transaction parser in python and it flips out when transactions have more than 255 inputs or outputs. Some transactions have their number of inputs/outputs represented by a 1 byte hex string, others are represented by more. How do I know (and how do I program my parser to know) whether a tx's representation of inputs/outputs is 1 byte or more?