Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: greBit on August 20, 2013, 03:30:57 PM



Title: P2SH Transactions help
Post by: greBit on August 20, 2013, 03:30:57 PM
Im struggling to find documentation on the BIP 16 stuff - the 'Pay to Script hash' transactions...

1. Are these now counted as 'standard'? or will I be waiting a long time for confirmations?

2. Is the address format different? ive seen somewhere that P2SH addresses would have a '2' prefix instead of '1'. is this true?

3. How much support is there for this ... could I get Bitstamp/MtGox to withdraw my BTC to a P2SH address?

thanks for any help


Title: Re: P2SH Transactions help
Post by: greBit on August 20, 2013, 03:55:04 PM
Well MtGox for one does not support P2SH addresses :(


Title: Re: P2SH Transactions help
Post by: kjj on August 20, 2013, 03:57:58 PM
To answer your other questions, they are standard, and the addresses do use a different prefix byte.


Title: Re: P2SH Transactions help
Post by: pc on August 20, 2013, 04:06:34 PM
Sending to a P2SH address is standard. Spending from that P2SH address is only standard if the script that hashes to that address is standard.

The address prefix is selected to start with a 3 on the real network, and a 2 on the test network.

I don't know about Bitstamp or Mt. Gox specifically, but any service built on a current bitcoind should support it just fine. I suspect that most services support it and may not even realize it.