-
Notifications
You must be signed in to change notification settings - Fork 405
Export various fields and structures #662
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #662 +/- ##
==========================================
- Coverage 91.36% 91.35% -0.01%
==========================================
Files 35 35
Lines 21681 21688 +7
==========================================
+ Hits 19808 19813 +5
- Misses 1873 1875 +2
Continue to review full report at Codecov.
|
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.
Mostly questions about use-cases.
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.
Apart of unsafe
feature in discussion, Concept ACK
Removed message field visibility change - will be a separate PR. Added more detailed commit messaging and removed the draft marker. |
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'm fine with this as-is, though I think we need to newtype TxCreationKeys because the APi definitely encourages "unsafe trusting" of the in-RL-derived keys when doing external signing.
I'd prefer a more descriptive name over unsafe
, though. Maybe unsafe_revoked_tx_generation
or something?
I renamed
|
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.
Looks good except for new_missing_local_sig
, which could use a bit of clean up if its going to be pub.
Allows unsafe signing in dev code, such as functional testing of justice transactions outside our crate.
Allows calling of InMemoryChannelKeys methods
f05076d
to
8bcdc87
Compare
This is for discussion purposes at this time. This is a set of patches we maintain on top of master in order to let Rust Lightning Signer do various things, including:
TxCreationKeys
fields andconstructor, so that we can use it to call variousInMemoryChannelKeys
methodsLocalCommitmentTransaction
constructor forInMemoryChannelKeys
use