lnd/channeldb
Olaoluwa Osuntokun 8312ce587a
channeldb: embed the instance of boltb within DB struct
This commit modifies the composition of the boltdb pointer within the
DB struct to use embedding.

The rationale for this change is that the daemon may soon store some
semi-transient items within the database which requires us to expose
the boltdb’s transaction API. The logic for serialization of this data
will likely lie outside of the channeldb package as the items that may
be stored in the future will be specific to the current sub-systems
within the daemon and not generic channel related data.
2016-11-27 18:35:55 -08:00
..
channel_test.go channeldb: embed the instance of boltb within DB struct 2016-11-27 18:35:55 -08:00
channel.go channeldb: embed the instance of boltb within DB struct 2016-11-27 18:35:55 -08:00
db_test.go channeldb: remove hardcoded netparams 2016-04-24 12:35:52 -07:00
db.go channeldb: embed the instance of boltb within DB struct 2016-11-27 18:35:55 -08: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: embed the instance of boltb within DB struct 2016-11-27 18:35:55 -08:00
log.go multi: create lnd's logging infrastructure 2016-03-22 18:43:10 -07:00
meta_test.go channeldb: embed the instance of boltb within DB struct 2016-11-27 18:35:55 -08: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: embed the instance of boltb within DB struct 2016-11-27 18:35:55 -08:00
route.go channeldb: create new channeldb package, update lnwallet to use new API 2015-12-26 12:35:15 -06:00