Skip to content
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

Upgrade to version 0.0.124 #133

Merged
merged 8 commits into from
Sep 10, 2024
Merged

Conversation

arik-so
Copy link
Contributor

@arik-so arik-so commented Sep 5, 2024

No description provided.

@arik-so arik-so marked this pull request as draft September 5, 2024 15:49
@arik-so arik-so marked this pull request as ready for review September 6, 2024 07:16
Copy link
Collaborator

@tnull tnull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looks good, one comment.

Feel free to squash the fixup.

@@ -290,10 +290,13 @@ public class ChannelManagerConstructor: NativeTypeWrapper {
self.customPersister = CustomChannelManagerPersister(handler: persister)
self.customEventHandler = CustomEventHandler(handler: persister)

let ignoringMessageHandler = IgnoringMessageHandler()

let onionMessenger = OnionMessenger.initWith(entropySource: self.constructionParameters.entropySource, nodeSigner: self.constructionParameters.nodeSigner, logger: self.constructionParameters.logger, nodeIdLookup: NodeIdLookUp(), messageRouter: MessageRouter(), offersHandler: ignoringMessageHandler.asOffersMessageHandler(), asyncPaymentsHandler: ignoringMessageHandler.asAsyncPaymentsMessageHandler(), customHandler: ignoringMessageHandler.asCustomOnionMessageHandler())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than IgnoringMessageHandler, we probably want to set ChannelManager as the OffersMessageHandler to enable BOLT12 support, no?

Btw, can we add some test coverage to check BOLT12 support is functional?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely, I'll open an issue.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely, I'll open an issue.

Sure, but we'll probably still want to add BOLT12 support before release I assume?

Copy link
Collaborator

@tnull tnull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as is, but we should enable BOLT12 support for this release, IMO.

@arik-so arik-so merged commit 427cfba into lightningdevkit:main Sep 10, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants