Page 2 of 2

Re: P2SH addresses

Posted: Mon Jan 12, 2015 8:51 am
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.

Re: P2SH addresses

Posted: Mon Jan 12, 2015 9:07 pm
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.

Re: P2SH addresses

Posted: Tue Jan 13, 2015 2:24 am
by ryanc
The 6 prefix is used by BIP38 encrypted private keys. What about lower case s for the prefix?