lnd/watchtower/wtdb
Elle Mouton fee94ae5af
watchtower: start using the new channel max heights
This commit also adds tests for the DB changes made in the previous
commit since we can now read the new field with the FetchChanInfos
method.

The commit following this one does the backfill migration.
2023-11-27 20:01:17 +02:00
..
migration1 watchtower/wtdb: add new towerID-to-sessionID index 2022-10-13 11:30:27 +02:00
migration2 watchtower: migrate channel summaries 2023-01-11 13:46:55 +02:00
migration3 multi: update linter, fix new issues 2023-06-13 11:58:33 +02:00
migration4 multi: update linter, fix new issues 2023-06-13 11:58:33 +02:00
migration5 watchtower/wtdb: add tower-to-session index entry for all towers 2023-03-08 11:00:40 +02:00
migration6 watchtower: add sessionID index 2023-03-20 10:46:52 +02:00
migration7 multi: update linter, fix new issues 2023-06-13 11:58:33 +02:00
client_chan_summary.go watchtower: start using the new channel max heights 2023-11-27 20:01:17 +02:00
client_db.go watchtower: start using the new channel max heights 2023-11-27 20:01:17 +02:00
client_db_test.go watchtower: start using the new channel max heights 2023-11-27 20:01:17 +02:00
client_session.go watchtower: make use of the new AddressIterator 2022-10-20 15:46:52 +02:00
codec.go chainfee: create new chainfee package extracting fees from lnwallet 2019-10-31 16:41:57 -07:00
codec_test.go watchtower: add channelID index 2023-01-11 13:46:55 +02:00
db_common.go multi: make watchtower client/server DBs remote compatible 2021-08-04 14:55:53 +02:00
log.go watchtower: build channel to sessionIDs index 2023-03-20 10:46:52 +02:00
queue.go watchtower/wtdb: start populating channel max commitment 2023-11-27 20:01:17 +02:00
queue_test.go watchtower: start using the new channel max heights 2023-11-27 20:01:17 +02:00
range_index.go multi: remove gomnd disable directives 2023-01-17 19:43:26 +01:00
range_index_test.go watchtower: add RangeIndex and tests 2023-01-11 13:46:55 +02:00
session_id.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
session_info.go multi: Fix typos [skip ci] 2022-01-24 12:19:02 +02:00
session_state_update.go watchtower/multi: move BreachHint to blob pkg 2019-06-13 17:40:04 -07:00
tower.go watchtower: make use of the new AddressIterator 2022-10-20 15:46:52 +02:00
tower_db.go multi: make watchtower client/server DBs remote compatible 2021-08-04 14:55:53 +02:00
tower_db_test.go watchtower/wtdb: update tests to use require package 2022-10-13 11:30:26 +02:00
version.go watchtower: build channel to sessionIDs index 2023-03-20 10:46:52 +02:00