Commit Graph

942 Commits

Author SHA1 Message Date
thesimplekid
8ab545ae44 Merge pull request #889 from gudnuf/fix/ws-melt-updates-include-change
fix: include change in melt quote state updates
2025-07-23 15:01:33 +01:00
lollerfirst
d07388d1ce refactor Nut10SecretRequest and add tests with provided test vectors (#900)
* refactor Nut10SecretRequest and add tests with provided test vectors
2025-07-23 14:55:27 +01:00
asmo
e639bd4021 fakewallet: convert sat to msat (#899) 2025-07-22 15:27:18 +02:00
David Caseria
f018465aa6 Refactor MintBuilder (#887)
* Refactor MintBuilder
* Validate azp instead of aud for client id
2025-07-19 18:13:11 +02:00
findingsov
7f0e261a25 Update README.md-small typo (#893)
could not find cdk-mint-cli in crates.io.  Found cdk-mint-rpc.
2025-07-17 09:38:32 +02:00
David Caseria
bd2fbb13f9 Wallet: Check Pending Melt Quotes (#895)
* Add transaction for pending melt

* Check pending melt quotes

* Fix imports
2025-07-17 09:37:38 +02:00
David Caseria
3ce8d6bb16 Merge remote-tracking branch 'upstream/main' into get-active-mint-quotes 2025-07-16 14:00:33 -04:00
gudnuf
21a32b6b0f fix: include change in melt quote state updates 2025-07-14 06:56:40 -07:00
thesimplekid
ae6c107809 feat: bolt12 2025-07-13 18:48:35 +01:00
vnprc
180a7c41b7 fix: return the correct error when fetching config values
do not always return UnknownQuoteTTL
return UnknownMintInfo when appropriate
add a new UnknownConfigKey for unknown key values
unit tests to cover this functionality
2025-07-11 19:59:08 -04:00
asmo
526cadf539 refactor mintd main function (#778) 2025-07-11 10:32:11 +01:00
David Caseria
a308702376 Filter active mint quotes for wallet 2025-07-10 14:58:00 -04:00
David Caseria
1cae6caae1 Merge remote-tracking branch 'upstream/main' into get-active-mint-quotes 2025-07-10 14:54:36 -04:00
thesimplekid
e2a2646f71 Merge pull request #876 from thesimplekid/mprocs
feat: mprocs regtest
2025-07-08 11:56:54 +01:00
thesimplekid
ea0b696db9 fix: cln mprocs logging 2025-07-08 11:33:21 +01:00
thesimplekid
44ca7e48dc feat: remove rexie 2025-07-07 13:53:05 +01:00
thesimplekid
dc3214894f Merge pull request #873 from thesimplekid/remove_mint_quote_startup_check
chore: remove start up pending mint check
2025-07-06 14:25:12 +01:00
thesimplekid
c4a8ea28c7 Merge pull request #872 from thesimplekid/remove_reb_feature
chore: remove unused redb
2025-07-06 14:24:57 +01:00
thesimplekid
d99f228acf chore: remove unused redb 2025-07-06 11:30:59 +01:00
thesimplekid
4e3af789f3 chore: remove start up pending mint check 2025-07-06 10:56:29 +01:00
David Caseria
54f53eb877 Fix get_active_mint_quotes logic 2025-07-03 16:39:12 -04:00
David Caseria
abb43c39b1 Wallet: Get active mint quotes 2025-07-03 16:07:14 -04:00
gudnuf
49c0e4f0e5 fix: install CryptoProvider when starting RPC server 2025-07-02 18:31:37 -07:00
gudnuf
074279214b chore: add \enabled_check_proof_state\ to example.config.toml 2025-07-01 09:43:05 -07:00
gudnuf
48c42e6260 fix: add cors headers to auth routes 2025-06-30 14:22:28 -07:00
mountdisk
0e3b23534a chore: fix some minor issues in the comments
Signed-off-by: mountdisk <mountdisk@icloud.com>
2025-06-30 19:33:29 +08:00
thesimplekid
b4728d7257 feat: refund multi sig 2025-06-28 12:09:33 +01:00
C
238b09d56a Split the database trait into read and transactions. (#826)
* Split the database trait into read and transactions.

The transaction traits will encapsulate all database changes and also expect
READ-and-lock operations to read and lock records from the database for
exclusive access, thereby avoiding race conditions.

The Transaction trait expects a `rollback` operation on Drop unless the
transaction has been committed.

* fix: melt quote duplicate error

This change stops a second melt quote from being created
if there is an existing valid melt quote for an invoice already.
If the first melt quote has expired then we allow for a new melt quote to be created.

---------

Co-authored-by: thesimplekid <tsk@thesimplekid.com>
2025-06-28 12:07:47 +01:00
thesimplekid
3f84b3b4c8 Merge pull request #858 from thesimplekid/mint_error_code
fix: mint error codes
2025-06-27 22:48:07 +01:00
thesimplekid
9de3314817 fix: mint error codes 2025-06-27 21:49:44 +01:00
thesimplekid
ea227308b5 Merge pull request #855 from davidcaseria/send-options-max-proofs
Provide option to limit the send token size
2025-06-27 21:38:53 +01:00
David Caseria
8d32af740e Add Amount::convert_unit convenience method 2025-06-27 15:28:39 -04:00
David Caseria
5fe8b11654 Provide option to limit the send token size 2025-06-27 11:45:00 -04:00
thesimplekid
dd81b9a947 fix: name of blinded_message col in blind_signature (#845) 2025-06-27 09:19:56 +01:00
thesimplekid
34d8ab763b fix: name of blinded_message col in blind_signature 2025-06-26 12:28:22 +01:00
gudnuf
78c3a9f807 fix: also check UNPAID mint quotes on startup (#844)
* fix: also check UNPAID mint quotes on startup

* chore: clippy warning

---------

Co-authored-by: thesimplekid <tsk@thesimplekid.com>
2025-06-26 11:50:53 +01:00
thesimplekid
a2b9a793a9 Merge pull request #842 from thesimplekid/remove_dead_code
chore: remove dead code
2025-06-25 21:36:52 +01:00
thesimplekid
b42e95d2b1 chore: remove dead code 2025-06-25 20:05:58 +01:00
thesimplekid
ae84c61a03 fix: cdk-cli create wallets for units mint supports 2025-06-25 19:45:20 +01:00
thesimplekid
738202b957 fix: non sat amounts on melt (#839) 2025-06-25 14:08:00 +01:00
thesimplekid
ecf879901a Merge pull request #836 from thesimplekid/fix_crypo_signatory
fix: install crypto
2025-06-25 09:43:41 +01:00
thesimplekid
dbadfc35b8 Revert "fix: creating auth keyset when auth disabled" 2025-06-24 13:34:28 +01:00
thesimplekid
ee1a978285 Merge pull request #834 from asmogo/fix_get_proofs_by_keyset_id
fix: add missing comma in SQL query
2025-06-24 11:44:34 +01:00
asmo
7a1879e6b4 fix: add missing comma in SQL query 2025-06-24 08:58:46 +02:00
thesimplekid
e016687d20 feat: remove fedimint tonic lnd (#831)
* feat: remove fedimint tonic lnd
2025-06-23 10:59:44 +01:00
thesimplekid
32009c174c Merge pull request #832 from thesimplekid/cln_rpc_new
feat: create new ClnRpc for each request
2025-06-23 10:58:46 +01:00
thesimplekid
c2d9982cc4 refactor: redb file was left in 2025-06-23 09:11:14 +01:00
thesimplekid
3ac9c199db feat: create new ClnRpc for each request
This removes the mutex from the ClnRpc client avoiding blocking the mint.
cln-grpc handles this in the same way.
https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=c-lightning
2025-06-22 23:14:14 +01:00
thesimplekid
f62992238a refactor: remove redb mint database 2025-06-21 10:32:26 +01:00
thesimplekid
cbb2d5f802 fix: creating auth keyset when auth disabled 2025-06-20 13:47:20 +01:00