lnd.xprv/contractcourt
Wilmer Paulino 974e0f2df5
cnct: make original htlc amt available for contract resolvers
Previously, contract resolvers that needed to publish a second level tx,
did not have access to the original htlc amount.

This commit reconstructs this amount from data that is already persisted
in arbitrator log.

Co-authored-by: Joost Jager <joost.jager@gmail.com>
2019-01-22 20:47:17 -08:00
..
briefcase_test.go multi: switch from bolt packge to bbolt package for all imports 2018-11-29 20:33:49 -08:00
briefcase.go multi: switch from bolt packge to bbolt package for all imports 2018-11-29 20:33:49 -08:00
chain_arbitrator_test.go contractcourt: add new ChainArbitrator struct as central coordinator of package 2018-01-22 19:19:36 -08:00
chain_arbitrator.go multi: replace per channel sigPool with global daemon level sigPool 2018-12-16 15:40:14 -08:00
chain_watcher_test.go cnct: add channel_arbitor test that exercises the htlcOutgoingContestResolver 2018-09-20 18:17:23 -07:00
chain_watcher.go Merge pull request #2431 from cfromknecht/keyring-remote-delay-retribution 2019-01-11 15:33:16 -08:00
channel_arbitrator_test.go contractcourt/channel_arbitrator: prevent force closing same channel twice 2018-12-10 20:37:58 -08:00
channel_arbitrator.go cnct: make original htlc amt available for contract resolvers 2019-01-22 20:47:17 -08:00
commit_sweep_resolver.go cnct: split resolvers in separate files 2019-01-16 20:03:59 +01:00
contract_resolvers_test.go contractcourt: add complete ContractResolver implementations 2018-01-22 19:19:36 -08:00
contract_resolvers.go cnct: split resolvers in separate files 2019-01-16 20:03:59 +01:00
htlc_incoming_contest_resolver.go cnct: split resolvers in separate files 2019-01-16 20:03:59 +01:00
htlc_outgoing_contest_resolver.go cnct: split resolvers in separate files 2019-01-16 20:03:59 +01:00
htlc_success_resolver.go cnct: make original htlc amt available for contract resolvers 2019-01-22 20:47:17 -08:00
htlc_timeout_resolver.go cnct: make original htlc amt available for contract resolvers 2019-01-22 20:47:17 -08:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00