Commit graph

273 commits

Author SHA1 Message Date
fusion44
149bd30b15
chore: update deps and flake file 2024-12-16 15:20:46 +01:00
fusion44
803587180e fix: result array index access 2024-10-06 14:18:01 +02:00
pre-commit-ci[bot]
0c73b78f47 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-10-06 14:18:01 +02:00
Christoph Stenglein
cf4ab3963c remove ln_info_lite 2024-10-06 14:18:01 +02:00
Christoph Stenglein
408f432133 fix: send installed_app_status correctly for bitcoin only nodes 2024-10-06 11:42:00 +02:00
pre-commit-ci[bot]
3f22615e47 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-04-06 21:07:43 +02:00
fusion44
b08e53b599
fix(lnd): catch when pay requests can't be decoded
refs #247
2024-03-10 21:16:26 +01:00
fusion44
f1b657b9a1
chore: update LND gRPC files 2024-03-10 18:32:24 +01:00
fusion44
62d3f3da9b
fix: code changes for pydantic 2.4 2024-03-10 07:57:38 +01:00
fusion44
c72f78a0be
fix: adapt to latest electrs script updates
refs #246
2024-02-25 19:03:04 +01:00
fusion44
9d589a19d7
feat: improve error handling warmup data gathering
refs #245
2024-02-25 09:52:17 +01:00
fusion44
b7e9ae29fb
fix: adapt code to recent dependeny upgrades 2024-02-24 15:30:32 +01:00
fusion44
67b72dc755
feat: improve get-raw-tx endpoint error handling 2024-02-24 07:59:44 +01:00
fusion44
699bcaa912
fix: remove versioning and fix a linter warnings
The versioning package was incompatible with the latest FastAPI updates
2024-02-22 20:43:15 +01:00
fusion44
40880154eb
feat: implement system/health endpoint
This currently does nothing but return true. This can be used
as a ping endpoint to see if the API is running and reachable.
2024-02-20 19:56:11 +01:00
pre-commit-ci[bot]
9bd14d161a
[pre-commit.ci] pre-commit autoupdate (#240)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.12.1 → 24.2.0](https://github.com/psf/black/compare/23.12.1...24.2.0)
- [github.com/astral-sh/ruff-pre-commit: v0.1.14 → v0.2.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.14...v0.2.1)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-02-18 12:11:15 +01:00
fusion44
00e56ba155
feat(#237): implement app_status_advanced endpoint (#238)
Some apps might give status information that is computationally to
expensive to include in the normal status endpoint which can be polled
more often.

closes #237
2024-02-18 12:10:35 +01:00
fusion44
9adcc866fb
feat: add nix flake (#216) 2023-10-29 19:29:25 +01:00
fusion44
d0d1380eea
feat: implement remote debugging on a remote machine (#207)
closes #206 

* feat: implement remote debugging on a RaspiBlitz
* docs: reverse the prep steps
* fix: ruff line length warning
2023-06-25 08:01:43 +02:00
fusion44
adf472ac8b feat: implement Ruff as a linter; fix given errors 2023-06-25 07:17:00 +02:00
fusion44
8d93ce608f
fix: ln-info delivers wrong identity_uri #202 2023-05-20 14:13:24 +02:00
Christoph Stenglein
82546273c1
fix: send missing app install messages on install / uninstall (#208)
fix: send missing app install messages on install / uninstall
2023-05-20 11:44:09 +02:00
fusion44
9f8631c581
fix: send_coins crash when calling CLN RPC 2023-05-01 20:49:52 +02:00
fusion44
e290de8933
feat: proper error handling resolving peer aliases
Implementations sometimes don't find aliases in the gossip, even if
they are openeing a channel to the pubkey. In this case an empty
string will be returned and the problem logged in debug mode.

refs #199
2023-05-01 20:48:10 +02:00
fusion44
467d23a2c3
feat: improvements and fixes for send-coins
both:
feat: add send_all field to SendCoinsResponse

CLN_gRPC only:
feat: improve error handling
fix: return a status 412 when no funds are  available to send

CLN_gRPC only:
fix: send-coins sending incorrect amount
2023-05-01 13:28:58 +02:00
fusion44
02597754bf
docs: improve docs for send-coins 2023-04-23 18:34:27 +02:00
fusion44
71ad84e704
feat: improve logging and error handling 2023-04-21 22:58:29 +02:00
fusion44
fd4d70fa9a
fix: CLN gRPC logging import 2023-04-12 19:18:35 +02:00
fusion44
494c8c3477
feat: add the RaspiBlitz CLN specialization
RaspiBlitz has build an unlock feature on top of CLN
2023-04-09 18:38:51 +02:00
fusion44
909fac4702
fix: wrong wallet balance calculation (CLN j+gRPC)
Calculations didn't account for reserved utxo's and
where shown as available.
2023-04-09 18:21:20 +02:00
fusion44
57a3718a18
fix: CLN JRPC crash and initialization improvement
- fix: Crash in send-coins incorrectly assigning a value to a variable
- improvement: Robustness of the init code. Better detect a invalid
               RPC file path
2023-04-08 20:30:14 +02:00
fusion44
3826fd93a0
fix: a few smaller bugs
- CLN-JRPC: short_channel_id is not available while a channel is
  confirming => return an empty string
- CLN-GRPC: don't send all=False with the amount flag when opening a
  channel as it'll lead to an erro
- CLN-GRPC: don't utf8-decode the open-channel result
2023-04-07 20:59:44 +02:00
fusion44
eca87a5019
feat: improve logging for lnd and cln grpc 2023-04-03 20:17:48 +02:00
fusion44
06d6779eeb
feat: improve error handling in CLN gRPC 2023-04-03 19:15:55 +02:00
fusion44
b3262c5a38
fix: increase gRPC max receive message size
refs #125
2023-04-03 18:49:48 +02:00
fusion44
bcd1e782c3
fix: parsing errors 2023-04-02 20:27:05 +02:00
fusion44
b8810d2204
feat: bolt11 cache as a function in CLN JSON-RPC 2023-04-02 20:23:27 +02:00
fusion44
b4fe14de33
fix: open channel key error 2023-04-02 20:23:10 +02:00
fusion44
60bb7e519f
feat: check pay status before attempting payment
CLN returns no error when a payment was already completed before.
This commit adds a check to the payment status before attempting to
complete the payment. If the payment was already completed, the API
returns an exception.
2023-04-02 16:50:33 +02:00
fusion44
114b76c3d2
feat: implement close channel in CLN JSON-RPC 2023-04-02 14:48:35 +02:00
fusion44
d40790e5f4
fix: crashes in CLN JSON RPC implementation 2023-04-02 12:58:04 +02:00
fusion44
c73b8e9f15
feat: improve error detection in CLN JSON RPC 2023-04-02 12:57:27 +02:00
fusion44
eda5b3b17e
feat: implement listen forwards for CLN JSON RPC 2023-04-02 12:53:03 +02:00
fusion44
98b5912b23
feat: improve logging and error handling
* SSE client warmup data now logs errors properly
* apps module now logs errors properly
2023-04-02 11:09:43 +02:00
fusion44
572804033b
fix: increase buffer size for the socket reader 2023-03-30 19:41:32 +02:00
fusion44
507a32e372
feat: implement listen invoices in CLN JSON-RPC 2023-03-29 20:38:35 +02:00
fusion44
94179cc5da
feat: add CLN JSON-RPC implementation 2023-03-26 20:53:50 +02:00
fusion44
bb0dcd69d2
feat: update CLN_GRPC where gRPC are available
refs #99
2023-03-13 21:51:38 +01:00
fusion44
c03cd6c5d1
feat: further improvements to logging 2023-03-13 18:22:34 +01:00
fusion44
fcbae78956
chore: update dependencies 2023-03-12 16:33:41 +01:00