token: add spending-condition inspection helpers and token_secrets() #1124
No reviewers
Labels
No labels
DB & Storage
Deployment
Error Handling & Logging
Maintenance
Payment Backend
backport
backport v0.13.x
backport v0.14.x
backport v0.15.x
bindings
blocked
bug
cdk-sql
ci
cli
deps
documentation
duplicate
enhancement
good first issue
help wanted
invalid
keep-open
ldk-node-ui
migrations
mint
mutation-testing
needs rebase
needs review
new nut
nut change
question
ready
rust-version
rustfmt
stacked hold
stale
testing
wallet
weekly-report
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cashubtc/cdk!1124
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "token-info"
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?
Description
This PR adds a lightweight API to inspect
SpendingConditionsdirectly from aTokenand without requiring Mint keysets:spending_conditionsp2pk_pubkeysp2pk_refund_pubkeyshtlc_hasheslocktimesas @davidcaseria said we should also add these to cdk-ffi.
I wonder about the hashset as the return type is that handled well my uniffi? Should we just make it a list and convert from hashset to list internally to make it a unique list. These are also going to be small lists so can probably avoid the hashset all together and just do a contains check.
@thesimplekid addressed
Successfully created backport PR for
v0.13.x: