Commit Graph

66 Commits

Author SHA1 Message Date
thesimplekid
7ea568e615 feat: sql store signatures dleq 2024-09-30 12:20:43 +02:00
thesimplekid
ca6fdb5bff feat: return change in check quote 2024-09-30 09:47:23 +02:00
thesimplekid
5139c47dac feat: check outgoing payment status flow 2024-09-25 20:28:05 +02:00
thesimplekid
974796400d feat: get proofs for quote id 2024-09-23 14:05:28 +02:00
thesimplekid
fa8776998a feat(mint): store mint_quote_id for blind sig 2024-09-21 11:13:30 +02:00
thesimplekid
117443d126 feat: store melt_quote_id for proof 2024-09-21 11:13:30 +02:00
Pavol Rusnak
1021ec5299 chore: bump bitcoin + lightning-invoice deps 2024-09-09 12:09:46 +01:00
thesimplekid
3bf1a3b28f chore: version cdk in other crates 2024-09-08 22:12:06 +01:00
thesimplekid
f7e4ea3a6c Release 0.4.0 2024-09-08 21:48:51 +01:00
thesimplekid
2fdf48cc72 feat: remove mint and wallet errors 2024-09-08 11:48:52 +01:00
thesimplekid
03e1d88f3c feat: remove mutex from redb wallet 2024-09-07 14:50:42 +01:00
thesimplekid
9c08b299e5 feat: remove mutex from redb mint 2024-09-07 14:49:54 +01:00
thesimplekid
1eb14703a5 refactor: cdk MSRV 2024-09-03 12:35:35 +01:00
David Caseria
d0d7281c77 Modify WalletDatabase trait to better support db transactions 2024-08-24 17:32:59 +03:00
Pavol Rusnak
9eff00bcaf fix: make capitalization of error messages consistent 2024-08-19 13:53:26 +02:00
thesimplekid
bcb4a5927d refactor: remove the use of flat maps 2024-08-17 14:35:52 +02:00
Caleb Beery
40554987e1 feat: new struct 'MintUrl' which trims trailing slashes (#283)
https://github.com/cashubtc/nuts/pull/151/files
2024-08-12 19:32:44 +00:00
thesimplekid
e4069c0243 chore: use workspace version 2024-08-08 10:11:31 -04:00
thesimplekid
ba19663531 feat(mint): issued and redeamed by keyset 2024-07-25 08:43:14 -04:00
thesimplekid
fa3f6c4b38 chore: instrument logging on wallet db 2024-07-23 15:35:37 +01:00
thesimplekid
97fd83c8f4 feat(mint): add get blinded_sig by keyset 2024-07-22 16:43:26 +01:00
thesimplekid
a96ba31784 refactor: remove get single blinded sig 2024-07-20 10:19:12 +01:00
thesimplekid
c376226910 fix(redb): adding proof state to returned list twice 2024-07-19 09:13:09 +01:00
thesimplekid
6705761aec fix: dont update proof state if already spent 2024-07-19 00:30:59 +01:00
thesimplekid
c880a623cb fix: commit redb update state 2024-07-19 00:13:46 +01:00
thesimplekid
fb014573c1 refactor: use sproof state update 2024-07-18 23:07:09 +01:00
thesimplekid
9789475686 feat: remove unused db fns 2024-07-18 23:07:09 +01:00
thesimplekid
4f240f3953 refactor(wallet/database): get_proofs returns Vec<ProofInfo> instead of Option<Vec<ProofInfo>> 2024-07-16 15:03:05 +01:00
thesimplekid
373a4203b2 refactor(cdk/cdk_database): rename add_active_keyset to set_active_keyset 2024-07-16 09:21:51 +01:00
thesimplekid
d45019ae8b refactor: add_blind_signature to add_blind_signatures 2024-07-16 01:31:35 +01:00
thesimplekid
ed007c475e refactor: get spent and pending proofs by list of secrets or ys 2024-07-16 00:40:28 +01:00
thesimplekid
27568c247b release: 0.2.0 2024-07-11 21:24:58 +01:00
thesimplekid
17263b07f5 feat(NUT02): add input_fee_ppk
chore: instrument log on mint fns
2024-07-11 12:22:20 +01:00
thesimplekid
8b775cb7f1 feat: wait invoice is stream of request_lookup_id 2024-07-05 23:49:31 +01:00
thesimplekid
6a315fc3b9 feat: mintd axum server
feat: deafult NUT-04 and NUT-05 settings to enable bolt11 sats
2024-07-05 23:49:31 +01:00
thesimplekid
c7b9da0430 chore: update cargo meta 2024-06-29 12:18:05 +01:00
thesimplekid
5db6eaa858 fix: default state sql
fix(mint/sqlite): add pending proof state

fix(mint): adding proof to pending before checking current

fix(mint): remove double call to verify melt quote
2024-06-29 09:03:57 +01:00
thesimplekid
b528964fb6 chore: readmes
chore: doc comments on public
2024-06-28 15:37:10 +01:00
thesimplekid
b0bfaec94a feat: add and remove proofs use vecs 2024-06-27 23:11:54 +01:00
thesimplekid
7223c5bda8 feat(NUT05): update with quote state
feat(NUT04): update with quote state

feat: db migrations for mint state

chore: remove logging
2024-06-27 20:35:19 +01:00
thesimplekid
04a463be1f feat(wallet): make wallet single mint and unit
feat(wallet): cli use mint with one url and unit

feat(wallet): remove p2pk keys from wallet

feat(wallet): multimint wallet
2024-06-27 12:09:44 +01:00
thesimplekid
54c50c3724 feat(wallet): update mint url
feat(cli): add change mint
2024-06-25 10:44:59 +01:00
thesimplekid
5123571687 feat(cli): working dir 2024-06-24 12:20:35 +01:00
thesimplekid
2e86dbb630 refactor: mint info as part of mint not in db 2024-06-05 00:47:29 +01:00
thesimplekid
efd9b39722 refactor: store keyset by id 2024-06-02 20:43:26 +01:00
thesimplekid
5f6a207cec fix: set send proofs to reserved instead of removing 2024-05-26 21:41:49 +01:00
thesimplekid
1f2a49b4bb refactor: select proofs on spending condition 2024-05-26 21:41:47 +01:00
thesimplekid
50bd16fc2b refactor: get_proofs returns ProofInfo 2024-05-26 21:36:06 +01:00
thesimplekid
44e39bd3ee refactor: get proofs by spending condition 2024-05-26 21:36:06 +01:00
thesimplekid
10a38247ce refactor: database use one proofs table 2024-05-26 21:36:06 +01:00