-
Notifications
You must be signed in to change notification settings - Fork 119
sweepbatcher: notify caller about confirmations #919
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
Open
starius
wants to merge
26
commits into
lightninglabs:master
Choose a base branch
from
starius:conf-chan
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.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
58d4969
sweepbatcher: mark channels receive- or send-only
starius 8860f7b
sweepbatcher: unblock sending if notifier quits
starius f4dfda5
sweepbatcher: send spend error to notifier
starius e22bc9e
test: fix error messages
starius b6381a9
sweepbatcher: fix mock TotalSweptAmount
starius a8995c6
sweepbatcher: fix mistake in batch reading from DB
starius af80791
test/chainnotifier_mock: support errors
starius b9f958b
sweepbatcher: cancel spendCtx after processing
starius ebd972e
sweepbatcher: remove unneded for loops
starius 7647526
sweepbatcher: store batch status before monitoring
starius 14a171d
sweepbatcher: align dbBatch type with DB schema
starius 2de4c8a
sweepbatcher: test spending notification and error
starius 8bb5401
sweepbatcher: notify caller about confirmations
starius cd29f43
test/chainnotifier: send to specific spend reg
starius 12d3cc0
sweepbatcher: re-add sweeps after fully confirmed
starius 63fd680
sweepbatcher: fix OnChainFeePortion values
starius 5ab9a4b
loopout: close sweepbatcher quitChan
starius 655df5c
sweepbatcher: pass utxo to fee provider
starius d87ef03
sweepbatcher: make sure dest pkscript is filled
starius 63ad638
sweepbatcher: simplify presigned/purging test
starius 62aae85
sweepbatcher: make sure HTLC.PkScript is filled
starius ea312b8
sweepbatcher/presigned: minRelayFee edge cases
starius b339904
sweepbatcher: remove method Presign
starius 846246e
sweepbatcher: format pkscript as hex
starius 32cc090
sweepbatcher: more logging in PresignSweepsGroup
starius 381ab93
sweepbatcher: fix a bug in dest address selection
starius 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
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.
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.
Maybe stupid question, but missing lots of context. This commit changes more than the mock, and feels a bit complicated, can you maybe elaborate what the changes to the other files are?
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.
I updated the commit message:
Also added a note to the description of Closed const: