lnd/channeldb
Olaoluwa Osuntokun b70d1f8cfe
channeldb: move .SyncVersions() into .Open(), minor migration cleanups
This commit unexports the SyncVerions PR, in favor of making it private
and moving it into the .Open() method. With this change, callers no
longer need worry about ensuring the database version is up to sync
before usage, as it will happen automatically once the database is
opened.

This commit also unexports some additional variables within the package
that don’t need be consumed by the public, and exports the
DbVersionNumber attribute on the meta struct. Finally some minor
formatting fixes have neen carried out to ensure the new code more
closely matches the style of the rest of the codebase.
2016-11-22 16:00:02 -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: move .SyncVersions() into .Open(), minor migration cleanups 2016-11-22 16:00:02 -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: move .SyncVersions() into .Open(), minor migration cleanups 2016-11-22 16:00:02 -06:00
meta.go channeldb: move .SyncVersions() into .Open(), minor migration cleanups 2016-11-22 16:00:02 -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