lnd.xprv/lnwallet
Olaoluwa Osuntokun 27744a3582 lnwallet: add logic for adding/removing HTLCs
* Updates to the channel are made atomic, and consistent via a proxy
object: “ChannelUpdate” which encapsulates an update transaction. Only
one update transaction may be outstanding at any time.
* Update transactions are initiated via AddHTLC or SettleHTLC.
* Once a transaction has been begun, in order to complete the update
the transaction must first be presented with a signature from the
counter-party for our new version of the commitment tx
(VerifyNewCommitmentSigs), and finally to atomically commit the
transaction, the counterparty’s pre-image to their previous revocation
hash must be validate (Commit).
2016-01-14 23:56:10 -08:00
..
channel.go lnwallet: add logic for adding/removing HTLCs 2016-01-14 23:56:10 -08:00
coin_select.go lnwallet: finish docstrings within coin select code 2016-01-14 23:56:10 -08:00
config.go lnwallet: actually add the config file 2015-12-29 16:04:23 -06:00
reservation.go lnwallet: add documentation to ChannelReservation 2016-01-14 23:56:10 -08:00
script_utils.go lnwallet: add docstrings to script_utils.go 2016-01-14 23:56:10 -08:00
setup.go ok now it works. Sortof. Still hangs, but hangs later, after writing pkh. 2016-01-14 23:56:09 -08:00
wallet_test.go lnwallet: add dirty config 2015-12-29 15:59:57 -06:00
wallet.go wallet creation works, takes 11 seconds 2016-01-14 23:56:09 -08:00