lnd.xprv/watchtower/wtdb
Andras Banki-Horvath 2a358327f4
multi: add reset closure to kvdb.View
This commit adds a reset() closure to the kvdb.View function which will
be called before each retry (including the first) of the view
transaction. The reset() closure can be used to reset external state
(eg slices or maps) where the view closure puts intermediate results.
2020-11-05 17:57:12 +01:00
..
client_chan_summary.go watchtower/wtdb: add ClientDB 2019-05-24 18:24:41 -07:00
client_db_test.go watchtower: extend client databse with CRUD operations for towers 2019-07-30 15:13:23 -07:00
client_db.go multi: add reset closure to kvdb.View 2020-11-05 17:57:12 +01:00
client_session.go watchtower: use ECDH interface for watchtower session 2020-05-20 09:06:57 +02:00
codec_test.go watchtower/wtdb/client_chan_summary: add ClientChanSummary 2019-05-23 20:48:36 -07:00
codec.go chainfee: create new chainfee package extracting fees from lnwallet 2019-10-31 16:41:57 -07:00
db_common.go multi: add reset closure to kvdb.View 2020-11-05 17:57:12 +01:00
log.go multi: remove dead code 2019-09-10 17:21:59 +02:00
session_id.go watchtower/wtdb/session_id: adds SessoinID, client pubkey 2018-10-24 20:18:21 -07:00
session_info.go watchtower/multi: move BreachHint to blob pkg 2019-06-13 17:40:04 -07:00
session_state_update.go watchtower/multi: move BreachHint to blob pkg 2019-06-13 17:40:04 -07:00
tower_db_test.go watchtower/wtdb: apply sanity checks to session policy before accepting 2019-06-13 19:54:22 -07:00
tower_db.go multi: add reset closure to kvdb.View 2020-11-05 17:57:12 +01:00
tower.go watchtower: load persisted towers upon TowerClient creation 2019-07-30 15:18:17 -07:00
version.go multi: rename ReadTx to RTx 2020-05-26 18:20:37 -07:00