Incorporate CDK NUT-XX mint quote lookup (vnprc/cdk fix/nutxx-lookup) #7
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
vnprc/hashpool#7
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Point hashpool's CDK dependency at the new NUT-XX mint quote lookup work so the mint serves
POST /v1/mint/quote/pubkey, letting a wallet holding a NUT-20 locking key retrieve its mint quotes with a signed request instead of relying only on locally stored quote ids.Primary goals:
protocols/Cargo.toml,roles/Cargo.toml, cdk-ehash's[patch.crates-io],devenv.nixcdkRepo/cdkCommit) move together fromcashubtc/cdkrev1572941d(0.16.0) tovnprc/cdkbranchfix/nutxx-lookuprev7011eebc(0.17.0).0.16.0→0.17.0inprotocols/ehash/Cargo.toml,roles/mint/Cargo.toml,roles/translator/Cargo.toml, and cdk-ehash'sCargo.toml, so cargo resolution matches the patched source.7011eebcsits 265 commits past the current pin; fix whatever API breakage surfaces in cdk-ehash and the mint/translator/pool roles until both workspaces compile and tests pass.Current state and specifics
hashpool builds against
cashubtc/cdkrev1572941d(0.16.0), pinned inprotocols/Cargo.toml:17-23,roles/Cargo.toml:29-37,devenv.nix:31-32, and cdk-ehashCargo.toml:37-43(hashpool consumes cdk-ehash at rev40fdebeviaroles/mint/Cargo.toml:25). The lookup feature lives onvnprc/cdkbranchfix/nutxx-lookup(tip7011eebc, based on upstream main at23fa905d): newnutxxmodule incashu, a v1 router route incdk-axum, a by-pubkey quote query incdk-sql-commonplus sqlite migrations, and mint-side signature verification incdk. Since1572941dupstream also moved 254 commits and the workspace version went 0.17.0.cdk-ehash
mainis protected, so its pin bump lands by PR on a branch; hashpool then consumes the new cdk-ehash rev.Validation
Both workspaces (
protocols/,roles/) and cdk-ehash compile with all targets and their full test suites pass (protocols 55, roles 51 suites, cdk-ehash 16) under rustc 1.97.1 via the cdk repo nix dev shell — the hashpool devenv shell currently stalls on this VM realizing the uncached bitcoind-gunix input (vnprc/hashpool#6), and devenv's pinned nixpkgs rustc 1.95.0 exceeds cdk's 1.85 MSRV. Runtimedevenv upmining smoke test remains a human gate, as with prior CDK bumps.Scope
In scope: the dependency move, version bumps, lockfile regeneration, and compile/test fixes in cdk-ehash and hashpool. Out of scope: wiring any hashpool role to actually call the new lookup endpoint (follow-up work once the dependency lands), and upstreaming
fix/nutxx-lookuptocashubtc/cdk.