Rusty Russell
c7d359baf4
cln-grpc: API updates after 8dd51d127f
...
Changing the JSON schemas changes this, and I didn't rebuild!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-05-19 10:00:27 +09:30
Rusty Russell
f078e54e98
lightningd: remove various deprecated JSON fields.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Removed: JSON-RPC: removed `listtransactions` `outputs` `satoshis` field (deprecated v0.10.1)
Changelog-Removed: JSON-RPC: removed `listpeers` `channels` deprecated fields (deprecated v0.10.1)
Changelog-Removed: JSON-RPC: removed `listpeers` `channels` `closer` now omitted, rather than `null` (deprecated v0.10.1)
2022-05-18 10:15:36 +09:30
Christian Decker
9a8bc777e5
msggen: Add pay descriptions and maxfee
2022-04-08 11:30:10 +09:30
Christian Decker
aae5e3d070
cln-grpc: Final generation of derived files
...
Didn't want to pollute each commit with the changes in the derived
files so here are all the changes in one commit :-)
2022-04-02 09:46:01 +10:30
Christian Decker
bba68e2136
cln-grpc: Map AmountOrAll and AmountOrAny
2022-04-02 09:46:01 +10:30
Christian Decker
04e7e285d7
cln-rpc: Map PSBT and TX methods
2022-04-02 09:46:01 +10:30
Christian Decker
eb2aa8c51c
cln-rpc: Map feerates and backfill methods using it
2022-04-02 09:46:01 +10:30
Christian Decker
20704746bc
grpc: Map sendonion
and createonion
2022-04-02 09:46:01 +10:30
Christian Decker
a7f3c54600
cln-rpc: Add invoice RPC methods
2022-04-02 09:46:01 +10:30
Christian Decker
d90aafeed6
cln-grpc: Add the connect
method
2022-04-02 09:46:01 +10:30
Christian Decker
6098386182
cln-grpc: Add the connect
method
2022-03-30 12:15:55 +10:30
Christian Decker
487b5e6169
msggen: Add meta file to keep the field numbers stable
...
We are inferring the field numbers on the fly, which isn't really
compatible with the way GRPC field numbers work, i.e., they must be
stable while the IDL file evolves. So far when a field was added in
the middle of a struct or removed all subsequent fields would get
renumbered, essentially breaking any client that was using the old
scheme.
We now add a meta file `.msggen.json` that keeps track of the numbers
assigned so far, so they can be reused, and new ones can be generated
not to conflict with existing ones. This file is intentionally kept
generic, so other generators can add more information that has to be
managed across runs.
Changelog-None
2022-03-16 11:11:58 +10:30
Christian Decker
75f0b8e916
cln-grpc: Add listpeers
RPC method
...
This is pretty much the hardest to map, but we map it correctly, with
the exception of the state_changes[] array we truncated out in the
last commit.
2022-02-28 23:25:37 +00:00
Christian Decker
d01b2c21a7
cln-grpc: Add generation of grpc protobuf file from schema
2022-02-28 23:25:37 +00:00