1
0

Merge pull request #9586 from f321x/jit-block-preimage

Add mechanism to block htlcs from settling back
This commit is contained in:
ThomasV
2025-03-07 12:04:39 +01:00
committed by GitHub
3 changed files with 16 additions and 3 deletions

View File

@@ -198,6 +198,7 @@ class MockLNWallet(Logger, EventListener, NetworkRetryManager[LNPeerAddr]):
self.preimages = {}
self.stopping_soon = False
self.downstream_to_upstream_htlc = {}
self.dont_settle_htlcs = {}
self.hold_invoice_callbacks = {}
self.payment_bundles = [] # lists of hashes. todo:persist
self.config.INITIAL_TRAMPOLINE_FEE_LEVEL = 0