lnd.xprv/channeldb
Olaoluwa Osuntokun 0b841ec686
channeldb: store optional invoice fields as variable length byte arrays
This commit modifies the on-disk storage of invoices to stop the
optional fields (memo+receipt) on-disk as variable length byte arrays.
This change saves space as the optional fields now only take up as much
space as is strictly needed, rather than always being padded out to max
size (1KB).
2016-09-23 15:15:26 -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: include in the invoice bucket when wiping and initializing the db 2016-09-23 15:06:06 -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: 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
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