lnd.xprv/channeldb
Andrey Samokhvalov c53ea091dd channeldb: added channeldb versioning
In this commit the upgrade mechanism for database was added which makes he current schema rigid and upgradeable. Additional bucket 'metaBucket' was added which stores
    key that house meta-data related to the current/version state of the database. 'createChannelDB' was modified to create this new bucket+key during initializing. Also
    backup logic was added which makes a complete copy of the current database during migration process and restore the previous version of database if migration failed.
2016-11-22 15:25:21 -06:00
..
channel_test.go channeldb: include the output index within stored HTLC's 2016-11-17 18:32:55 -08:00
channel.go channeldb: added channeldb versioning 2016-11-22 15:25:21 -06:00
db_test.go channeldb: remove hardcoded netparams 2016-04-24 12:35:52 -07:00
db.go channeldb: added channeldb versioning 2016-11-22 15:25:21 -06:00
doc.go channeldb: create new channeldb package, update lnwallet to use new API 2015-12-26 12:35:15 -06:00
error.go channeldb: added channeldb versioning 2016-11-22 15:25:21 -06:00
fees.go channeldb: create new channeldb package, update lnwallet to use new API 2015-12-26 12:35:15 -06:00
invoice_test.go channeldb: store optional invoice fields as variable length byte arrays 2016-09-23 15:15:26 -07:00
invoices.go channeldb: store optional invoice fields as variable length byte arrays 2016-09-23 15:15:26 -07:00
log.go multi: create lnd's logging infrastructure 2016-03-22 18:43:10 -07:00
meta_test.go channeldb: added channeldb versioning 2016-11-22 15:25:21 -06:00
meta.go channeldb: added channeldb versioning 2016-11-22 15:25:21 -06:00
nodes_test.go channeldb: add bucket for storing p2p counterparty meta-data 2016-10-25 16:06:32 -07:00
nodes.go channeldb: add FetchAllChannels method to return all active channels 2016-10-26 14:53:26 -07:00
route.go channeldb: create new channeldb package, update lnwallet to use new API 2015-12-26 12:35:15 -06:00