htlcswitch: add new ProcessContractResolution method
In this commit, we add a new method: ProcessContractResolution. This will be used by entities of the contract court package to notify us whenever they discover that we can resolve an incoming contract off-chain after the outgoing contract was fully resolved on-chain. We’ll take a contractcourt.ResolutionMsg and map it to the proper internal package so we can fully resolve an active circuit.
This commit is contained in:
3 files changed
+110
-5
No files matched your search
@@ -79,7 +79,7 @@ const (
|
||||
// wireCourier is a type of courier that handles wire messages.
|
||||
wireCourier courierType = iota
|
||||
|
||||
// pktCourier is a type of courier that handles hltc packets.
|
||||
// pktCourier is a type of courier that handles htlc packets.
|
||||
pktCourier
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user