Dusty Daemon
|
8d5be61fcb
|
clnrest: Change process method to fork
On mac the clnrest plugin hangs on log messages, causing it to never run.
This guide suggests switching to fork’ing instead of spwan’ing
https://superfastpython.com/multiprocessing-common-errors/#Error_2_print_Does_Not_Work_In_Child_Processes
Switching to fork fixes the hang on Mac.
Changelog-None
|
2023-08-24 19:36:42 +09:30 |
|
Shahana Farooqui
|
637f314bc6
|
plugin/clnrest: Improved readme and comments
- Adding runes info in readme
- Added extra comments in the code
- System exit on shutdown
- Replaced single quotes with double quotes
Changelog-None
|
2023-07-30 16:50:04 +09:30 |
|
Shahana Farooqui
|
911d2c117e
|
plugins/clnrest: Websocket Server
- Added Dependencies
- Updated WS client instructions
- WS Server
|
2023-07-25 19:20:16 +09:30 |
|
Rusty Russell
|
2ab0b4af3e
|
plugins/clnrest: disable ourselves unless rest-port is set.
This mirrors grpc's behavior, and avoids listening on ports without
explicit user permission.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
2023-07-25 19:20:16 +09:30 |
|
Rusty Russell
|
a6701bf180
|
plugins/clnrest: fail gracefully if dependencies not installed.
json and sys are Python built-in packages, so we can do this.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
2023-07-25 19:20:16 +09:30 |
|
Shahana Farooqui
|
21160aa6a7
|
plugin: clnrest
plugin: clnrest
|
2023-07-25 19:20:16 +09:30 |
|