lnd.xprv/channeldb
Olaoluwa Osuntokun 60946e4ddc
channeldb: add method to OpenChannel for querying num updates
This commit adds a new method to the `OpenChannel` struct:
CommitmentHeight(). This method allows multiple callers holding the
same instance of an OpenChannel struct tied to the same on-disk channel
to consistently query the current commitment height for a channel. Such
a modification will prove useful later as sections of the code-base are
separated in order to allow more vigilant watching of channel breaches.
2016-11-27 19:10:13 -08:00
..
channel_test.go channeldb: add method to OpenChannel for querying num updates 2016-11-27 19:10:13 -08:00
channel.go channeldb: add method to OpenChannel for querying num updates 2016-11-27 19:10:13 -08:00
db_test.go channeldb: remove hardcoded netparams 2016-04-24 12:35:52 -07:00
db.go channeldb: fully initialize meta-data bucket during DB creation 2016-11-27 18:49:09 -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: slightly refactor the [Fetch|Put]Meta methods 2016-11-27 18:44:23 -08:00
meta.go channeldb: slightly refactor the [Fetch|Put]Meta methods 2016-11-27 18:44:23 -08: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