bitcoin-abc icon indicating copy to clipboard operation
bitcoin-abc copied to clipboard

how to estimate transaction size by input and output?

Open purplecity opened this issue 6 years ago • 2 comments

construct a transacton,then how to estimate transaction size by input and output?

purplecity avatar Mar 13 '19 10:03 purplecity

at bitcoin . estimate transaction size is : in180 + out34 + 10. if bchabc follow this?

purplecity avatar Mar 13 '19 10:03 purplecity

For typical P2PKH transactions with compressed public keys and ECDSA signatures: 148in + 34out + 10.

(180in for uncompressed public keys)

markblundeberg avatar Jul 11 '19 19:07 markblundeberg