lnd.xprv/channeldb/migration_01_to_11
Olaoluwa Osuntokun f0911765af
channeldb: convert to uniformly use new kvdb abstractions
In this commit, we migrate all the code in `channeldb` to only reference
the new `kvdb` package rather than `bbolt` directly.

In many instances, we need to add two version to fetch a bucket as both
read and write when needed. As an example, we add a new
`fetchChanBucketRw` function. This function is identical to
`fetchChanBucket`, but it will be used to fetch the main channel bucket
for all _write_ transactions. We need a new method as you can pass a
write transaction where a read is accepted, but not the other way around
due to the stronger typing of the new `kvdb` package.
2020-03-18 19:34:49 -07:00
..
addr.go channeldb: make copy for migrations 2019-10-24 12:49:38 +02:00
channel_test.go channeldb/migration_01_to_11: remove unused code 2019-10-31 07:18:36 +01:00
channel.go channeldb/migration_01_to_11: remove unused code 2019-10-31 07:18:36 +01:00
codec.go channeldb/migration_01_to_11: remove unused code 2019-10-31 07:18:36 +01:00
db.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
error.go migration_01_to_11: remove version checking for migration tests 2019-10-31 11:25:07 +01:00
graph_test.go multi: remove LocalFeatures and GlobalFeatures 2019-11-08 05:32:00 -08:00
graph.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
invoices.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
legacy_serialization.go channeldb: make copy for migrations 2019-10-24 12:49:38 +02:00
log.go channeldb: initialize migrations logger 2019-10-30 08:56:18 +01:00
meta_test.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
meta.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
migration_09_legacy_serialization.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
migration_10_route_tlv_records.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
migration_11_invoices_test.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
migration_11_invoices.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
migrations_test.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
migrations.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
options.go channeldb/migration_01_to_11: remove unused code 2019-10-31 07:18:36 +01:00
payment_control.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
payments_test.go channeldb/migration_01_to_11: remove unused code 2019-10-31 07:18:36 +01:00
payments.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
route.go channeldb/migration_01_to_11: isolate route structure 2019-12-12 00:12:17 +01:00