mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-21 19:14:19 +01:00
* add websockets for quote updates * add test (not working) * wip: emit events to everyone * wip: emit events to everyone * wip, lots of things broken but invoice callback works * wip * add wip files * tests almost passing * add task * refactor nut constants * startup fix * works with old mints * wip cli * fix mypy * remove automatic invoice test now with websockets * remove comment * better logging * send back response * add rate limiter to websocket * add rate limiter to subscriptions * refactor websocket ratelimit * websocket tests * subscription kinds * doesnt start * remove circular import * update * fix mypy * move test file in test because it fails if it runs later... dunno why * adjust websocket NUT-06 settings * local import and small fix * disable websockets in CLI if "no_check" is selected * move subscription test to where it was * check proof state with callback, add tests * tests: run mint fixture per module instead of per session * subscription command name fix * test per session again * update test race conditions * fix tests * clean up * tmp * fix db issues and remove cached secrets * fix tests * blindly try pipeline * remove comments * comments
14 lines
208 B
Python
14 lines
208 B
Python
SWAP_NUT = 3
|
|
MINT_NUT = 4
|
|
MELT_NUT = 5
|
|
INFO_NUT = 6
|
|
STATE_NUT = 7
|
|
FEE_RETURN_NUT = 8
|
|
RESTORE_NUT = 9
|
|
SCRIPT_NUT = 10
|
|
P2PK_NUT = 11
|
|
DLEQ_NUT = 12
|
|
DETERMINSTIC_SECRETS_NUT = 13
|
|
MPP_NUT = 15
|
|
WEBSOCKETS_NUT = 17
|