-
Notifications
You must be signed in to change notification settings - Fork 987
Remove watch txids and make watches more bwatch-like: part 1 #8927
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
Merged
rustyrussell
merged 25 commits into
ElementsProject:master
from
rustyrussell:guilt/remove-watch_txid
Mar 22, 2026
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
ead67c0
CCAN: import version with htable_lock.
rustyrussell a4e327f
lightningd: use htable lock/unlock to ensure we don't add to htables …
rustyrussell b65b537
lightningd: remove redundant `txid` arg in depthcb_update_scid.
rustyrussell 8c75407
tx: make bitcoin_tx_output_get_amount_sat() return amount_sat.
rustyrussell 83a32c8
lightningd: make caller to deptch_update_scid fetch the location in t…
rustyrussell b50042f
lightningd: bail out on splice if scid doesn't fit.
rustyrussell da90a3b
lightningd: use inflight->locked_scid instead of db lookup when splic…
rustyrussell 0c24468
lightningd: fix type of splice_depth_cb, remove never-working splice_…
rustyrussell 3950cae
lightningd: make wallet_extract_owned_outputs return bool, optionally…
rustyrussell b99edeb
chaintopology: don't use txfilter, rely on wallet_extract_owned_outputs.
rustyrussell f8358ca
wallet: remove txfilter.
rustyrussell cccc1eb
bitcoin: hoist script_with_len out of wallet/ into here.
rustyrussell 841a5c0
common: make encode_scriptpubkey_to_addr take explicit len.
rustyrussell 3735f5f
lightningd: add generic scriptpubkey watches.
rustyrussell 9604316
lightningd: support watch-for-blockdepth primitive.
rustyrussell 46c6e8f
lightningd: change watch_scriptpubkey and watch_blockdepth not to ins…
rustyrussell 6f6486c
lightningd: use scriptpubkey, not watch_txid for initial spotting of …
rustyrussell 13a3752
lightningd: split out separate function for "depth == 0".
rustyrussell c8db65e
lightningd: use a blockdepth callback instead of a watch_txid.
rustyrussell 07fc0ac
lightningd: explicitly unwatch funding scriptpubkey when channel fina…
rustyrussell 9c2cc43
lightningd: make dualopend's opening_depth_cb use depthcb_update_scid.
rustyrussell 4796220
lightningd: use scriptpubkey and blockdepth watches instead of tx wat…
rustyrussell 4aeea07
lightningd: use scriptpubkey watch and block depth watch for splicing.
rustyrussell 65aabbf
lightningd: save short_channel_id in inflight struct as soon as it ge…
rustyrussell 69ba94a
lightningd: use scriptpubkey watches not txid watches for inflights o…
rustyrussell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| CCAN imported from http://ccodearchive.net. | ||
|
|
||
| CCAN version: init-2608-gb35fabb6 | ||
| CCAN version: init-2611-g050dc66d |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.