We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
update_time_counter
1 parent 391fbfb commit d2ac683Copy full SHA for d2ac683
lightning/src/ln/channel.rs
@@ -481,9 +481,14 @@ pub(super) struct Channel<Signer: Sign> {
481
holding_cell_update_fee: Option<u32>,
482
next_holder_htlc_id: u64,
483
next_counterparty_htlc_id: u64,
484
- update_time_counter: u32,
485
feerate_per_kw: u32,
486
+ /// The timestamp set on our latest `channel_update` message for this channel. It is updated
487
+ /// when the channel is updated in ways which may impact the `channel_update` message or when a
488
+ /// new block is received, ensuring it's always at least moderately close to the current real
489
+ /// time.
490
+ update_time_counter: u32,
491
+
492
#[cfg(debug_assertions)]
493
/// Max to_local and to_remote outputs in a locally-generated commitment transaction
494
holder_max_commitment_tx_output: Mutex<(u64, u64)>,
0 commit comments