Monday, 2 November 2020

Why does everything in bitcoin use double hash (HASH256) except BIP141?

UPDATE: Answered on twitter


Going through the protocol, it seems like everything uses a double hash (OP_HASH256, OP_HASH160), except BIP-141 which uses the single hash (OP_SHA256) function.

Any reason why double-hash seemed to be agreed upon everywhere in the protocol, but was not deemed necessary for P2WSH or BIP16-P2WSH?

submitted by /u/brianddk
[link] [comments]

No comments:

Post a Comment