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:
Olaoluwa Osuntokun committed 2018-01-22 19:19:38 -08:00
1 parent 8807d1d752
commit 9cb3657314
3 files changed
+110 -5

No files matched your search

+1 -1
View File
@@ -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
)