callebtc
86b8f5811f
Mint: lookup internal quote settlement by request ( #478 )
2024-03-16 17:14:50 +01:00
callebtc
e7b1e0c0ed
Batch update Y columns in proofs_used and proofs_pending tables ( #475 )
...
* mint: migration 16 batch update
* migrate: only if data exists
2024-03-16 10:56:51 +01:00
callebtc
7ecf14f87b
Tests: mint restore api test ( #473 )
...
* tests: mint restore api test
* skipifs for deprecated tests
* use correct secret counter for tests
* docker only on release
2024-03-14 13:17:05 +01:00
callebtc
5ba19a17cf
Seed encrypt: init mint with encrypted keys after migration ( #472 )
...
* seed encrypt: init mint with encrypted keys after migration
* adjust build pipeline
2024-03-14 12:48:24 +01:00
callebtc
752ab3c4c5
Fix seed encrypt migration ( #405 )
...
* print
* print before ledger
* print
* remove decryption
* make format
2024-03-14 12:21:21 +01:00
thesimplekid
6cb967fc02
fix: mint and melt quote expiry time ( #453 )
2024-03-14 12:17:42 +01:00
findingsov
f4777aad3e
Update .env.example ( #455 )
...
StrikeWallet is StrikeUSDWallet, changed in 2 places, and added that it's usd only (in case it's not obvious).
2024-03-14 12:16:33 +01:00
callebtc
150195d66a
Token state check with Y ( #468 )
...
* Token state check with Y
* remove backwards compat for v1
2024-03-12 15:53:18 +01:00
callebtc
4f52973908
Update PostRestoreResponse class to use "signatures" instead of "promises" ( #467 )
...
* update nut-09 endpoint
* add to deprecated router and wallet
2024-03-12 15:52:20 +01:00
callebtc
ff1e7597d1
Merge both h2c tests and add tests for deterministic blinding factor generation ( #466 )
2024-03-04 15:34:51 +01:00
callebtc
72573865ad
Add checkout latest tag ( #465 )
2024-03-03 12:20:59 +01:00
callebtc
29be002495
Wallet: deprecate old h2c ( #459 )
...
* wallet: deprecate old hash to curve
* fix order
* added migration: untested
* recompute Y always
2024-02-26 23:07:13 +01:00
callebtc
53cd8ff016
bump version to 0.15.1 ( #461 )
2024-02-26 01:50:37 +01:00
callebtc
cfebf70a0a
Wallet: fix nostr receive cli linebreak prints ( #462 )
2024-02-26 01:49:51 +01:00
callebtc
a77b7dd5e8
Wallet: fix nostr receive ( #460 )
...
* fix wallet nostr receive
* add log
* add more relays and print info nicer
2024-02-26 01:25:05 +01:00
callebtc
be7a8a744f
Revert "Wallet: deprecate old hash to curve ( #457 )" ( #458 )
...
This reverts commit b06d93c5ff .
2024-02-26 00:30:42 +01:00
callebtc
b06d93c5ff
Wallet: deprecate old hash to curve ( #457 )
...
* wallet: deprecate old hash to curve
* fix order
2024-02-26 00:24:58 +01:00
callebtc
a546a246e2
Tests: add step2 domain separated test ( #456 )
...
* add step2 domain separated test
* add test3 derived from domain separated outputs
* Fix comment
2024-02-23 17:26:46 +01:00
findingsov
ac0ddd57a1
Update .env.example ( #450 )
...
* Update .env.example
Minor comment add suggestions..
* Update .env.example
* Update .env.example
* Update .env.example
* Update .env.example
* Update .env.example
---------
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com >
2024-02-21 11:13:34 +01:00
callebtc
e2c8f7f694
Add tests for domain separated h2c ( #451 )
...
* add tests for domain separated h2c
* refactor b_dhke and add domain separated test
2024-02-21 11:10:50 +01:00
callebtc
c630fc8c40
blink: return preimage ( #447 )
2024-02-19 20:17:04 +01:00
callebtc
1c2c01ccfa
test blink failed payment ( #446 )
2024-02-19 19:42:06 +01:00
callebtc
2189728771
blink: round up fees to next satoshi ( #445 )
2024-02-19 16:30:44 +01:00
callebtc
1e26f235d5
Blink: timeout for LN probes ( #444 )
...
* blink: timeout for ln probes
* make MINIMUM_FEE_MSAT a const
* format
2024-02-18 23:47:21 +01:00
callebtc
a3145a93d5
do not chcek melt status before payment attempt ( #443 )
2024-02-18 23:26:55 +01:00
callebtc
c4e8618cad
Catch CashuErrors ( #442 )
2024-02-18 23:20:44 +01:00
callebtc
03c7c61f45
Ruff pre-commit max line length ( #441 )
...
* test ruff
* test
* test
* ruff
* remove line break
* remove black configuration
2024-02-18 21:15:19 +01:00
callebtc
9c3949d197
Mint: fix Blink multiple failed attempts ( #440 )
...
* fix: blink multiple failed attempts
* fix line length again
2024-02-18 19:26:10 +01:00
callebtc
ad906df788
Mint: blink fix fee estimation ( #439 )
...
* blink: fix fee esimation
* fix line length
* fix line length
* fix line length
* remove noqa
2024-02-18 12:24:41 +01:00
callebtc
48158cd497
update ruff ( #437 )
...
* update ruff
* test
* update ruff
* update pyproject
2024-02-17 21:43:26 +01:00
callebtc
c4f4f3ccf2
Revert "Dev: Update ruff precommit hooks ( #434 )" ( #436 )
...
This reverts commit fca2a6cb4b .
2024-02-17 21:33:16 +01:00
callebtc
fca2a6cb4b
Dev: Update ruff precommit hooks ( #434 )
...
* update ruff
* test
* update ruff
* only ruff check
* CI rename
2024-02-17 21:22:07 +01:00
callebtc
c285d48edf
Add Blink backend ( #433 )
...
* wip blink
* Blink working
* check fee correctly
* add comment
* unfix lnbits
* unit test blink backend
* make format
* mypy
* settings
* add error if blink key not set
2024-02-17 20:51:37 +01:00
callebtc
94db0fc4c6
Docker: use python 3.10 ( #432 )
...
* Docker: use python 3.10
* Add Docker workflow
* Build always
* add all
2024-02-17 12:02:26 +01:00
callebtc
d1540ccb5b
wallet: add batch size setting ( #431 )
2024-02-16 15:22:41 +01:00
Steffen
1397c46ff4
add missing disabled-flag to nut4 ( #426 )
...
* add missing disabled-flag to nut4
* Update cashu/mint/router.py
---------
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com >
2024-02-16 14:07:44 +01:00
callebtc
afbde83ae2
wallet print on json deseriliaztion error and batch invalidation of proofs ( #430 )
2024-02-16 12:11:39 +01:00
callebtc
3f090c1691
Mint: add expiry to quotes, closes #385 ( #429 )
...
* add expiry to quotes, closes #385
* fix wallet deprecated mock with expiry
* expiry is an optional field
2024-02-16 11:40:46 +01:00
callebtc
ecad95715f
readd db backup ( #424 )
2024-02-15 15:58:40 +01:00
callebtc
e251e8a9ea
no backup ( #423 )
2024-02-15 14:01:06 +01:00
callebtc
d168b4b516
do not migrate in the beginning ( #422 )
2024-02-15 13:30:53 +01:00
callebtc
7c644e1835
Adjust new domain separator ( #421 )
...
* adjust new domain separator
* Update cashu/core/crypto/b_dhke.py
Co-authored-by: Lagrang3 <32647090+Lagrang3@users.noreply.github.com >
* slightly adjust comment
---------
Co-authored-by: Lagrang3 <32647090+Lagrang3@users.noreply.github.com >
2024-02-15 09:45:45 +01:00
callebtc
464c0e0ea4
DB backups before migrations ( #420 )
...
* make backups before migrations
* database tests
* postgres db backup with location string
* ignore version in pg_dump and throw warning
* install latest pg_dump
* install latest
* pg update?
* remove test from github
* skip for postgres on github actions
2024-02-11 20:23:43 +01:00
callebtc
6fd66b9d72
Mint: check that test db is different from main db ( #419 )
...
* check that test db is different from main db
* make format
2024-02-11 17:31:56 +01:00
callebtc
f74f18c9ca
Github CI with Postgres ( #417 )
...
* with postgres
* postgres test explicit
* make format
* start postgres only if needed
* remove if again
* print db
* db in matrix
* delete schema
* use new env var MINT_TEST_DATABASE for tests
* add db path to regtest
2024-02-11 15:52:02 +01:00
callebtc
78de84f3eb
drop balance views during migration ( #416 )
2024-02-11 13:49:28 +01:00
callebtc
ac8e21a3a4
relative import all ( #415 )
2024-02-11 12:51:44 +01:00
callebtc
a2b9ac8f14
relative import ( #414 )
2024-02-11 12:46:53 +01:00
callebtc
6db4604f99
Mint: store Y in db ( #412 )
...
* storage y db
* for proofs_pending as well
* pending check with Y
* fix pending table
* test_race_pending
* skip race condition test on github
* skip test on github actions
* move test_cli.py -> test_wallet_cli.py
* get full proof from memory
* add domain separation wallet
2024-02-10 22:52:55 +01:00
callebtc
1de7abf032
mint: do not print all keysets ( #410 )
2024-02-05 23:23:52 +01:00