Commit graph

23 commits

Author SHA1 Message Date
fusion44
bdeac676c0
feat: add SQLite database support
Preparations for creating a transaction index.

refs #30
2023-04-05 22:11:29 +02:00
fusion44
94179cc5da
feat: add CLN JSON-RPC implementation 2023-03-26 20:53:50 +02:00
fusion44
0fe94da897
feat: prepare for release 0.5.1beta 2023-02-05 21:24:31 +01:00
fusion44
bd06a3cc6f
feat: improve logging by using loguru package 2022-12-18 20:55:31 +01:00
fusion44
3865d89fd5
feat: configure node acces via file paths
closes #146
2022-09-10 07:43:16 +02:00
fusion44
268bcf5072 feat: add support for bitcoin regtest 2022-08-18 20:13:50 +02:00
fusion44
2f5ce09b56
refactor: remove CLN socket impl; code cleanup
This implementation isn't used and was very inefficient due to
py-lightning not supporting asyncio.

Some minor fixes and code formatting
2022-06-12 08:06:55 +02:00
/rootzoll
2962b522b7
Fix Update Setup (#107)
* #104 fix default value
* handle update state on setup
2022-06-06 15:36:30 +02:00
Christoph Stenglein
80282c318f
add correct expiry time definition and set to 60m (#104) 2022-06-06 09:42:52 +02:00
fusion44
762b79fde2
refactor: make running without LN explicit in .env 2022-06-04 14:16:19 +02:00
fusion44
de9a96e621
feat: implement Core Lightning gRPC backend (#98)
Some remaining issues with current implementation:

Some remaining issues with current implementation:

* Some calls require shell access to lightning-cli as some gRPC calls are not yet implemented
* Getting on-chain fund flows is not as nice as it is with LND and required access to the Core Lightning SQlite database
* With current API you can only get current outputs
* High probability of bugs arising

closes #45
2022-06-04 14:10:44 +02:00
fusion44
7d452be179
feat: implement "rawblock" zmq sub as a fallback
Lightning Polar only exposes "rawblock" and not "hashblock
=> make it configurable which one to use
2022-04-05 16:40:18 +02:00
fusion44
516550bd9f
chore: format source using the pre_commit command 2022-03-20 17:20:56 +01:00
Stefan Stammberger
233a41eb96
feat: implement forward success SSE notifications
refs #64
2022-01-15 14:27:08 +01:00
Stefan Stammberger
4157058a54
feat: implement get-system-info backends
Raspiblitz and native-python implementations should work.
Only feature still missing is system health related stuff.

refs #47
2021-12-25 16:53:42 +01:00
Stefan Stammberger
228ae2100a
feat: set raspiblitz as default platform
Rationale: No need to change RaspiBlitz install scripts
2021-12-18 13:27:47 +01:00
Stefan Stammberger
ab0a8f2575
feat: fetch hardware data via Redis
To keep Blitz API platform independent two code paths have been
implemented. A new "platform" .env variable must be set if running
on a raspiblitz to fetch hardware data from Redis. See the comments
in .env_sample for further explanation.
2021-12-15 21:11:46 +01:00
Stefan Stammberger
71f87e06d7
feat: implement local cookie authentication
This is only useful for application running directly on the Raspiblitz.
This will create a file in ~/.blitz_api/.cookie with a valid JWT token.
Local applications can use this to authenticate to the API without
having to ask for the password. This is similar to how Bitcoin Cores
cookie auth works.
2021-11-28 08:42:52 +01:00
Stefan Stammberger
43783549d1
feat: implement get a raw system logs endpoint
Not tested yet on a real Raspiblitz!

refs #18
2021-09-20 11:22:50 +02:00
Stefan Stammberger
2b03882907
refactor: rename "password_a" to "password" 2021-08-17 18:53:53 +02:00
Stefan Stammberger
7ecf29cef0
feat: enhancements to /system/login
* password_a must now be posted in the request body as a json object
* password is now read from the .env file instead of hardcoded
* password will be checked if it is min 8 chars
* one_time_password is not yet in use and optional
2021-08-17 18:34:05 +02:00
Stefan Stammberger
d4de6af895
fix: update .env_sample file with ln info interval 2021-08-02 21:02:55 +02:00
Stefan Stammberger
c33351d968
refactor: move some config vars to the .env file 2021-07-25 17:24:33 +02:00
Renamed from .env (Browse further)