Uh oh!
There was an error while loading. Please reload this page.
Make message fields public - #665
Conversation
Codecov Report
@@ Coverage Diff @@## master #665 +/- ##
==========================================
+ Coverage 91.36% 91.40% +0.04%
==========================================
Files 35 35 Lines 21703 21703 ==========================================
+ Hits 19828 19838 +10 + Misses 1875 1865 -10
Continue to review full report at Codecov.
|
TheBlueMatt
left a comment
There was a problem hiding this comment.
This seems good to me.
Uh oh!
There was an error while loading. Please reload this page.
f004fcf to
3025ad6Comparedevrandom
commented
Aug 11, 2020
Documented the rest of the messages. I did skip onion related messages and |
TheBlueMatt
left a comment
There was a problem hiding this comment.
Some of the docs could use a bit more detail, but looks good. I agree excess_data stuff should not be included, its there just for serialization round-trips and should never be set by users.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| pub channel_id: [u8; 32], | ||
| /// The HTLC ID | ||
| pub htlc_id: u64, | ||
| pub(crate) sha256_of_onion: [u8; 32], |
There was a problem hiding this comment.
I didn't expose any of the onion stuff and this one by itself would not be useful. Should I expose these?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ariard
left a comment
There was a problem hiding this comment.
Overall sounds good to me, we don't have to describe in details how each field must be processed, just their protocol semantic.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ariard
commented
Aug 21, 2020
Code Review ACK 010d4ba Purpose of this PR arises in the context of increasing the scope of data verifiable by the external signer. I think comments are good enough to export fields. We can have follow-ups to describe implementation requirements with regards to processing/verifying message semantics (see #665 (comment)) |
TheBlueMatt
left a comment
There was a problem hiding this comment.
Looks good mod three slight comment notes.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
No description provided.