-
Notifications
You must be signed in to change notification settings - Fork 113
Feature: Keysend custom tlv #411
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
tnull
left a 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.
Thank you for looking into this! Already looks pretty good to me, just a few comments.
I think it would make sense to also add custom TLV support of the receiver's end while we're at it, which would also allow adding end-to-end test coverage in unit tests.
b4898b3 to
82f91d0
Compare
tnull
left a 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.
Thanks for adding the receive part also. I don't think we need / should add the TlvEntries wrapper type, but apart from that it mostly looks good.
Btw, please try to clean up the the commit history so that it reflects a number of logical changes to the codebase. Fixups should be 'sorted in' beneath such feature commits so they can be squashed into the respective commits before merging.
fa5732e to
aae4ed1
Compare
|
@tnull after those last updates, the changes are small enough that I just squashed to a single commit. This is much cleaner now :) |
da78120 to
848e4de
Compare
tnull
left a 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.
@tnull after those last updates, the changes are small enough that I just squashed to a single commit. This is much cleaner now :)
Thanks, but note that it's usually preferable to break up a PR into multiple commits and to squash fixups in rounds or just before merging as it allows reviewers to follow what comments/requested changes were already addressed.
tnull
left a 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.
LGTM, please squash the fixup commit.
39eeeb9 to
eb0fb37
Compare
Adds
send_with_custom_tlvtoSpontaneousPayment, so you can send a keysend with custom data inside.Please LMK if there is more bindings stuff or testing that should be added here.
Thanks!