Add MultiMintWallet function to check proofs state #1374

Merged
davidcaseria merged 1 commit from mmw-check-proofs-state into main 2025-12-02 21:31:37 +00:00
davidcaseria commented 2025-12-02 19:48:40 +00:00 (Migrated from github.com)

Description

Add check_proofs_state method to MultiMintWallet for checking proof states via NUT-07.


Notes to the reviewers

Delegates to the existing Wallet::check_proofs_spent method and extracts the state from each response.


Suggested CHANGELOG Updates

CHANGED

ADDED

  • MultiMintWallet::check_proofs_state - check proof states at a specific mint (core returns Vec<State>, FFI returns Vec<ProofState>)

REMOVED

FIXED


Checklist

### Description Add `check_proofs_state` method to MultiMintWallet for checking proof states via NUT-07. ----- ### Notes to the reviewers Delegates to the existing `Wallet::check_proofs_spent` method and extracts the state from each response. ----- ### Suggested [CHANGELOG](https://github.com/cashubtc/cdk/blob/main/CHANGELOG.md) Updates #### CHANGED #### ADDED - `MultiMintWallet::check_proofs_state` - check proof states at a specific mint (core returns `Vec<State>`, FFI returns `Vec<ProofState>`) #### REMOVED #### FIXED ---- ### Checklist * [x] I followed the [code style guidelines](https://github.com/cashubtc/cdk/blob/main/CODE_STYLE.md) * [x] I ran `just final-check` before committing
thesimplekid (Migrated from github.com) approved these changes 2025-12-02 21:31:19 +00:00
cdk-bot commented 2025-12-02 21:33:34 +00:00 (Migrated from github.com)

Successfully created backport PR for v0.14.x:

Successfully created backport PR for `v0.14.x`: - #1376
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cashubtc/cdk!1374
No description provided.