xphade
d1cae88062
Assert mint_private_key is available at startup ( #208 )
...
* Assert `mint_private_key` is available at startup
If the mint's private key is not available, the ledger cannot be created
because no pubkey can be derived. We now explicitly assert this with a
descriptive error message.
Additionally fixed some typing errors.
* Shorten error message
2023-05-14 14:12:00 +02:00
calle
d201b89df2
settings: add mint derivation path ( #166 )
2023-05-01 22:39:50 +02:00
calle
89fb2787e6
Python/relative_import ( #186 )
...
* relative import all the things
* make format
* add __init__.py to cli/
* fix mypy errors
* get rid of more mypy
* mypy fix crud.py
* fix another mypy error
2023-05-01 22:39:23 +02:00
calle
87f9241de1
[Mint] Fix key rotation ( #177 )
...
* rotate keys every 5 seconds
* every 10 seconds
* do not regenerate all past keys for each epoch cycle
* remove automatic rotation
* make format
* print to logger
* rephrase print
2023-04-26 20:20:17 +02:00
calle
8f2a0d6c72
cleanup and comments ( #163 )
2023-04-16 15:51:22 +02:00
calle
190f78eb54
fix derivation path to 0/0/0/0 ( #157 )
2023-04-01 01:31:31 +02:00
calle
db27105d17
TokenV3 and new Mint startup in tests ( #149 )
...
* tokenv3 send and receive
* receive v2 and v1 tokens with tests
2023-03-28 22:35:22 +02:00
calle
f3a31fd09e
use settings module ( #136 )
...
* use settings module
2023-03-16 00:59:50 +01:00
calle
3333102327
lightning: add fakewallet ( #134 )
...
* lightning: add fakewallet
* make format
* fix mypy
* make backend configurable
* weird mypy
2023-03-07 17:49:27 +01:00
calle
5fdeecdc08
fix defaults for socks proxy and sat -> msat when ln is connected ( #130 )
2023-03-05 17:18:58 +01:00
calle
39e71b20d8
Mint database setting ( #126 )
...
* mint: new .env variable MINT_DATABASE
* make format
2023-03-05 11:13:55 +01:00
calle
2d66aeb79c
Fix invoice asyncio wrapper ( #113 )
...
* mypy: fix lightning backend warnings
* fix asyncio invoice creation
* ignore weird mypy error
2023-02-25 16:44:51 +01:00
callebtc
6f913e3cc9
make format
2022-10-15 00:59:21 +02:00
callebtc
189fb7c5db
force sorted dictionary for keyset calculation
2022-10-15 00:58:49 +02:00
callebtc
a84b04605e
refactor
2022-10-13 22:11:00 +02:00
callebtc
3437af041e
ability to specify the keyset for generating promises mint
2022-10-13 20:07:04 +02:00
callebtc
8721694785
can import, migration dont work yet
2022-10-12 20:52:35 +02:00
callebtc
fe9de4cbca
restart imports
2022-10-11 10:08:05 +02:00
callebtc
244ea4a343
multiple keysets per mint
2022-10-08 19:25:03 +02:00
callebtc
fad9b91061
mint saves keyset ids
2022-10-08 15:08:20 +02:00
callebtc
52250fae77
make format
2022-10-08 13:57:00 +02:00
callebtc
6ce15da527
keyset working
2022-10-08 13:56:01 +02:00
callebtc
3581f7ccd2
p2sh working
2022-10-03 00:05:13 +02:00
callebtc
68bae0d1cf
isort and flask remove
2022-09-28 17:57:45 +02:00
callebtc
001b5e24a0
refactor
2022-09-28 17:42:48 +02:00