lnd.xprv/lnwallet
Olaoluwa Osuntokun 4063171918
lnwallet: partition state update logs within channel state machine
This commit patrons the state update logs properly within the channel
state machine. This change fixes a number of bugs caused by treating a
central log as two logically distinct logs. Rather than having a bit
indicating if the entry is incoming/outgoing, an entry is added to a
remote or local log depending on which modification method is used.

As a result the code is much easier to follow due to separation of
concerts.

Finally, when attempting to sign a new update with an exhausted
renovation window a distinct error is returned in order to allow higher
level callers to properly back-off and handle the protocol event.
2016-07-21 16:50:38 -07:00
..
channel_test.go lnwallet: partition state update logs within channel state machine 2016-07-21 16:50:38 -07:00
channel.go lnwallet: partition state update logs within channel state machine 2016-07-21 16:50:38 -07:00
coin_select.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
config.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
interface.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
log.go lnwallet: partition state update logs within channel state machine 2016-07-21 16:50:38 -07:00
reservation.go lnwallet: update reservation workflow to revoke keys 2016-06-30 12:02:51 -07:00
script_utils_test.go lnwallet: createCommitTx now a revocation key 2016-06-30 12:12:19 -07:00
script_utils.go lnwallet: properly handle HTLC settles in channel state-machine 2016-07-12 17:35:57 -07:00
setup.go multi: change all imports to roasbeef's forks 2016-05-15 17:22:37 +03:00
wallet_test.go lnwallet: finish initial draft of LightningChannel state machine 2016-07-05 17:02:03 -07:00
wallet.go lnwallet: use two-value read from conf channel to detect closure 2016-07-14 16:17:10 -07:00