6
3
I roughly understand how SegWit works, but not the details, got a few practical questions.
If I understood correctly there are separate 'SegWit addresses'. How does that work, do they look like normal addresses? Will older non-SegWit clients also be able to send txs to such addresses? Or is it a new address format, that will not be recognized by older clients?
If I want people to be able to send SegWit transactions to me, do I have to give them a SegWit address, or can they also send SegWit txs to regular addresses?
Similarly, if I send a SegWit tx to someone else, will they receive it even if they are using an older non-SegWit client? Or perhaps will they not recognize or accept the tx as long as it's unconfirmed, but once it's confirmed they have the bitcoins?
Thanks Andrew. If I received bitcoins and want to spend those as segwit-outputs, should I very first if the next recipient supports segwit? Or can I just send it as segwit-outputs as long as their address is a P2SH (i.e.
3...) address? Or can I expect a complaint from them if it turns out they don't support segwit, and thus can't spend the bitcoins I sent them? – RocketNuts – 2017-11-13T15:11:33.613Or related to this, is there a way to identify or recognize an address as segwit-compatible? (I mean a P2SH
3...address, a bech32 address is always segwit compatible) Or is it impossible to distinguish from 'regular' (non-segwit) multisig addresses that also start with3...? – RocketNuts – 2017-11-13T15:13:07.6001The only thing that matters for spending segwit outputs is if you are able to spend them. It does not matter if the recipient of the transaction understands segwit or not. For P2SH nested segwit outputs, those outputs and addresses are indistinguishable from other P2SH outputs (e.g. multisig) and addresses until they are spent. – Andrew Chow – 2017-11-13T16:04:54.420
The deposit addresses for my Kraken and Bitstamp account for example, they are
3...P2SH addresses. Can I safely send bitcoins there as segwit-outputs? I mean regardless of whether I received them (from the previous sender) as segwit or non-segwit outputs. So the new utxo I am creating for (or sending to) their address, is it safe to make that a segwit output? No need to verify or doublecheck with them if they accept that? (sorry if these questions seem duplicate, I'm really trying to get this clear, very much appreciate your help!) – RocketNuts – 2017-11-14T07:56:33.323It is worth nothing though, that
a transaction can spend from both segwit and non-segwit outputsis only possible from segwit enabled wallets. While,A transaction can create both Segwit and non-segwit outputsis possible from non-segwit enabled wallets. Right? – Jus12 – 2017-12-08T07:25:23.280