-
Notifications
You must be signed in to change notification settings - Fork 2.2k
bugfix error matching sweeper #10189
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
base: master
Are you sure you want to change the base?
bugfix error matching sweeper #10189
Conversation
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.
Awesome catch and investigation 🚀!
Leaving a few comments on top of the failing lint
issue :)
go.mod
Outdated
|
||
retract v0.0.2 | ||
|
||
replace github.com/btcsuite/btcwallet => github.com/ziggie1984/btcwallet v0.16.10-0.20250902074924-f9f0dabe6fbd |
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 lack experience with this in lnd
, but are we ok with merging replaces to local forks to lnd
master
?
fcb4fba
to
78c6696
Compare
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.
Awesome, thanks for the changes 🎉! LGTM, though I'm lacking the context of @Roasbeef, so not sure if #10189 (comment) should be addressed.
0b7074c
to
5661ca3
Compare
Verified on LITD and this approach fixes the bug ! |
5661ca3
to
2bc22ad
Compare
2bc22ad
to
9d87bef
Compare
9d87bef
to
7bc293c
Compare
Because of the new btcwallet grpc dependency 1.73 I also had to update the gprc lib for LND, that's why so many files are changed, all of them are auto-generated. |
5a3da30
to
28f81c3
Compare
We can now handle tool dependencies directly with the go tool directive rather than using the extra tools.go pattern.
The previous update of the go tool increase dependencies so that the kvdb module with the kvdb_etcd flag set was not able to build. We update the etcd dependant libraries so that the build succeeds. Update dependencies so that we can build the kvdb module with the kvdb_etcd build tag which becomes important when upgrading to the new v2 golangci-lint linter.
run make rpc and update all the autogenerated gprc golang files.
We update the hash to the most recent master hash because the new v2 linter reports legacy issues and changed its behaviour and we want to avoid fixing older issues.
Because of the previous update of etcd dependant libraries we also need to make sure we update the etcd libraries in the main module as well otherwise the cross compiling will fail.
28f81c3
to
038a1fb
Compare
When overlay channels are used the extra output needs to be considered.
038a1fb
to
219245c
Compare
Linter failing after update:
|
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.
Should be good to land after we get in the dep update PR.
}, | ||
1, // heightHint | ||
0, // csvDelay (no CSV requirement) | ||
locktime, // cltvExpiry |
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.
Can remove these inline comments.
t.Run(tc.name, func(t *testing.T) { | ||
t.Parallel() | ||
|
||
// Call the function under test. |
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.
Superflous comments here in the test body.
// user can intervene and increase the size of his mempool or increase | ||
// his min relay fee configuration. | ||
case errors.Is(err, chain.ErrMempoolMinFeeNotMet), | ||
errors.Is(err, chain.ErrMinRelayFeeNotMet): |
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.
👍
Depends on:
btcsuite/btcwallet#1053
Fixes:
lightninglabs/taproot-assets#1770
and
lightninglabs/lightning-terminal#1139 (which needs to bump the corresponding LND version if this is merged.)
!!!ATTENTION!!! First 9 commits belong to #10209 !!!ATTENTION!!!