lnd/channeldb
Olaoluwa Osuntokun 504c8bf5f3
channeldb: bucket not found during .Wipe() is no longer an error
This commit changes the current behavior around channeldb.Wipe().
Previously if a channel had never been closed, and a wipe was
attempted, then wipe operation would fail and the transaction would be
rolled back.

This commit fixes this behavior by checking for bolt.ErrBucketNotFound
error, and handling the specific error as a noop.
2016-07-21 16:16:28 -07:00
..
channel_test.go channeldb: also store their current revocation hash 2016-07-05 16:48:31 -07:00
channel.go channeldb: add method to sync revocation state to disk 2016-07-12 17:26:53 -07:00
db_test.go channeldb: remove hardcoded netparams 2016-04-24 12:35:52 -07:00
db.go channeldb: bucket not found during .Wipe() is no longer an error 2016-07-21 16:16:28 -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: add doc strings to finalize funcs/structs 2016-06-22 17:15:52 -07:00
fees.go channeldb: create new channeldb package, update lnwallet to use new API 2015-12-26 12:35:15 -06: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