core-lightning/contrib/pylightning/lightning
Rusty Russell 0c3f85d931 lightning.py: parse multiple JSON RPC commands accurately.
We need to keep the remaining buffer, and we need to try to parse it
before we read the next.  I first tried keeping it in the object, but
its lifetime is that of the *socket*, which we actually reopen for
every command.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-11-19 21:36:40 +01:00
..
__init__.py pylightning: Subclass ValueError to access to the returned error 2018-07-01 04:13:04 +00:00
lightning.py lightning.py: parse multiple JSON RPC commands accurately. 2018-11-19 21:36:40 +01:00