core-lightning/plugins/renepay
Lagrang3 9afc10bf99 renepay: add cli option exclude
msggen cannot handle the complex type in renepay-exclude,
therefore I added a rule override for it, just like pay-exclude.

```
msggen cln-grpc/proto/node.proto
Traceback (most recent call last):
  File "/home/rusty/devel/cvs/lightning/contrib/msggen/msggen/__main__.py", line 131, in <module>
    main()
  File "/home/rusty/devel/cvs/lightning/contrib/msggen/msggen/__main__.py", line 115, in main
    run()
  File "/home/rusty/devel/cvs/lightning/contrib/msggen/msggen/__main__.py", line 72, in run
    service = load_jsonrpc_service(
              ^^^^^^^^^^^^^^^^^^^^^
  File "/home/rusty/devel/cvs/lightning/contrib/msggen/msggen/utils/utils.py", line 241, in load_jsonrpc_service
    methods = [load_jsonrpc_method(name) for name in grpc_method_names]
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rusty/devel/cvs/lightning/contrib/msggen/msggen/utils/utils.py", line 209, in load_jsonrpc_method
    request = CompositeField.from_js(schema["methods"][rpc_name]['request'], path=name)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rusty/devel/cvs/lightning/contrib/msggen/msggen/model.py", line 297, in from_js
    field = ArrayField.from_js(fpath, ftype)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rusty/devel/cvs/lightning/contrib/msggen/msggen/model.py", line 464, in from_js
    itemtype = UnionField.from_js(child_js, path)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rusty/devel/cvs/lightning/contrib/msggen/msggen/model.py", line 393, in from_js
    itemtype = PrimitiveField(
               ^^^^^^^^^^^^^^^
TypeError: PrimitiveField.__init__() missing 2 required positional arguments: 'added' and 'deprecated'
```

Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
Changelog-EXPERIMENTAL: renepay: add cli option "exclude" to manually disable channels and nodes.
2024-08-12 22:44:58 -07:00
..
test renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
chan_extra.c renepay: a bit more verbose information in logs 2024-05-08 22:32:13 -05:00
chan_extra.h common: promote useful routines from renepay. 2024-08-07 20:35:30 +09:30
dijkstra.c plugins/renepay/dijkstra: improve API to remove global. 2023-07-31 12:58:56 +09:30
dijkstra.h plugins/renepay/dijkstra: improve API to remove global. 2023-07-31 12:58:56 +09:30
disabledmap.c renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
disabledmap.h renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
errorcodes.c renepay: minor fixes 2024-05-08 22:32:13 -05:00
errorcodes.h renepay: minor fixes 2024-05-08 22:32:13 -05:00
flow.c common: promote useful routines from renepay. 2024-08-07 20:35:30 +09:30
flow.h renepay: a bit more verbose information in logs 2024-05-08 22:32:13 -05:00
json.c renepay: review routetracking 2024-08-12 13:27:34 -07:00
json.h renepay: review routetracking 2024-08-12 13:27:34 -07:00
main.c renepay: add cli option exclude 2024-08-12 22:44:58 -07:00
Makefile renepay: put global variables into renepayconfig.h 2024-05-23 15:15:57 -05:00
mcf.c renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
mcf.h error handling in mcf.c 2024-01-22 15:10:08 +10:30
mods.c renepay: add a channel filtering paymod 2024-08-12 22:44:58 -07:00
mods.h renepay: payment state machine (mods) 2024-05-08 22:32:13 -05:00
payment.c renepay: add cli option exclude 2024-08-12 22:44:58 -07:00
payment.h renepay: add cli option exclude 2024-08-12 22:44:58 -07:00
payment_info.h renepay: remove payment from route 2024-05-08 22:32:13 -05:00
payplugin.h renepay: remove unnecessary payment list 2024-08-12 13:27:34 -07:00
renepayconfig.h renepay: small tweak to decay time 2024-08-12 13:17:21 -07:00
route.c renepay: a bit more verbose information in logs 2024-05-08 22:32:13 -05:00
route.h renepay: remove payment from route 2024-05-08 22:32:13 -05:00
routebuilder.c renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
routebuilder.h renepay: fix sources 2024-05-08 22:32:13 -05:00
routefail.c renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
routefail.h renepay: add routefail.c 2024-05-08 22:32:13 -05:00
routetracker.c renepay: disabled channels in a map 2024-08-12 22:44:58 -07:00
routetracker.h renepay: rethink the computed routes storage 2024-08-12 13:27:34 -07:00
uncertainty.c renepay: relax knowledge mod 2024-05-23 15:15:57 -05:00
uncertainty.h renepay: relax knowledge mod 2024-05-23 15:15:57 -05:00