]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Note that update_fee is likely not gonna be our final API
authorMatt Corallo <git@bluematt.me>
Fri, 28 Sep 2018 23:06:41 +0000 (19:06 -0400)
committerMatt Corallo <git@bluematt.me>
Sun, 30 Sep 2018 00:01:36 +0000 (20:01 -0400)
src/ln/channelmanager.rs

index 67a9eabdadd60eb70217332d32e1b5481435be5a..c876dc95b161505a4c682e53d7928bbe033acd20 100644 (file)
@@ -1939,6 +1939,8 @@ impl ChannelManager {
        /// Begin Update fee process. Allowed only on an outbound channel.
        /// If successful, will generate a UpdateHTLCs event, so you should probably poll
        /// PeerManager::process_events afterwards.
+       /// Note: This API is likely to change!
+       #[doc(hidden)]
        pub fn update_fee(&self, channel_id: [u8;32], feerate_per_kw: u64) -> Result<(), APIError> {
                let mut channel_state = self.channel_state.lock().unwrap();
                match channel_state.by_id.get_mut(&channel_id) {