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

frdrpc: add JSON/WASM client stubs for LNC, move server code into own package #145

Merged
merged 4 commits into from
May 3, 2022

Conversation

guggero
Copy link
Member

@guggero guggero commented Apr 29, 2022

To include Faraday in LNC we need to generate JSON/WASM stubs for frdrpc as well.
And to make it easy to use frdrpc in other projects, we don't want to pull in the full server logic with all its dependencies as well. That's why we move the server logic into its own package called frdrpcserver.

Pull Request Checklist

  • Update release_notes.md if your PR contains major features, breaking
    changes or bugfixes
  • Update MinLndVersion if your PR uses new RPC methods or fields of lnd.

@guggero guggero requested a review from ellemouton April 29, 2022 12:24
@ellemouton
Copy link
Member

linter complaining about import groups

guggero added 2 commits May 2, 2022 12:24
To avoid the frdrpc package having dependencies to other libraries and
making using the JSON/WASM stubs hard, we extract all the business logic
and RPC server code into its own package called frdrpcserver.
@guggero
Copy link
Member Author

guggero commented May 2, 2022

Thanks, fixed!

Copy link
Member

@ellemouton ellemouton left a comment

Choose a reason for hiding this comment

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

Noice 🔥

@guggero guggero merged commit cd1e569 into lightninglabs:master May 3, 2022
@guggero guggero deleted the json-stubs branch May 3, 2022 14:44
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