2

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.

Murch
  • 75,206
  • 34
  • 186
  • 622
Doug Peters
  • 1,366
  • 15
  • 23

1 Answers1

6

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

Chuck Batson
  • 645
  • 4
  • 6