Commit Graph

958 Commits

Author SHA1 Message Date
thesimplekid
a66454c387 Merge pull request #559 from thesimplekid/fix_multi_mint_token_check
fix: multi mint check
2025-01-24 11:35:26 +00:00
thesimplekid
b3a1c9fa36 fix: multi mint check 2025-01-24 11:15:40 +00:00
thesimplekid
7aa83bfbf7 Merge pull request #553 from thesimplekid/lnd_unwrap
chore: remove unwrap from lnd wait invoice
2025-01-22 15:22:07 +00:00
thesimplekid
7f51a0f646 Merge pull request #544 from thesimplekid/update_nix_channel
chore: update nix channel
2025-01-22 15:17:02 +00:00
thesimplekid
99a95c873c chore: update nix flake 2025-01-22 13:53:06 +00:00
thesimplekid
7b7d7ce946 chore: remove unwrap from lnd wait invoice 2025-01-22 13:51:26 +00:00
thesimplekid
c9c2061773 chore: update nix channel 2025-01-22 13:40:49 +00:00
thesimplekid
460ea5c09b Merge pull request #552 from ok300/ok300-fix-just-final-check
Fix "just final-check"
2025-01-21 14:53:50 +00:00
ok300
4535fa4286 Fix "just final-check" 2025-01-21 15:06:49 +01:00
thesimplekid
2e16453638 Merge pull request #549 from thesimplekid/update_example_config
feat: update example config
2025-01-20 22:38:37 +00:00
thesimplekid
b51cf3778a Merge pull request #547 from thesimplekid/update_regtest
Update regtest
2025-01-20 22:38:24 +00:00
thesimplekid
78e51b102a Merge pull request #546 from thesimplekid/remove_cargo_lock
chore: remove cargo.lock
2025-01-20 22:38:12 +00:00
thesimplekid
0fb7a75fb0 feat: update example config 2025-01-20 21:52:11 +00:00
thesimplekid
a9662d0362 refactor: add second cln node 2025-01-20 21:07:21 +00:00
thesimplekid
6bd4c0c899 feat: update regtest 2025-01-20 20:54:59 +00:00
thesimplekid
0b16606d7f chore: remove cargo.lock 2025-01-20 13:34:44 +00:00
thesimplekid
2c4cb35f24 Merge pull request #540 from findingsov/patch-4
Update example.config.toml
2025-01-17 10:46:35 +00:00
findingsov
31b2bd0e1a Update example.config.toml
It seems like 
# fee_percent=0.04
# reserve_fee_min=4

need to be under [lnd] as well 
got an error message when they weren't under [lnd]

close if not.
2025-01-16 15:25:41 -05:00
thesimplekid
0180215880 Merge pull request #539 from thesimplekid/multiple_limts
fix: extra mint/melt info limits
2025-01-16 11:46:17 +00:00
thesimplekid
b86d42b6a5 fix: extra mint/melt info limits 2025-01-16 11:22:37 +00:00
thesimplekid
411ba61d16 Merge pull request #532 from thesimplekid/refactor_itests
Refactor itests
2025-01-14 12:52:39 +00:00
thesimplekid
57a7aa09d6 refactor: pure tests 2025-01-14 12:24:30 +00:00
thesimplekid
de4a2dca1a Merge pull request #535 from hidewrong/main
chore: fix some comments
2025-01-14 12:10:03 +00:00
hidewrong
665c927c68 chore: fix some comments
Signed-off-by: hidewrong <hidewrong@outlook.com>
2025-01-14 20:03:39 +08:00
thesimplekid
190256fce6 refactor: start mint shared fn 2025-01-13 22:27:12 +00:00
thesimplekid
c5d4fa52ef refactor: regtest mint as bin 2025-01-13 20:58:19 +00:00
thesimplekid
0840dfea1a Merge pull request #531 from thesimplekid/itest_mint_builder
refactor: mint builder in itest
2025-01-13 20:22:51 +00:00
thesimplekid
1f45be28a3 refactor: mint builder in itest 2025-01-13 20:05:17 +00:00
C
8fe0982c6d Introduce cashu to host the shared types, traits and other common code (#519)
---------

Co-authored-by: thesimplekid <tsk@thesimplekid.com>
2025-01-12 12:50:05 +00:00
thesimplekid
8ac766dd62 chore: update readme for mint sig 2025-01-10 17:14:01 +00:00
thesimplekid
b4c11c6345 chore: RELEASE mintd v0.6.1 2025-01-10 16:44:43 +00:00
thesimplekid
1ec92e0109 chore: clippy 2025-01-10 16:41:36 +00:00
thesimplekid
e500a7a4a6 feat: work_dir from env 2025-01-10 16:24:44 +00:00
thesimplekid
cd7769025b Merge pull request #525 from thesimplekid/update_stable
chore: update stable rust
2025-01-06 16:15:23 +00:00
thesimplekid
d7e84aea9a chore: update stable rust 2025-01-06 14:09:44 +00:00
thesimplekid
eb8719d23c fix: mpp melt quote msats to pay (#524) 2025-01-05 16:05:32 +00:00
thesimplekid
7b9b430aa1 fix: mpp melt quote msats to pay 2025-01-05 15:15:06 +00:00
thesimplekid
6a8a5a7941 fix: mpp (#523) 2025-01-05 14:42:44 +00:00
David Caseria
d6b7d49ea9 Return proofs for wallet mint function (#520)
* chore: update flake

---------

Co-authored-by: thesimplekid <tsk@thesimplekid.com>
2025-01-03 13:23:52 +00:00
thesimplekid
6575e1477a fix: examples 2024-12-27 21:45:46 -05:00
Jesus Christ
8ab08c7fce Improve wallet example with memory store
- Replaced unwrap() calls with proper error handling using `?` operator.
- Added comments for better code understanding.
- Introduced a timeout mechanism to prevent infinite loops when checking the quote state.
- Ensured the main function returns a Result type for graceful error handling.
- Added descriptive comments to explain the functionality of each section in the code.
2024-12-27 21:19:11 -05:00
Jesus Christ
7fea2ffa92 Update proof-selection.rs
- Replaced unwrap() calls with proper error handling using `?` operator.
- Added comments for better code understanding.
- Managed the subscription mechanism properly to avoid potential issues with concurrent message handling.
- Ensured the main function returns a Result type for graceful error handling.
- Added descriptive comments to explain the functionality of each section in the code.
2024-12-27 21:17:53 -05:00
Jesus Christ
e33def2679 Improve mint-token.rs
- Replaced unwrap() calls with proper error handling using `?` operator.
- Added comments for better code understanding.
- Managed the subscription mechanism properly to avoid potential issues with concurrent message handling.
- Ensured the main function returns a Result type for graceful error handling.
2024-12-27 21:11:17 -05:00
Jesus Christ
a1ac6d3ce1 Improve p2pk.rs
- Replaced unwrap() calls with proper error handling using `?` operator.
- Added comments for better code understanding.
- Managed the subscription mechanism properly to avoid potential issues with concurrent message handling.
- Ensured the main function returns a Result type for graceful error handling.
2024-12-27 21:10:44 -05:00
C
c6e27d0de9 Add ArcSwap to update Mint configuration at runtime (#503)
* Add ArcSwap to update Mint configuration at runtime

The main goal is to change settings without having multiple RwLock everywhere,
instead having ArcSwap to update the configuration without having access to a
mutable reference to the Mint.

This will allow the RPC Server, or any other medium to update the Mint without
minimum contention.

* Rename structs

* Move quote_ttl to the new config

* Fixed clippy issues
2024-12-25 09:53:58 -05:00
thesimplekid
ccb1ee77d0 Merge pull request #446 from thesimplekid/sign_mint
feat: nut-20 signature on mint witness
2024-12-23 19:00:16 -05:00
thesimplekid
90f9f668e1 chore: db msrv 2024-12-23 11:05:56 -05:00
thesimplekid
003a8f1b47 feat: signature on mint witness 2024-12-23 10:25:42 -05:00
thesimplekid
4c70dcb15a chore: update changelog 2024-12-19 13:32:13 -05:00
lollerfirst
8055c0ced1 crawB Binary Token Serialization (#507) 2024-12-19 13:27:05 -05:00