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

poolrpc: convert poolrpc into a go module #487

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

bhandras
Copy link
Member

This commit transforms the poolrpc subpackage into a versioned module. By doing so, projects that rely solely on the generated RPC code from the proto files will benefit from significantly reduced dependencies during compilation.

Pull Request Checklist

  • LndServices minimum version has been updated if new lnd apis/fields are
    used.

Copy link
Member

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Thanks for the PR.

go.mod Outdated
google.golang.org/grpc v1.59.0
google.golang.org/protobuf v1.33.0
golang.org/x/sync v0.8.0
google.golang.org/grpc v1.64.1
Copy link
Member

Choose a reason for hiding this comment

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

Same question here re the version we choose for google.golang.org/grpc and google.golang.org/protobuf. IMO they should be the same for all projects, as we've had issues with mismatches and updates to new versions before...

Copy link
Member Author

Choose a reason for hiding this comment

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

Given that frdrpc depends on GRPC v1.65.0 and protobuf v1.34.2 I bumped to those versions. Also added a new forked hex display (see here: lightninglabs/protobuf-go-hex-display#3). PTAL

@lightninglabs-deploy
Copy link
Collaborator

@guggero: review reminder

Copy link
Member

@guggero guggero left a comment

Choose a reason for hiding this comment

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

One comment around a local replace directive. Otherwise LGTM 🎉

poolrpc/go.mod Show resolved Hide resolved
@bhandras bhandras merged commit c57ccf7 into lightninglabs:master Oct 14, 2024
6 checks passed
@bhandras bhandras deleted the poolrpc-module branch October 14, 2024 12:11
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.

3 participants