mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
98c2d329e5
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. |
||
---|---|---|
.. | ||
interface.go | ||
justice_descriptor_test.go | ||
justice_descriptor.go | ||
log.go | ||
lookout_test.go | ||
lookout.go | ||
mock.go | ||
punisher.go |