1
0
Fork 0
mirror of https://github.com/ACINQ/eclair.git synced 2025-03-03 17:36:56 +01:00
eclair/eclair-node
Pierre-Marie Padiou 57c2cc5df9
Type ChannelFlags instead of using a raw Byte (#2148)
This has the same kind of impact as the typing of `Features`. In particular we can now explicitly set the values in `eclair.conf`:
`eclair.channel.channel-flags.announce-channel=true`. I took the opportunity to move this channel-related config key in its own config section, with the goal that we move the other fields in a follow-up PR.

It also has the nice side effect of providing a pretty json formatting out of the box:
```json
"channelFlags": {
  "announceChannel": true
}
```

The `open` method of the API has been updated: `channelFlags` has been replaced by a new `announceChannel` parameter.
2022-01-25 18:35:32 +01:00
..
modules Rework packaging (#1307) 2020-02-24 15:42:26 +01:00
src Type ChannelFlags instead of using a raw Byte (#2148) 2022-01-25 18:35:32 +01:00
pom.xml Back to Dev (#1993) 2021-10-08 09:58:47 +02:00