lnd.xprv/contractcourt
Wilmer Paulino 5172a5e255
multi: support arbitrary client fee preferences to UtxoSweeper
In this commit, we introduce support for arbitrary client fee
preferences when accepting input sweep requests. This is possible with
the addition of fee rate buckets. Fee rate buckets are buckets that
contain inputs with similar fee rates within a specific range, e.g.,
1-10 sat/vbyte, 11-20 sat/vbyte, etc. Having these buckets allows us to
batch and sweep inputs from different clients with similar fee rates
within a single transaction, allowing us to save on chain fees.

With this addition, we can now get rid of the UtxoSweeper's default fee
preference. As of this commit, any clients using the it to sweep inputs
specify the same fee preference to not change their behavior. Each of
these can be fine-tuned later on given their use cases.
2019-05-24 15:30:38 -07:00
..
briefcase_test.go cnct: use sweeper in commit resolver 2019-02-01 09:20:45 +01:00
briefcase.go multi: move Input interface and related code 2019-01-31 13:25:33 +01: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 cnct: add invoice registry interface 2019-05-15 14:42:01 +02:00
chain_watcher_test.go Merge pull request #3044 from cfromknecht/spelling-fixes 2019-05-07 08:50:36 +02:00
chain_watcher.go channel+cnct: remove preimage from channel and resolution 2019-05-15 14:41:49 +02:00
channel_arbitrator_test.go lnwallet: make BlockChainIO.GetUTXO take cancel chan 2019-05-09 14:44:47 +02:00
channel_arbitrator.go witness_beacon: do not look up invoice preimages 2019-05-15 14:41:58 +02:00
commit_sweep_resolver.go multi: support arbitrary client fee preferences to UtxoSweeper 2019-05-24 15:30:38 -07:00
contract_resolvers.go cnct: expose non-incubating htlcs after channel force close 2019-02-01 09:36:47 +01:00
htlc_incoming_contest_resolver.go cnct+htlcswitch+invoices: move invoice parameter check out of link 2019-05-15 14:42:12 +02:00
htlc_incoming_resolver_test.go cnct/test: add incoming contest resolver test 2019-05-15 14:42:18 +02:00
htlc_outgoing_contest_resolver.go contractcourt: extract which timeout HTLC output to watch into new method 2019-03-19 16:50:09 -07:00
htlc_success_resolver.go cnct+htlcswitch+invoices: move invoice parameter check out of link 2019-05-15 14:42:12 +02:00
htlc_timeout_resolver_test.go cnct/test: extend mockWitnessBeacon 2019-05-15 14:42:15 +02:00
htlc_timeout_resolver.go contractcourt: simplify htlcTimeoutResolver, unify with HTLC contest logic 2019-03-19 16:50:27 -07:00
interfaces.go cnct+htlcswitch+invoices: move invoice parameter check out of link 2019-05-15 14:42:12 +02:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
mock_registry_test.go cnct/test: add incoming contest resolver test 2019-05-15 14:42:18 +02:00
utils_test.go cnct/test: add incoming contest resolver test 2019-05-15 14:42:18 +02:00