Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"address unknown" for tx inputs in txdetails on android #8978

Open
pony-montana opened this issue Mar 28, 2024 · 2 comments
Open

"address unknown" for tx inputs in txdetails on android #8978

pony-montana opened this issue Mar 28, 2024 · 2 comments

Comments

@pony-montana
Copy link

pony-montana commented Mar 28, 2024

Hi, when I click to a tx to see the details of the inputs and the outputs, I see for most txs "address unknown" and "unknown amount" in the inputs. The outputs, instead, always shows correctly.

The only cases where the inputs shows correctly are for the address that belong to my wallet (so all the outgoing txs basically).

@pony-montana pony-montana changed the title "address unknow" for tx inputs im txdetails om android "address unknow" for tx inputs in txdetails on android Mar 28, 2024
@SomberNight SomberNight changed the title "address unknow" for tx inputs in txdetails on android "address unknown" for tx inputs in txdetails on android Apr 5, 2024
@SomberNight
Copy link
Member

The difference between tx inputs and outputs here is that the transaction itself contains all data about the outputs, but not for the inputs. The inputs are only referred to by prevout, so to be able to display an "input address" or an "input amount", the parent/prev txs are also required.

When we have the prev tx, the input address/amount are displayed, otherwise "unknown" is shown. The prev txs should always be already available for "outgoing" txs (sends) but typically they are not available locally for "incoming" txs (receives).

The desktop Qt gui has the same behaviour, except there there is an opt-in option "Download missing data" (added in d83863c), which when enabled, missing prev txs are requested from the electrum server.

@pony-montana
Copy link
Author

do you think would be a good option to add the "download missing data" function also on android? It would be a per tx switch or a global state that apply to all tx?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants