$18,315.53 -0.34%
BTC · 3w

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?
Go to self.Bitcoin
No posts found
Recent news
No posts found