P2SH addresses

ryanc
Posts: 147
Joined: Wed Dec 18, 2013 8:10 pm
os: linux

Re: P2SH addresses

Post by ryanc »

Should we support P2SH in name operations? E.g.

[name operation] OP_HASH160 [hash] OP_EQUAL

P2SH for names would be good to have.

domob
Posts: 1129
Joined: Mon Jun 24, 2013 11:27 am
Contact:

Re: P2SH addresses

Post by domob »

ryanc wrote:Should we support P2SH in name operations? E.g.

[name operation] OP_HASH160 [hash] OP_EQUAL

P2SH for names would be good to have.
Yes. The current Namecore code does precisely this, i. e., the IsPayToScriptHash check strips prefixes. I think this is what we want for Namecoin.
BTC: 1domobKsPZ5cWk2kXssD8p8ES1qffGUCm | NMC: NCdomobcmcmVdxC5yxMitojQ4tvAtv99pY
BM-GtQnWM3vcdorfqpKXsmfHQ4rVYPG5pKS
Use your Namecoin identity as OpenID: https://nameid.org/

ryanc
Posts: 147
Joined: Wed Dec 18, 2013 8:10 pm
os: linux

Re: P2SH addresses

Post by ryanc »

The 6 prefix is used by BIP38 encrypted private keys. What about lower case s for the prefix?

Post Reply