core-lightning/contrib
Erik De Smedt 83cc6c44e0 msggen: Schema for ConnectNotification + collisions
The schema in the docs for the `ConnectNotification` was faulty.
I've already fix this in https://github.com/ElementsProject/lightning/pull/7085

The new schema is

```
{
  "connect" :  {
    "address" : {
      "address" : "127.0.0.1",
      "port" : 38012,
      "type" : "ipv4"
  },
  "direction" : "in",
  "id" : "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59"
  }
}
```

The `address` in the `connect` field will be encoded in protobuf as
`ConnectAddress`. However, this collides with the `ConnectAddress` that
is defined in the `connect` rpc-method.

This commit
- Updates the schema in `doc/schemas/notification/connect.json`
- Changes `msggen` to include an override to `PeerConnect` for any
  notification typename that starts with `Connect`

Both have an `address` field which is a composite type. This results in
naming collisions

schema's: Updated schema for connect-notification

schema for connect notification + overrides

Override ConnectAddress to `PeerConnectAddress` in protobuf
for notifications
2024-05-16 14:00:18 +02:00
..
cln-tracer tracing: Add an example exporter to zipkin and document it 2023-12-15 13:23:51 +10:30
docker script: Updated sql-schema_gen and documented it's jq dependency. 2024-03-19 14:58:59 +10:30
init Remove --daemon from lightningd.service 2023-07-09 13:02:10 +09:30
keys misc: Add Alex's gpg key 2023-12-11 18:46:43 +01:00
msggen msggen: Schema for ConnectNotification + collisions 2024-05-16 14:00:18 +02:00
plugins tests: notification response fixes 2023-07-10 14:51:11 +09:30
pylightning tests: notification response fixes 2023-07-10 14:51:11 +09:30
pyln-client pyln-client: pass through level parameter on command notifications. 2024-05-04 11:36:23 -05:00
pyln-grpc-proto msggen: Schema for ConnectNotification + collisions 2024-05-16 14:00:18 +02:00
pyln-proto release: Bump pyln package versions 2024-02-28 14:38:10 +01:00
pyln-spec Fix incorrect hex value for Signet port 2024-02-16 15:54:29 +01:00
pyln-testing msggen: add upgradewallet method 2024-05-15 22:11:10 +02:00
reprobuild docker: Fix jq installation error for focal 2024-05-06 22:13:54 -05:00
sanitizer_suppressions common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
bootstrap-node.sh Replace head -n with sort -R for better random peer selection 2023-01-04 13:29:46 +10:30
clang-coverage-report.sh contrib: script to generate Clang coverage report 2023-06-15 10:47:56 +09:30
config-example Added sample config file 2023-06-21 14:57:34 +09:30
giantnode.py contrib/giantnode.py: populate three regtest nodes with many invoices/forwards/payments. 2022-09-18 16:21:54 +02:00
lightning-cli.bash-completion Fix bash completion. 2020-05-15 15:25:33 +02: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 regtest: fix check for bitcoin-cli 2024-02-04 16:54:53 +01:00