lnd.xprv/watchtower/wtserver
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
..
create_session.go watchtower/multi: embed TxPolicy in wtpolicy.Policy 2019-06-13 19:54:20 -07:00
delete_session.go watchtower/wtserver/server: print connFailure error code name 2019-04-23 20:06:38 -07:00
interface.go watchtower/wtserver/interface: add DeleteSession + mock impl 2019-03-19 19:38:34 -07:00
log.go watchtower/wtserver: move from watchtower/server 2018-11-02 15:51:06 -07:00
server_test.go watchtower/wtmock/tower_db: move mock tower db to wtmock pkg 2019-04-26 17:19:58 -07:00
server.go watchtower/wtserver: add NoAckCreateSession for testing 2019-04-23 20:07:12 -07:00
state_update.go watchtower/wtserver/server: print connFailure error code name 2019-04-23 20:06:38 -07:00