Are transaction ids always the same length?

1

Do all bitcoin transaction ids (hashes) have the same length?

I guess it's defined somewhere here: https://en.bitcoin.it/wiki/Protocol_specification but still I couldn't find it.

Doug Peters

Posted 2014-12-18T17:49:11.297

Reputation: 1 326

Answers

5

Yes. The transaction ID is SHA256(SHA256(transaction)) as described here and thus always has a length of 256 bits (32 bytes).

Chuck Batson

Posted 2014-12-18T17:49:11.297

Reputation: 565