Skip to content

Commit c384bbb

Browse files
committed
f Clarify terms "known" and "supported"
1 parent ebdf64e commit c384bbb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/ln/features.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
//! defined internally by a trait specifying the corresponding flags (i.e., even and odd bits). A
77
//! [`Context`] is used to parameterize [`Features`] and defines which features it can support.
88
//!
9+
//! Whether a feature is considered "known" or "unknown" is relative to the implementation, whereas
10+
//! the term "supports" is used in reference to a particular set of [`Features`] from a peer. That
11+
//! is, a peer supports a feature if it advertises it (as either required or optional). And the
12+
//! implementation can interpet a feature if the feature is known to it.
13+
//!
914
//! [BOLT #9]: https://github.com/lightningnetwork/lightning-rfc/blob/master/09-features.md
1015
//! [messages]: ../msgs/index.html
1116
//! [`Features`]: struct.Features.html

0 commit comments

Comments
 (0)