Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: LeGaulois on January 23, 2018, 07:24:49 PM



Title: Question regarding addresses starting with 1-bc1-3
Post by: LeGaulois on January 23, 2018, 07:24:49 PM
Anyone can tell me if....

- An address starting with 1 is not segwit
- A bech32 address (bc1) is segwit

Are we ok? but...

- An address starting with 3 may be segwit

Don't we have yet a method to see if the address starting with 3 is a segwit or not? Or only once spend we are able to see if the P2SH is segwit or multisig

Thanks  :-\


Title: Re: Question regarding addresses starting with 1-bc1-3
Post by: BitMaxz on January 23, 2018, 07:48:44 PM
Anyone can tell me if....

- An address starting with 1 is not segwit
- A bech32 address (bc1) is segwit

Are we ok? but...

- An address starting with 3 may be segwit

Don't we have yet a method to see if the address starting with 3 is a segwit or not? Or only once spend we are able to see if the P2SH is segwit or multisig

Thanks  :-\

The latest segwit addresses are starting at bc1 but the p2sh segwit addresses is starting at 3 just like the same as multisig wallet..
For me its hardly to know if which is non-segwit address and segwit supported but i found a site that can tell if your bitcoin address starting in 3 is segwit supported.
Check this site https://segwitchecker.com/
I don't think if its always working but i use it just for checking the address if segwit supported or its a non segwit legacy address. but its always working to me..


Title: Re: Question regarding addresses starting with 1-bc1-3
Post by: LeGaulois on January 23, 2018, 08:06:51 PM
Awesome, thanks BitMaxz


Title: Re: Question regarding addresses starting with 1-bc1-3
Post by: HCP on January 24, 2018, 12:40:21 PM
Note that the "segwitchecker" can only work with addresses that have sent coins:

Quote
Undecidable
This is a P2SH address, but it is undecidable if this is a SegWit or non-SegWit address.

A P2SH-P2WPKH/P2WSH address is indistinguishable from a non-SegWit P2SH address (such as a non-SegWit multi-signature address) until an UTXO is spent and the redeemScript is exposed.

To decide this, you need to send some satoshis to this address and send them to another address.


Title: Re: Question regarding addresses starting with 1-bc1-3
Post by: Carlton Banks on January 24, 2018, 01:24:35 PM
Note that the "segwitchecker" can only work with addresses that have sent coins:

Which makes the checking service limited in value. Sending to re-used addresses should be as equally discouraged as soliciting payments to used addresses.