lnd/channeldb/migration30
yyforyongyu 61bff6086c
migration30: add migration to convert old revocation logs
This commit adds the migration that's used to convert the old revocation
logs into the new format. The migration is fault-tolerant, meaning the
process can be interrupted and the migration will pick up what's left
when running again. We also cap how many records to be processed in each
db transaction to prevent OOM.
2022-07-12 21:01:08 +08:00
..
iterator_test.go migration30: add unit tests for iterator 2022-07-12 20:51:48 +08:00
iterator.go migration30: add iterator to assist migration 2022-07-12 20:51:45 +08:00
lnwallet.go migration30: add related revocation log and lnwallet code 2022-07-08 13:17:57 +08:00
log.go migration30: add iterator to assist migration 2022-07-12 20:51:45 +08:00
migration.go migration30: add migration to convert old revocation logs 2022-07-12 21:01:08 +08:00
revocation_log.go migration30: add related revocation log and lnwallet code 2022-07-08 13:17:57 +08:00
test_utils.go migration30: add supporting functions to help with unit tests 2022-07-12 20:51:48 +08:00