ZeroLink icon indicating copy to clipboard operation
ZeroLink copied to clipboard

Evaluate if makes a difference: Require Bech32 for higher anonymity set?

Open nopara73 opened this issue 7 years ago • 1 comments

https://twitter.com/hrdng/status/955516803425464320

The main difference is that P2SH-wrapped segwit puts the witness program in the redeemScript, adding 22+ bytes when you spend the input, but native segwit puts the witness program is the scriptPubKey and leaves the whole scriptSig blank.

@harding

nopara73 avatar Jan 22 '18 19:01 nopara73

Native segwit (bech32) is cheaper but still extremely rare:

$ bitcoin-cli getblock $( bitcoin-cli getbestblockhash ) 2 | grep type | sort | uniq -c | sort -n
      1             "type": "witness_v0_keyhash"
      4             "type": "witness_v0_scripthash"
     19             "type": "nulldata"
   1013             "type": "scripthash",
   5202             "type": "pubkeyhash",

You might want to wait for more people using it before adopting it in any situation where you want your transactions to blend into the background noise.

harding avatar Jan 22 '18 20:01 harding