Skip to content

Conversation

@buck54321
Copy link
Member

Closes #2662
Alternative to #2685

Marks used addresses. Doesn't show tx info on the deposit form, but does show the used address indicator when the tx is seen.

image

@martonp
Copy link
Collaborator

martonp commented Feb 5, 2025

Needs rebase.

Comment on lines +4022 to +4027
na, ok := w.Wallet.(asset.NewAddresser)
if !ok {
return false, errors.New("wallet is not a NewAddresser")
}

return na.AddressUsed(addr)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Other functions of this kind are methods on *xcWallet in wallet.go

@JoeGruffins JoeGruffins merged commit ddff332 into decred:master Apr 9, 2025
5 checks passed
martonp pushed a commit to martonp/dcrdex that referenced this pull request May 7, 2025
* check for used addresses

* fix docstring and check for wallet trait on tx

* add dcr recipient and mempool txs
martonp pushed a commit to martonp/dcrdex that referenced this pull request Jul 8, 2025
* check for used addresses

* fix docstring and check for wallet trait on tx

* add dcr recipient and mempool txs
buck54321 added a commit that referenced this pull request Jul 26, 2025
* check for used addresses

* fix docstring and check for wallet trait on tx

* add dcr recipient and mempool txs
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

Successfully merging this pull request may close these issues.

ui: Incoming tx detection in the Deposit dialogs

3 participants