Skip to content

Commit

Permalink
doc: msggen and pyln-testing script updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ShahanaFarooqui committed Jan 24, 2024
1 parent 35f2f1f commit b5ee65e
Show file tree
Hide file tree
Showing 9 changed files with 200 additions and 327 deletions.
33 changes: 33 additions & 0 deletions .msggen.json
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,12 @@
"ONCHAIN": 8,
"OPENINGD": 0
},
"ListpeersLevel": {
"debug": 1,
"info": 2,
"io": 0,
"unusual": 3
},
"ListpeersPeersChannelsHtlcsDirection": {
"in": 0,
"out": 1
Expand Down Expand Up @@ -1483,6 +1489,7 @@
"SendonionRequest": {
"SendOnion.amount_msat": 12,
"SendOnion.bolt11": 7,
"SendOnion.description": 14,
"SendOnion.destination": 9,
"SendOnion.first_hop": 2,
"SendOnion.groupid": 11,
Expand Down Expand Up @@ -1515,13 +1522,15 @@
"SendpayRequest": {
"SendPay.amount_msat": 10,
"SendPay.bolt11": 5,
"SendPay.description": 13,
"SendPay.groupid": 9,
"SendPay.label": 3,
"SendPay.localinvreqid": 11,
"SendPay.localofferid": 8,
"SendPay.msatoshi": 4,
"SendPay.partid": 7,
"SendPay.payment_hash": 2,
"SendPay.payment_metadata": 12,
"SendPay.payment_secret": 6,
"SendPay.route[]": 1
},
Expand Down Expand Up @@ -1614,6 +1623,10 @@
"TxDiscard.txid": 2,
"TxDiscard.unsigned_tx": 1
},
"TxprepareOutputs": {
"TxPrepare.outputs[].amount": 2,
"TxPrepare.outputs[].destination": 1
},
"TxprepareRequest": {
"TxPrepare.feerate": 2,
"TxPrepare.minconf": 3,
Expand Down Expand Up @@ -5350,6 +5363,10 @@
"added": "v23.11",
"deprecated": false
},
"SendOnion.description": {
"added": "pre-v0.10.1",
"deprecated": false
},
"SendOnion.destination": {
"added": "pre-v0.10.1",
"deprecated": false
Expand Down Expand Up @@ -5450,6 +5467,10 @@
"added": "v23.11",
"deprecated": false
},
"SendPay.description": {
"added": "pre-v0.10.1",
"deprecated": false
},
"SendPay.destination": {
"added": "pre-v0.10.1",
"deprecated": false
Expand Down Expand Up @@ -5482,6 +5503,10 @@
"added": "pre-v0.10.1",
"deprecated": false
},
"SendPay.payment_metadata": {
"added": "pre-v0.10.1",
"deprecated": false
},
"SendPay.payment_preimage": {
"added": "pre-v0.10.1",
"deprecated": false
Expand Down Expand Up @@ -5702,6 +5727,14 @@
"added": "pre-v0.10.1",
"deprecated": false
},
"TxPrepare.outputs[].amount": {
"added": "pre-v0.10.1",
"deprecated": false
},
"TxPrepare.outputs[].destination": {
"added": "pre-v0.10.1",
"deprecated": false
},
"TxPrepare.psbt": {
"added": "pre-v0.10.1",
"deprecated": false
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ ifneq ($(RUST),0)
include cln-rpc/Makefile
include cln-grpc/Makefile

$(MSGGEN_GENALL)&: doc/schemas/*.request.json doc/schemas/*.schema.json
$(MSGGEN_GENALL)&: doc/schemas/lightning-*.json
PYTHONPATH=contrib/msggen $(PYTHON) contrib/msggen/msggen/__main__.py

# The compiler assumes that the proto files are in the same
Expand Down
67 changes: 24 additions & 43 deletions cln-grpc/proto/node.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b5ee65e

Please sign in to comment.