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
channel_test.go
channel.go
codec.go
db.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
error.go
graph_test.go
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
log.go
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
payment_control.go channeldb: convert to uniformly use new kvdb abstractions 2020-03-18 19:34:49 -07:00
payments_test.go
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