HTLC switch:
- fulfills/fails/forwards HTLCs - onion_packets are saved when update_add_htlc is received
This commit is contained in:
@@ -25,6 +25,7 @@ class HTLCManager:
|
||||
log[LOCAL] = deepcopy(initial)
|
||||
log[REMOTE] = deepcopy(initial)
|
||||
log['unacked_local_updates2'] = {}
|
||||
log['unfulfilled_htlcs'] = {} # htlc_id -> onion_packet
|
||||
|
||||
# maybe bootstrap fee_updates if initial_feerate was provided
|
||||
if initial_feerate is not None:
|
||||
|
||||
Reference in New Issue
Block a user