OutCast3k / coinbin

Javascript Bitcoin Wallet. Supports Multisig, Stealth, HD, SegWit, Bech32, Time Locked Addresses, RBF and more!
https://coinb.in/
MIT License
906 stars 621 forks source link

https://coinb.in/#fees sizes are off by +10 bytes #239

Open Transisto opened 3 years ago

Transisto commented 3 years ago

Every transaction seems to have 10-14 bytes added for no reason

image 0+0=0

image 148+0=158?

image 102+32=144?

A 1 to 1 segwit p2sh transaction (typical CPFP) is closer to ~134 not 144

junderw commented 3 years ago

version: 4 bytes ntimelock: 4 bytes vinsize: 1 byte voutsize: 1 byte

10 bytes that have nothing to do with inputs and outputs.