Commit graph

375 commits

Author SHA1 Message Date
fusion44
fc2ba6fcff
feat: nix shell improvements 2024-01-14 11:02:25 +01:00
pre-commit-ci[bot]
b4676e1670
[pre-commit.ci] pre-commit autoupdate (#235)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.1.11](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.9...v0.1.11)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-14 10:12:35 +01:00
fusion44
956d7dc9f9
chore: update dependencies 2024-01-14 10:11:22 +01:00
dependabot[bot]
6edad7ac48
chore(deps): bump aiohttp from 3.8.5 to 3.9.0 (#233)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.5 to 3.9.0.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.5...v3.9.0)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-07 17:07:40 +01:00
pre-commit-ci[bot]
18f4569f65
[pre-commit.ci] pre-commit autoupdate (#230)
updates:
- [github.com/psf/black: 23.10.0 → 23.12.1](https://github.com/psf/black/compare/23.10.0...23.12.1)
- [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2)
- [github.com/astral-sh/ruff-pre-commit: v0.1.1 → v0.1.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.1...v0.1.9)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-07 17:06:49 +01:00
fusion44
7cb062cbec
chore: update Makefile and gitignore 2024-01-03 21:19:56 +01:00
fusion44
42790f7b67
feat: update flake file 2024-01-03 20:58:28 +01:00
fusion44
8755971bb9
feat: update and add Ruff to the flake file 2023-11-29 19:34:25 +01:00
fusion44
9adcc866fb
feat: add nix flake (#216) 2023-10-29 19:29:25 +01:00
fusion44
1c4b044f44
feat: add enable and disable prometheus scripts 2023-10-29 19:03:50 +01:00
fusion44
a4cc6e46f9
refactor: remove old style docker files 2023-10-29 19:01:31 +01:00
dependabot[bot]
d1b1170772
chore(deps): bump certifi from 2023.5.7 to 2023.7.22 (#229)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.5.7 to 2023.7.22.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.05.07...2023.07.22)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 07:56:20 +01:00
dependabot[bot]
d9c7d28303
chore(deps): bump urllib3 from 1.26.16 to 1.26.18 (#228)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.16 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.16...1.26.18)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 07:52:57 +01:00
dependabot[bot]
486f9a7854
chore(deps): bump aiohttp from 3.8.3 to 3.8.5 (#223)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.3 to 3.8.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.3...v3.8.5)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-29 07:52:44 +01:00
pre-commit-ci[bot]
1d2711648e
[pre-commit.ci] pre-commit autoupdate (#222)
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v4.5.0)
- [github.com/psf/black: 23.3.0 → 23.10.0](https://github.com/psf/black/compare/23.3.0...23.10.0)
- [github.com/astral-sh/ruff-pre-commit: v0.0.276 → v0.1.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.276...v0.1.1)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-10-29 07:52:19 +01:00
dependabot[bot]
191c77b4d4
chore(deps): bump grpcio from 1.50.0 to 1.53.0 (#218)
Bumps [grpcio](https://github.com/grpc/grpc) from 1.50.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc/releases)
- [Changelog](https://github.com/grpc/grpc/blob/master/doc/grpc_release_schedule.md)
- [Commits](https://github.com/grpc/grpc/compare/v1.50.0...v1.53.0)

---
updated-dependencies:
- dependency-name: grpcio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-08 13:11:42 +02:00
pre-commit-ci[bot]
3269818cac
[pre-commit.ci] pre-commit autoupdate (#217)
updates:
- https://github.com/charliermarsh/ruff-pre-commithttps://github.com/astral-sh/ruff-pre-commit
- [github.com/astral-sh/ruff-pre-commit: v0.0.275 → v0.0.276](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.275...v0.0.276)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-08 13:11:08 +02:00
pre-commit-ci[bot]
7d3619e337
chore: [pre-commit.ci] pre-commit autoupdate (#215)
updates:
- [github.com/charliermarsh/ruff-pre-commit: v0.0.267 → v0.0.275](https://github.com/charliermarsh/ruff-pre-commit/compare/v0.0.267...v0.0.275)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-07-02 12:59:40 +02: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
pre-commit-ci[bot]
698654400c [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)
2023-06-25 07:18:31 +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
fa474976da
feat: enable file logging in regtest docker images 2023-05-01 09:49:03 +02:00
fusion44
02597754bf
docs: improve docs for send-coins 2023-04-23 18:34:27 +02:00
fusion44
2b7cedbe01
fix: regtest docker bitcoin core credentials 2023-04-23 18:30:23 +02:00
fusion44
71ad84e704
feat: improve logging and error handling 2023-04-21 22:58:29 +02:00
fusion44
72862f8d6a
feat: specialize CLN containers; change default pw
* docker CLN1 => gRPC provider
* docker CLN2 => jRPC provider
* pw lnbits -> regtester
2023-04-12 19:22:13 +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
88e8d1feab
feat: avoid dev dependencies in requirements file 2023-04-09 18:26:24 +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