lnd.xprv/sweep
Olaoluwa Osuntokun 73c9c2ee15
sweep+cnct+nursery+rpc: extract DetermineFeePerKw to func, add FeePreference
In this commit, we extract the existing determineFeePerKw method on the
RPC server into a new file in the sweep package. Along the way, we
consolidate code by introducing a new FeePreference struct, which allows
the caller to express their fee preference either in blocks to
confirmation, or a direct fee rate. This move takes a small step to
father decoupling calls in the main RPC server.
2019-01-09 15:55:17 -08:00
..
backend_mock_test.go sweep: add sweeper test 2018-12-18 10:50:19 +01:00
defaults_rpctest.go sweep: add time-based sweeper 2018-12-18 10:50:17 +01:00
defaults.go sweep: add time-based sweeper 2018-12-18 10:50:17 +01:00
fee_estimator_mock_test.go sweep: add sweeper test 2018-12-18 10:50:19 +01:00
input.go sweep+utxonursery+cnct+breacharbiter: add height hint to input 2018-12-18 10:50:11 +01:00
log.go multi: modify sweeper.CreateSweepTx to accept conf target, style changes 2018-10-18 18:08:27 -07:00
store_mock.go sweep: add sweeper store 2018-12-18 10:50:16 +01:00
store_test.go sweep: add sweeper store 2018-12-18 10:50:16 +01:00
store.go sweep: add sweeper store 2018-12-18 10:50:16 +01:00
sweeper_test.go sweep: rename Estimator to FeeEstimator 2019-01-09 15:55:01 -08:00
sweeper.go sweep+cnct+nursery+rpc: extract DetermineFeePerKw to func, add FeePreference 2019-01-09 15:55:17 -08:00
test_utils.go utxonursery: use mocked sweeper in tests 2018-12-19 14:14:53 +01:00
txgenerator.go sweep: add input partitionings generator 2018-12-18 10:50:14 +01:00
walletsweep.go sweep+cnct+nursery+rpc: extract DetermineFeePerKw to func, add FeePreference 2019-01-09 15:55:17 -08:00