Skip to content

Always use new deposit addresses#740

Open
danielgranhao wants to merge 8 commits intomainfrom
daniel-multiple-deposit-addresses
Open

Always use new deposit addresses#740
danielgranhao wants to merge 8 commits intomainfrom
daniel-multiple-deposit-addresses

Conversation

@danielgranhao
Copy link
Collaborator

@danielgranhao danielgranhao commented Mar 13, 2026

Closes #403

Summary

  • Each receive_payment(BitcoinAddress) and buy_bitcoin call now generates a fresh on-chain deposit address (via rotate_static_deposit_address) instead of reusing a cached one, improving privacy.
  • UTXO syncing switched from per-address queries (get_utxos_for_address) to a single identity-based paginated query (get_utxos_for_identity), so all addresses are covered regardless of how many exist.

@danielgranhao danielgranhao force-pushed the daniel-multiple-deposit-addresses branch from 98b0ea9 to 6de2a6e Compare March 16, 2026 19:37
@danielgranhao danielgranhao marked this pull request as ready for review March 16, 2026 22:40
Copy link
Collaborator

@dangeross dangeross left a comment

Choose a reason for hiding this comment

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

Looks good

@danielgranhao danielgranhao requested a review from dangeross March 17, 2026 12:32
@danielgranhao danielgranhao requested a review from roeierez March 18, 2026 11:46
@danielgranhao danielgranhao force-pushed the daniel-multiple-deposit-addresses branch from ce9f99f to 3f91ceb Compare March 18, 2026 18:12
@danielgranhao danielgranhao requested a review from roeierez March 18, 2026 18:12
@danielgranhao danielgranhao force-pushed the daniel-multiple-deposit-addresses branch from 3f91ceb to edbf196 Compare March 18, 2026 18:21
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.

Use multiple deposit addresses

3 participants