mirror of
https://github.com/aljazceru/nutshell.git
synced 2026-01-28 13:04:20 +01:00
Mint Management gRPC Server (#723)
* settings * fix name settings * management rpc * hook up the RPC server * working * format * update build script fix import error * remove accidental commit of vscode extension data * working ✔ * \n * add get mint quote get melt quote * gRPC cli update quotes commands * update mint melt quotes from cli * comment under get cli command group * keyset rotation not yet implemented * try fix * change back contact info default to be empty list * fix import * add server mTLS * ll * script for generating certificates * rename settings * move generation script * do not save TTL expiry into Cache object, rather always load from settings. * update lightning fees * update auth limits * auth rate limit cli * optional arguemnts * better error messages * tests for db update mint/melt quotes * start mint rpc tests * add tos_url field to get-info grpc response * format checks * add types to click groups where it's needed * tests on updating quotes * fix tests * skip updating mint quote state if on regtest * test edge case * unified test_add_remove_contact * mark pytest-asyncio * fix missing db argument * hopefully no more silly errors * fix test_db_update_mint_quote_state * pass in the quote id string. * add keyset rotation * test for keyset rotation through gRPC command * fix logger warning * remove rotation test because it breaks other tests * use different bolt11 invoices * assert returned melt quote has quote * is_postgres * try different things * skip if deprecated api * format checks * update .gitignore * default location for certificates
This commit is contained in:
@@ -117,6 +117,15 @@ LIGHTNING_FEE_PERCENT=1.0
|
||||
# minimum fee to reserve
|
||||
LIGHTNING_RESERVE_FEE_MIN=2000
|
||||
|
||||
# Mint Management gRPC service configurations
|
||||
MINT_RPC_SERVER_ENABLE=FALSE
|
||||
MINT_RPC_SERVER_ADDR=localhost
|
||||
MINT_RPC_SERVER_PORT=8086
|
||||
MINT_RPC_SERVER_MUTUAL_TLS=TRUE
|
||||
MINT_RPC_SERVER_KEY="./server_private.pem"
|
||||
MINT_RPC_SERVER_CERT="./server_cert.pem"
|
||||
MINT_RPC_SERVER_CA="./ca_cert.pem"
|
||||
|
||||
# Limits
|
||||
# Max mint balance in satoshis
|
||||
# MINT_MAX_BALANCE=1000000
|
||||
|
||||
Reference in New Issue
Block a user