Post
Topic
Re: How to parse Address in transaction with SegWit script
by
jaruvido
on 16/11/2018, 08:59:31 UTC
I don't think that witness is used to generate the address, since older wallets shouldn't be able to download witness data, but would still be able to send to segwit addresses.

Also, you need to look at the output of the transaction that was referenced in that first input, I believe, since coins aren't spent from addresses, but from unspent transactions. Addresses are there just for humans.


And there is no other (direct) possibility to make an address?

I cannot turn this script
ScriptSig: PUSHDATA(34) [ 002071191892b7ed5764d72cc7232cf99d722b776240d78eb625c389d7f4d03db874 ]

into the address 32mgo47LcUQjPfjYNzAYEsM5fqosiqpuVd   without searching for the previous out-transaction?