Open wyq000 opened 4 days ago
Hi @wyq000 ,
The sizes of valid signatures can vary, even for the same txs. Are the txs you are comparing legacy or segwit/toproot?
Also, I always use bitcoin-core as reference (other libraries typically to the same). Iirc, there is only one case that bitcoin-utils' library produces different (valid!) signatures than bitcoin-core.
I could try to check this further if you provide the tx for me to check.
The final length of the nodejs signature is 128 bits, why is the final length of the python-bitcoin-utils signature 130 bits? What causes this difference?