-
Notifications
You must be signed in to change notification settings - Fork 977
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
Draft
rustyrussell
wants to merge
24
commits into
ElementsProject:master
Choose a base branch
from
rustyrussell:guilt/remove-watch_txid
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
8bd23bb
CCAN: import version with htable_lock.
rustyrussell a63c68a
lightningd: use htable lock/unlock to ensure we don't add to htables …
rustyrussell 8b34175
lightningd: remove redundant `txid` arg in depthcb_update_scid.
rustyrussell 5883926
tx: make bitcoin_tx_output_get_amount_sat() return amount_sat.
rustyrussell 73dc729
lightningd: make caller to deptch_update_scid fetch the location in t…
rustyrussell f42845a
lightningd: bail out on splice if scid doesn't fit.
rustyrussell d9d3ad6
lightningd: use inflight->locked_scid instead of db lookup when splic…
rustyrussell 44685dc
lightningd: fix type of splice_depth_cb, remove never-working splice_…
rustyrussell b5c525b
lightningd: make wallet_extract_owned_outputs return bool, optionally…
rustyrussell 40fd390
chaintopology: don't use txfilter, rely on wallet_extract_owned_outputs.
rustyrussell 276689a
wallet: remove txfilter.
rustyrussell 864906f
bitcoin: hoist script_with_len out of wallet/ into here.
rustyrussell 286c76f
patch encode_scriptpubkey_to_addr-len.patch
rustyrussell 0aec441
lightningd: add generic scriptpubkey watches.
rustyrussell dd4bb08
lightningd: support watch-for-blockdepth primitive.
rustyrussell ade4018
lightningd: use scriptpubkey, not watch_txid for initial spotting of …
rustyrussell d3803c0
lightningd: split out separate function for "depth == 0".
rustyrussell c0a56b0
lightningd: use a blockdepth callback instead of a watch_txid.
rustyrussell 2bf1810
lightningd: explicitly unwatch funding scriptpubkey when channel fina…
rustyrussell 5d3d4c4
lightningd: make dualopend's opening_depth_cb use depthcb_update_scid.
rustyrussell 727e37e
lightningd: use scriptpubkey and blockdepth watches instead of tx wat…
rustyrussell 9497d4d
lightningd: use scriptpubkey watch and block depth watch for splicing.
rustyrussell 9e5a3d8
lightningd: save short_channel_id in inflight struct as soon as it ge…
rustyrussell 3193265
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-2610-gde698d55 |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch probably needs a description.