]> git.bitcoin.ninja Git - rust-lightning/commit
Rename `ChannelDetails::is_public` to `is_announced`
authorElias Rohrer <dev@tnull.de>
Tue, 20 Aug 2024 11:47:51 +0000 (13:47 +0200)
committerElias Rohrer <dev@tnull.de>
Wed, 21 Aug 2024 10:40:21 +0000 (12:40 +0200)
commitb3abb192ccf737bef6811907f55f9c1a9e37cbf4
tree7e4620db2bf60d1745052a128a24528940b59470
parentb9c73b176754f92acbadbaf35d10c02682eefd83
Rename `ChannelDetails::is_public` to `is_announced`

Referring to announced/unannounced channels as 'public'/'private'
regularly leads to confusion on what they are and when which should be
used. To avoid perpetuating this confusion, we should avoid referring to
announced channels as 'public' in our API.

Here we rename `ChannelDetails::is_public` (which breaks
previously-released API) to align it with the changes in
`OpenChannelRequest`.
fuzz/src/router.rs
lightning/src/ln/channel_state.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/invoice_utils.rs
lightning/src/routing/router.rs