-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add new account version that supports MuSig2 v1.0.0-rc2 protocol (coming with lnd 0.16.0-beta) #435
Conversation
@positiveblue Christmas came early this year, we now have feature flag bases batch versions 😎 |
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.
🎉
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.
Nice testing!
account/manager_test.go
Outdated
accountInputFeesTaproot, | ||
|
||
// We'll use the lowest fee rate possible, which should | ||
// yield a transaction fee of 304 satoshis when taking |
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.
nit: I think that specifics like "304" will become stale as they are hard to keep up-to-date. A assertion in code would be an alternative. I would suggest removal from the comment.
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.
Yeah, good call. I replaced the magic number with a constant and removed the comments.
5b8469d
to
0db3a9f
Compare
This commit bumps the compile time dependency of lnd and lndclient to the 0.16.x branch. This makes the code forward compatible but does not yet change anything with respect to the minimum required version the user needs to run.
Since any version prior to v0.15.4-beta will not sync to the mainnet chain, we can safely bump the minimum required version to that since no older version will be running (properly) anywhere.
Depends on lightningnetwork/lnd#7171.Depends on lightninglabs/lndclient#139.This PR add support for the updated MuSig2
v1.0.0-rc2
protocol to Pool accounts.The order for getting this in is:
lnd v0.16.0-beta(.rcX)
MuSig2CreateSession
call lndclient#139Pull Request Checklist
used.