lnd.xprv/watchtower/lookout
Conner Fromknecht 98c2d329e5
watchtower/multi: embed TxPolicy in wtpolicy.Policy
This commit splits out the parameters that shape the justice transaction
into their own struct, which then embedded within the overarching
wtpolicy.Policy which may have additional parameters describing
operation of the session.

This is done as a preliminary step to support comparison of sessions
based on matching TxPolicy configurations. This prevents otherwise
identical Policies from being counted as different if operational
parameters like MaxUpdates differ, even if it has no material difference
to the justice transaction.
2019-06-13 19:54:20 -07:00
..
interface.go watchtower/multi: move BreachHint to blob pkg 2019-06-13 17:40:04 -07:00
justice_descriptor_test.go watchtower/multi: embed TxPolicy in wtpolicy.Policy 2019-06-13 19:54:20 -07:00
justice_descriptor.go watchtower/multi: use ComputeJusticeTxOuts, test altruist+reward 2019-02-01 17:30:13 -08:00
log.go watchtower/lookout/log: adds lookout subsystem logger 2018-10-31 20:42:07 -07:00
lookout_test.go watchtower/multi: embed TxPolicy in wtpolicy.Policy 2019-06-13 19:54:20 -07:00
lookout.go watchtower/multi: use new blob.BreachKey for enc/dec of justice kits 2019-06-13 19:54:17 -07:00
mock.go watchtower/lookout/mock: adds mock backend 2018-10-31 20:42:14 -07:00
punisher.go multi: remove ErrDoubleSpend check for PublishTransaction 2019-03-13 17:57:19 -07:00