rgb-cln/cli
darosior 3510c29e5d common: move json_stream helpers to common/json
Now that we have json_stream in common/, we can move all the related
helpers from lightningd/json to common/json. This way everyone can
benefit of them (including libplugin, the plugins themselves,
potentially lightning-cli), not lightningd alone!

Note that the Makefile of the common/test/ had to be modified, because
the new helpers make use of common/wireaddr... Which turns out to
\#include <lightingd/lightningd.h> ! So we couldnt just include the .c
and add mocks if we redefined some structs (hello run-param).
2020-02-04 13:24:32 +10:30
..
test common: move json_stream helpers to common/json 2020-02-04 13:24:32 +10:30
Makefile common: move json_stream helpers to common/json 2020-02-04 13:24:32 +10:30
lightning-cli.c cli: make '--rpc-file' take over other config options if absolute 2019-12-26 12:49:23 +08:00