You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A zero conf splice will send splice_locked when funding tx is published, but not update it's scid until the fund tx confirms.
Channel balances and max htlc amount will not update until local sends to and receives from it's remote peer splice_locked.
log.info("funding tx txId={} of channelId={} has been spent - delay removing it from the graph until {} blocks after the spend confirms", txId, shortChannelId, nodeParams.channelConf.minDepthBlocks)
caseSome(shortChannelId) => stay() using Validation.handleChannelSpent(d, nodeParams.db.network, shortChannelId)
274
+
caseNone=> stay()
275
+
}
284
276
285
277
caseEvent(n: NodeAnnouncement, d: Data) =>
286
278
stay() using Validation.handleNodeAnnouncement(d, nodeParams.db.network, Set(LocalGossip), n)
@@ -778,7 +770,7 @@ object Router {
778
770
excludedChannels: Map[ChannelDesc, ExcludedChannelStatus], // those channels are temporarily excluded from route calculation, because their node returned a TemporaryChannelFailure
779
771
graphWithBalances: GraphWithBalanceEstimates,
780
772
sync: Map[PublicKey, Syncing], // keep tracks of channel range queries sent to each peer. If there is an entry in the map, it means that there is an ongoing query for which we have not yet received an 'end' message
781
-
spentChannels: Map[RealShortChannelId, BlockHeight], // channels with funding txs spent less than 12 blocks ago
773
+
spentChannels: Map[TxId, RealShortChannelId], // channels with spent funding txs that are not deeply buried yet
0 commit comments