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

How do 'Sphinx' invoice-less payments on the Lightning Network work?

How public key is calculated from a base58 encoded private key?

QUESTION ABOUT SLOW API