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

api/v2: Duplicate merkle branch definition #94

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

jrick
Copy link
Member

@jrick jrick commented Feb 14, 2025

This removes the dependency on the main module's merkle package.

The JSON marshaling of the merkle branch is disgusting but this would need to be cleaned up in a v3 API if anyone attempts this.

Part of a larger change to make actually make the api/v2 submodule actually go-gettable. It is completely busted at the moment, due to importing the main module's merkle package without a require on the main module.

@jrick
Copy link
Member Author

jrick commented Feb 14, 2025

Also note that while this is a Go API breaking change, the api/v2 submodule has never been tagged.

This removes the dependency on the main module's merkle package.

The JSON marshaling of the merkle branch is disgusting but this would need to
be cleaned up in a v3 API if anyone attempts this.

Part of a larger change to make actually make the api/v2 submodule actually
go-gettable.  It is completely busted at the moment, due to importing the main
module's merkle package without a require on the main module.
@jrick jrick merged commit 96b577f into decred:master Feb 14, 2025
2 checks passed
@jrick jrick deleted the v2_merklebranch branch February 14, 2025 19:23
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