lnd.xprv/channeldb
Olaoluwa Osuntokun fa70990452
channeldb: store the invoice counter within the invoice index bucket
This commit moves the location of the invoice counter key which is an
auto-incrementing primary key for all invoices. Rather than storing the counter
in the same top-level invoice bucket, the counter is now stored within the
invoiceIndex bucket. With this change, the top-level bucket can now cleanly be
scanned in a sequential manner to retrieve all invoices.
2016-09-21 19:48:10 -07:00
..
channel_test.go channeldb: split RecordChannelDelta into two distinct methods 2016-09-12 19:07:00 -07:00
channel.go lnwallet: add ability to trigger a force closure within channel state machine 2016-09-12 19:07:35 -07:00
db_test.go channeldb: remove hardcoded netparams 2016-04-24 12:35:52 -07:00
db.go channeldb: add some missing nil checks 2016-09-12 19:06:57 -07: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: store the invoice counter within the invoice index bucket 2016-09-21 19:48:10 -07: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: add persistent invoice workflow 2016-09-16 17:24:55 -07:00
invoices.go channeldb: store the invoice counter within the invoice index bucket 2016-09-21 19:48:10 -07:00
log.go multi: create lnd's logging infrastructure 2016-03-22 18:43:10 -07:00
nodes.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
route.go channeldb: create new channeldb package, update lnwallet to use new API 2015-12-26 12:35:15 -06:00