Skip to content

Commit c7d84d8

Browse files
committed
Add warning regarding remote fee estimators
1 parent 52ec082 commit c7d84d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lightning/src/chain/chaininterface.rs

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ pub enum ConfirmationTarget {
5959
/// A trait which should be implemented to provide feerate information on a number of time
6060
/// horizons.
6161
///
62+
/// If access to a local mempool is not feasible, feerate estimates should be fetched from a set of
63+
/// third-parties hosting them. Note that this enables them to affect the propagation of your
64+
/// pre-signed transactions at any time and therefore endangers the safety of channels funds. It
65+
/// should be considered carefully as a deployment.
66+
///
6267
/// Note that all of the functions implemented here *must* be reentrant-safe (obviously - they're
6368
/// called from inside the library in response to chain events, P2P events, or timer events).
6469
pub trait FeeEstimator {

0 commit comments

Comments
 (0)