Document nonzero anchors in features module.
authorArik Sosman <git@arik.io>
Thu, 22 Jun 2023 22:22:40 +0000 (15:22 -0700)
committerArik Sosman <git@arik.io>
Thu, 22 Jun 2023 22:23:11 +0000 (15:23 -0700)
lightning/src/ln/features.rs

index b769fda07f9bbd8d812b8dbd49b87fd28bd31e66..400888ff9784ff0f8217de151f5b4f24d23509a7 100644 (file)
 //!     [BOLT-3](https://github.com/lightning/bolts/blob/master/03-transactions.md) for more
 //!     information).
 //!
+//! LDK knows about the following features, but does not support them:
+//! - `AnchorsNonzeroFeeHtlcTx` - the initial version of anchor outputs, which was later found to be
+//!     vulnerable (see this
+//!     [mailing list post](https://lists.linuxfoundation.org/pipermail/lightning-dev/2020-September/002796.html)
+//!     for more information).
+//!
 //! [BOLT #9]: https://github.com/lightning/bolts/blob/master/09-features.md
 //! [messages]: crate::ln::msgs