Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

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

Open
nopara73 opened this issue Jan 22, 2018 · 1 comment

Comments

@nopara73
Copy link
Owner

nopara73 commented Jan 22, 2018

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

@harding
Copy link

harding commented Jan 22, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants