Commit graph

359 commits

Author SHA1 Message Date
fusion44
1203a2adaf
chore: update LND gRPC files 2023-06-25 08:19:23 +02:00
fusion44
d3a973fa18
feat: add push parameter for open-channel api
refs #199
2023-06-25 08:19:18 +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
fusion44
45e5a96683
chore: update redis due to security vulnerability 2023-03-29 20:50:16 +02:00
fusion44
2aac1a54de
chore: update dependencies 2023-03-29 20:44:35 +02:00
fusion44
1b2eebfe12
Merge pull request #191 from fusion44/dependabot/pip/redis-4.5.3
chore(deps): bump redis from 4.3.4 to 4.5.3
2023-03-29 20:40:23 +02:00
fusion44
507a32e372
feat: implement listen invoices in CLN JSON-RPC 2023-03-29 20:38:35 +02:00
dependabot[bot]
f95f97707c
chore(deps): bump redis from 4.3.4 to 4.5.3
Bumps [redis](https://github.com/redis/redis-py) from 4.3.4 to 4.5.3.
- [Release notes](https://github.com/redis/redis-py/releases)
- [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES)
- [Commits](https://github.com/redis/redis-py/compare/v4.3.4...v4.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 22:34:09 +00:00
fusion44
94179cc5da
feat: add CLN JSON-RPC implementation 2023-03-26 20:53:50 +02:00
fusion44
f7bec6340f
fix: adapt bootstrap timings for regtest docker 2023-03-25 10:34:26 +01: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
c88d92c00d
fix: regtest docker fixes and updates
* fix: Dockerfile copying the wrong files
* refactor: simplify regtest .env files
2023-03-12 17:35:26 +01:00
fusion44
fcbae78956
chore: update dependencies 2023-03-12 16:33:41 +01:00
fusion44
39e7281ccc
fix: p2sh-segwit address deprecation for CLN
Core Lightning deprecated p2sh-segwit addresses which caused a crash
when a newer CLN was used than the gRPC files allowed.

932ca9e91f
2023-03-12 08:38:48 +01:00
fusion44
ba1584ccba
fix: improve naming scheme in docker regtest file 2023-03-12 08:18:37 +01:00
fusion44
8848a65ae0
feat: log error messages with a stacktrace 2023-03-11 23:01:32 +01:00
pre-commit-ci[bot]
3d1dfd919c
[pre-commit.ci] pre-commit autoupdate (#187)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)

* [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>
2023-02-11 13:47:34 +01:00
fusion44
0fe94da897
feat: prepare for release 0.5.1beta 2023-02-05 21:24:31 +01:00