Skip to content

Commit

Permalink
add test, update schemas, fix warning_custom_fallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguida committed Aug 16, 2023
1 parent a45542d commit 0fac5fe
Show file tree
Hide file tree
Showing 24 changed files with 693 additions and 332 deletions.
74 changes: 74 additions & 0 deletions .msggen.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"DecodepayFallbacksType": {
"P2PKH": 0,
"P2SH": 1,
"P2TR": 4,
"P2WPKH": 2,
"P2WSH": 3
},
Expand Down Expand Up @@ -384,6 +385,10 @@
"Connect.features": 2,
"Connect.id": 1
},
"CreateinvoicePaid_outpoint": {
"CreateInvoice.paid_outpoint.paid_outnum": 2,
"CreateInvoice.paid_outpoint.paid_txid": 1
},
"CreateinvoiceRequest": {
"CreateInvoice.invstring": 1,
"CreateInvoice.label": 2,
Expand All @@ -401,6 +406,7 @@
"CreateInvoice.label": 1,
"CreateInvoice.local_offer_id": 13,
"CreateInvoice.paid_at": 11,
"CreateInvoice.paid_outpoint": 17,
"CreateInvoice.pay_index": 9,
"CreateInvoice.payer_note": 14,
"CreateInvoice.payment_hash": 4,
Expand Down Expand Up @@ -798,6 +804,7 @@
"Invoice.payment_hash": 2,
"Invoice.payment_secret": 3,
"Invoice.warning_capacity": 5,
"Invoice.warning_custom_fallbacks": 11,
"Invoice.warning_deadends": 7,
"Invoice.warning_mpp": 9,
"Invoice.warning_offline": 6,
Expand Down Expand Up @@ -978,13 +985,18 @@
"ListInvoices.invoices[].label": 1,
"ListInvoices.invoices[].local_offer_id": 9,
"ListInvoices.invoices[].paid_at": 13,
"ListInvoices.invoices[].paid_outpoint": 18,
"ListInvoices.invoices[].pay_index": 11,
"ListInvoices.invoices[].payer_note": 10,
"ListInvoices.invoices[].payment_hash": 3,
"ListInvoices.invoices[].payment_preimage": 14,
"ListInvoices.invoices[].status": 4,
"ListInvoices.invoices[].updated_index": 17
},
"ListinvoicesInvoicesPaid_outpoint": {
"ListInvoices.invoices[].paid_outpoint.paid_outnum": 2,
"ListInvoices.invoices[].paid_outpoint.paid_txid": 1
},
"ListinvoicesRequest": {
"ListInvoices.index": 5,
"ListInvoices.invstring": 2,
Expand Down Expand Up @@ -1551,6 +1563,10 @@
"UtxoPsbt.psbt": 1,
"UtxoPsbt.reservations[]": 6
},
"WaitanyinvoicePaid_outpoint": {
"WaitAnyInvoice.paid_outpoint.paid_outnum": 2,
"WaitAnyInvoice.paid_outpoint.paid_txid": 1
},
"WaitanyinvoiceRequest": {
"WaitAnyInvoice.lastpay_index": 1,
"WaitAnyInvoice.timeout": 2
Expand All @@ -1565,12 +1581,17 @@
"WaitAnyInvoice.expires_at": 5,
"WaitAnyInvoice.label": 1,
"WaitAnyInvoice.paid_at": 11,
"WaitAnyInvoice.paid_outpoint": 15,
"WaitAnyInvoice.pay_index": 9,
"WaitAnyInvoice.payment_hash": 3,
"WaitAnyInvoice.payment_preimage": 12,
"WaitAnyInvoice.status": 4,
"WaitAnyInvoice.updated_index": 14
},
"WaitinvoicePaid_outpoint": {
"WaitInvoice.paid_outpoint.paid_outnum": 2,
"WaitInvoice.paid_outpoint.paid_txid": 1
},
"WaitinvoiceRequest": {
"WaitInvoice.label": 1
},
Expand All @@ -1584,6 +1605,7 @@
"WaitInvoice.expires_at": 5,
"WaitInvoice.label": 1,
"WaitInvoice.paid_at": 11,
"WaitInvoice.paid_outpoint": 15,
"WaitInvoice.pay_index": 9,
"WaitInvoice.payment_hash": 3,
"WaitInvoice.payment_preimage": 12,
Expand Down Expand Up @@ -1810,6 +1832,18 @@
"added": "pre-v0.10.1",
"deprecated": false
},
"CreateInvoice.paid_outpoint": {
"added": "v23.11",
"deprecated": false
},
"CreateInvoice.paid_outpoint.paid_outnum": {
"added": "v23.11",
"deprecated": false
},
"CreateInvoice.paid_outpoint.paid_txid": {
"added": "v23.11",
"deprecated": false
},
"CreateInvoice.pay_index": {
"added": "pre-v0.10.1",
"deprecated": false
Expand Down Expand Up @@ -3150,6 +3184,10 @@
"added": "pre-v0.10.1",
"deprecated": false
},
"Invoice.warning_custom_fallbacks": {
"added": "v23.11",
"deprecated": false
},
"Invoice.warning_deadends": {
"added": "pre-v0.10.1",
"deprecated": false
Expand Down Expand Up @@ -3714,6 +3752,18 @@
"added": "pre-v0.10.1",
"deprecated": false
},
"ListInvoices.invoices[].paid_outpoint": {
"added": "v23.11",
"deprecated": false
},
"ListInvoices.invoices[].paid_outpoint.paid_outnum": {
"added": "v23.11",
"deprecated": false
},
"ListInvoices.invoices[].paid_outpoint.paid_txid": {
"added": "v23.11",
"deprecated": false
},
"ListInvoices.invoices[].pay_index": {
"added": "pre-v0.10.1",
"deprecated": false
Expand Down Expand Up @@ -5454,6 +5504,18 @@
"added": "pre-v0.10.1",
"deprecated": false
},
"WaitAnyInvoice.paid_outpoint": {
"added": "v23.11",
"deprecated": false
},
"WaitAnyInvoice.paid_outpoint.paid_outnum": {
"added": "v23.11",
"deprecated": false
},
"WaitAnyInvoice.paid_outpoint.paid_txid": {
"added": "v23.11",
"deprecated": false
},
"WaitAnyInvoice.pay_index": {
"added": "pre-v0.10.1",
"deprecated": false
Expand Down Expand Up @@ -5518,6 +5580,18 @@
"added": "pre-v0.10.1",
"deprecated": false
},
"WaitInvoice.paid_outpoint": {
"added": "v23.11",
"deprecated": false
},
"WaitInvoice.paid_outpoint.paid_outnum": {
"added": "v23.11",
"deprecated": false
},
"WaitInvoice.paid_outpoint.paid_txid": {
"added": "v23.11",
"deprecated": false
},
"WaitInvoice.pay_index": {
"added": "pre-v0.10.1",
"deprecated": false
Expand Down
26 changes: 26 additions & 0 deletions cln-grpc/proto/node.proto

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

45 changes: 45 additions & 0 deletions cln-grpc/src/convert.rs

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

Loading

0 comments on commit 0fac5fe

Please sign in to comment.