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?

Can we see Blockchain decentralized data like a mathematical duality or morphisms between representations?

How to discover startup flags or command-line options for bitcoind?