how to get the sender's address in bitcoinj

how to get the sender's address in bitcoinj

I'm trying to modify the simple wallettemplate to get the sender's address in the transaction list. However since TransactionInput.getFromAddress() doesn't exist now and getConnectedOutput().getAddressFromP2PKHScript() is deprecated, I don't know which is the right way to do so.

https://ift.tt/2XjkKpp

Comments

Popular posts from this blog

Tor proxy on Electrum, what does Port: 9150 and 9050 mean?

Is there any python library could be used to decodescript in output

Lightning network (lnd): What's the best way to report lnd server issues/ask for help with channels that won't close?