Fix the `full_stack_target` breakage test and doc feerate requests
[rust-lightning] / lightning / src / chain / chaininterface.rs
index 2e37127e038548ebe86888e185f52af1b9264551..9909e115ed610d63f10fdfab9ee8397ac1363641 100644 (file)
@@ -147,6 +147,10 @@ pub enum ConfirmationTarget {
 ///
 /// Note that all of the functions implemented here *must* be reentrant-safe (obviously - they're
 /// called from inside the library in response to chain events, P2P events, or timer events).
+///
+/// LDK may generate a substantial number of fee-estimation calls in some cases. You should
+/// pre-calculate and cache the fee estimate results to ensure you don't substantially slow HTLC
+/// handling.
 pub trait FeeEstimator {
        /// Gets estimated satoshis of fee required per 1000 Weight-Units.
        ///