ee1acb1610
This commit implements a missing policy within the current ChannelLink interface. If an HTLC arrives that is too close to the current block height, then we’ll reject it. As otherwise, it may be possible for us to lose an on-chain claim if they HTLC expires already or expires before we’re able to get a commitment transaction in the chain. As the exit node, we have a grace period that governs out decision. As an intermediate node, we ensure that the HTLC isn’t close to expiry on our outgoing link end if we forward it. |
||
---|---|---|
.. | ||
circuit.go | ||
failure.go | ||
interfaces.go | ||
iterator.go | ||
link_test.go | ||
link.go | ||
log.go | ||
mock.go | ||
packet.go | ||
queue_test.go | ||
queue.go | ||
switch_test.go | ||
switch.go | ||
test_utils.go |