public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [bitcoin-dev] Bech32 and P2SH²
@ 2018-01-04 14:23 Luke Dashjr
  2018-01-06  0:26 ` Luke Dashjr
  2018-01-06  0:44 ` Gregory Maxwell
  0 siblings, 2 replies; 4+ messages in thread
From: Luke Dashjr @ 2018-01-04 14:23 UTC (permalink / raw)
  To: bitcoin-dev

I know I'm super-late to bring this up, but was there a reason Bech32 omitted 
the previously-discussed P2SH² improvements? Since deployment isn't too 
widespread yet, maybe it'd be worth a quick revision to add this?

For those unfamiliar with the concept, the idea is to have the address include 
the *single* SHA256 hash of the public key or script, rather than 
RIPEMD160(SHA256(pubkey)) or SHA256(SHA256(script)). The sender would then 
perform the second hash to produce the output. Doing this would in the future 
enable relaying the "middle-hash" as a way to prove the final hash is in fact 
a hash itself, thereby proving it is not embedded data spam.

Bech32 seems like a huge missed opportunity to add this, since everyone will 
probably be upgrading to it at some point.

Luke


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-06 10:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-04 14:23 [bitcoin-dev] Bech32 and P2SH² Luke Dashjr
2018-01-06  0:26 ` Luke Dashjr
2018-01-06  0:44 ` Gregory Maxwell
2018-01-06 10:05   ` Adam Ritter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox