lnd.xprv/lnwallet
Olaoluwa Osuntokun 6684f6aedf
channeldb: implement commitment state update log
This commit implements a state update log which is intended the record
the relevant information for each state transition on disk. For each
state transition a delta should be written recording the new state. A
new method is also provided which is able to retrieve a previous
channel state based on a state update #.

At the moment no measures has been taken to optimize the space
utilization of each update on disk. There are several low-hanging
fruits which can be addressed at a later point. Ultimately the update
log itself should be implemented with an append-only flat file at the
storage level. In any case, the high level abstraction should be able
to maintained independent of differences in the on-disk format itself.
2016-09-12 19:06:44 -07:00
..
btcwallet lnwallet: add a BtcWallet implementation of WalletController 2016-09-08 12:25:32 -07:00
channel_test.go lnwallet: refactor all wallet/channel interaction to use the WalletController. 2016-09-08 12:25:54 -07:00
channel.go lnwallet: refactor all wallet/channel interaction to use the WalletController. 2016-09-08 12:25:54 -07:00
config.go lnwallet: add a BtcWallet implementation of WalletController 2016-09-08 12:25:32 -07:00
interface_test.go lnwallet: eliminate flaky assert within integration tests 2016-09-08 13:10:51 -07:00
interface.go lnwallet: revamp interfaces, add BlockChainIO and Singer 2016-09-08 12:25:28 -07:00
log.go lnwallet: switch name of package logger to avoid module collision 2016-07-27 11:29:07 -07:00
reservation.go lnwallet: refactor all wallet/channel interaction to use the WalletController. 2016-09-08 12:25:54 -07:00
script_utils_test.go lnwallet: publicly export several functions within script_utils.go 2016-09-08 12:25:44 -07:00
script_utils.go channeldb: implement commitment state update log 2016-09-12 19:06:44 -07:00
wallet.go lnwallet: refactor all wallet/channel interaction to use the WalletController. 2016-09-08 12:25:54 -07:00