Skip to content

Add VssClient::get_version#61

Open
tankyleo wants to merge 1 commit intolightningdevkit:mainfrom
tankyleo:2026-05-get-version
Open

Add VssClient::get_version#61
tankyleo wants to merge 1 commit intolightningdevkit:mainfrom
tankyleo:2026-05-get-version

Conversation

@tankyleo
Copy link
Copy Markdown
Contributor

@tankyleo tankyleo commented May 6, 2026

This new method gets the version of the VSS API served by the server. The method depends on the /version endpoint recently added to the VSS API.

If this method is called against a VSS server that does not serve this endpoint, a VssError::InternalError will be returned. Upstream libraries should then communicate to users that the VSS server they are talking to is not supported.

This new method gets the version of the VSS API served by the server.
The method depends on the `/version` endpoint recently added to the VSS
API.

If this method is called against a VSS server that does not serve this
endpoint, a `VssError::InternalError` will be returned. Upstream
libraries should then communicate to users that the VSS server they are
talking to is not supported.
@ldk-reviews-bot
Copy link
Copy Markdown

ldk-reviews-bot commented May 6, 2026

👋 Thanks for assigning @tnull as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tankyleo tankyleo requested a review from tnull May 6, 2026 02:17
Copy link
Copy Markdown
Contributor

@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.

One comment for now, please feel free to update and re-request review once we discussed the general approach on vss-server.

Comment thread build.rs
#[cfg(genproto)]
fn generate_protos() {
download_file(
"https://raw.githubusercontent.com/lightningdevkit/vss-server/022ee5e92debb60516438af0a369966495bfe595/proto/vss.proto",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

While doing this on the server is fine, here I'd not want to do it until we have a better solution in place. Maybe we should go through with merging repos now that both are rust codebases, or have both depend on a shared vss-proto crate, to ensure version compat?

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