gossip: clarify what it means to 'discard a channel'#485
Conversation
TheBlueMatt
left a comment
There was a problem hiding this comment.
This is in reference to channel_updates, not neccessarily our own channels. Failing would be appropriate if we were one of the sides of the channels, but as we are not, we cannot neccessarily "fail" the channel. You could clarify a bit further by saying something like "discard knowledge of the channel in its routing information".
5e904c0 to
83b8df1
Compare
|
Thanks for the clarification. I updated the commit to just add a bit of clarifying text. As you mention, what to do if this is one of your immediate peers isn't immediately clear from the spec. The |
07-routing-gossip.md
Outdated
| - if `htlc_maximum_msat` is not present or greater than channel capacity: | ||
| - MAY blacklist this `node_id` | ||
| - SHOULD discard this channel. | ||
| - SHOULD discard this channel (from route considerations). |
There was a problem hiding this comment.
How about ignore instead of discard?
It's unclear what it means to `discard` a channel. This add a clarification that it's related to route-finding.
83b8df1 to
9316176
Compare
|
Works for me. Updated. |
It's unclear what it means to
discarda channel. Instead,let's use the common phrase to
faila channel.I'm assuming that
failis the same asdiscardhere, but maybe it's meant to say discard themessage? (But that seems unlikely, given the context).