File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -222,10 +222,10 @@ pub(crate) const CLTV_CLAIM_BUFFER: u32 = 18;
222222pub ( crate ) const LATENCY_GRACE_PERIOD_BLOCKS : u32 = 3 ;
223223/// Number of blocks we wait on seeing a HTLC output being solved before we fail corresponding inbound
224224/// HTLCs. This prevents us from failing backwards and then getting a reorg resulting in us losing money.
225- /// We use also this delay to be sure we can remove our in-flight claim txn from bump candidates buffer.
226- /// It may cause spurrious generation of bumped claim txn but that's allright given the outpoint is already
227- /// solved by a previous claim tx. What we want to avoid is reorg evicting our claim tx and us not
228- /// keeping bumping another claim tx to solve the outpoint.
225+ // We also use this delay to be sure we can remove our in-flight claim txn from bump candidates buffer.
226+ // It may cause spurious generation of bumped claim txn but that's alright given the outpoint is already
227+ // solved by a previous claim tx. What we want to avoid is reorg evicting our claim tx and us not
228+ // keep bumping another claim tx to solve the outpoint.
229229pub const ANTI_REORG_DELAY : u32 = 6 ;
230230/// Number of blocks before confirmation at which we fail back an un-relayed HTLC or at which we
231231/// refuse to accept a new HTLC.
You can’t perform that action at this time.
0 commit comments