core-lightning/contrib
Christian Decker 0fc0ffc961 msggen: Parse JSON-RPC schemas and build the in-memory model
We build an in-memory model of what the API should look like, which
will later be used to generate a variety of bindings. In this PR we
will use the model to build structs corresponding to the requests and
responses for the various methods.

The JSON-RPC schemas serve as ground-truth, however they are missing a
bit of context: methods, and the request-response matching (as well as
a higher level grouping we'll call a Service). I'm tempted to create a
new document that describes this behavior and we could even generate
the rather repetitive JSON schemas from that document. Furthermore
it'd allow us to add some required metadata such as grpc field
numbering once we generate those bindings.

Changelog-Added: JSON-RPC: A new `msggen` library allows easy generation of language bindings for the JSON-RPC from the JSON schemas
2022-02-11 16:02:25 +01:00
..
init systemd: After=network-online.target 2019-08-20 20:14:36 +02:00
keys chore: add 3 gpg pubkeys of maintainers to the repository 2021-07-19 13:22:33 +09:30
libhsmd_python ccan: remove autodata. 2021-09-21 18:04:43 +02:00
msggen msggen: Parse JSON-RPC schemas and build the in-memory model 2022-02-11 16:02:25 +01:00
plugins JSON-RPC: getmanifest passes allow-deprecated-apis flag. 2020-08-11 08:43:18 +09:30
pylightning pylightning: Make it clear pyln-client should be used instead 2021-10-06 13:44:42 +02:00
pyln-client Update lightning.py 2022-01-08 14:15:29 +01:00
pyln-proto gci: Pin down a couple more dependencies 2021-09-28 18:34:43 +02:00
pyln-spec contrib: fix other pyln-spec package requirements too. 2021-11-17 10:50:54 +10:30
pyln-testing pyln: Delete psql DBs after testing 2022-02-11 16:02:25 +01:00
reprobuild repro: Add missing Dockerfiles 2020-09-16 06:27:12 +09:30
sanitizer_suppressions common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
bootstrap-node.sh contrib: add executable flag for bootstrap-node.sh 2020-05-05 13:27:55 +09:30
Dockerfile.builder build: add mkrd to docker install? 2020-04-19 08:07:47 +09:30
Dockerfile.builder.fedora build: add mkrd to docker install? 2020-04-19 08:07:47 +09:30
Dockerfile.tester gci: Add a tester Dockerfile 2021-01-29 10:29:09 +10:30
lightning-cli.bash-completion Fix bash completion. 2020-05-15 15:25:33 +02:00
linuxarm32v7.Dockerfile Fix dockerfile for arm32/64 2021-12-08 12:46:58 +01:00
linuxarm64v8.Dockerfile Fix dockerfile for arm32/64 2021-12-08 12:46:58 +01:00
short_channel_id-to-txid.sh Add compability to current formalism to short_channel_id-to-txid.sh 2019-10-04 00:38:52 +00:00
startup_regtest.sh queryrates: make it dev-only 2021-07-20 13:28:38 -04:00