android service onchain monitoring watched addresses/outpoints - #10783
Draft
accumulator wants to merge 14 commits into
Draft
android service onchain monitoring watched addresses/outpoints#10783accumulator wants to merge 14 commits into
accumulator wants to merge 14 commits into
Conversation
accumulator
force-pushed
the
android_chainwatch
branch
2 times, most recently
from
July 31, 2026 10:47
16f1a5a to
45d735e
Compare
…te which addresses/outpoints to watch in the background initial implementation of just pending payment requests service: Read watched_items.json and query the server for relevant transactions, only notify per watched item once.
Add _get_lightning_breach_watched_items: for each live (funded, not closing) channel, emit a WatchedItem on the funding outpoint with depth=0.
Add _get_lightning_forceclose_watched_items: for each channel (including backups) whose closing tx is on-chain, emit a WatchedItem for our CSV-timelocked to_local output, keyed on its address with depth=csv_delay.
Add _get_reverse_swap_watched_items: watch the lockup address with depth=1 so the background service notifies the user exactly when the funding confirms and the swap becomes claimable.
Add _get_forward_swap_watched_items: watch our funding outpoint for a spend and alert the instant it appears (depth=0), prompting the user to open the wallet so it can extract the preimage from the server's claim.
…ed on whether address/outpoint
accumulator
force-pushed
the
android_chainwatch
branch
from
July 31, 2026 11:01
45d735e to
d7df566
Compare
…instead of a bare wallet name
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.