lnd.xprv/lntest
Olaoluwa Osuntokun b73a6e2c61
routing: if MaxShardAmt is set, then use that as a ceiling for our splits
In this commit, we thread through the necessary state to allow users to
set a max shard amount. If this value is set, then this'll effectively
serve as a ceiling for all our split attempts. If we need to split,
we'll first try to use `paymentAmt/2`, if that's bigger than
`MaxShardAmt, then we'll use the latter instead.

Ideally in the future we have a dynamic way to automatically set both
the `MaxShardAmt` as well as `MaxParts` for users. Until then exposing
these two new fields will allow us to experiment with setting them
automatically using the RPC interface, and also give users a bit more
control over how we attempt to route payments, akin to coin control for
on-chain payments.

Fixes #4730
2021-02-15 19:31:52 -08:00
..
channels lntest/channels: introduce subpackage to deduplicate static structs 2021-01-25 14:04:39 -05:00
itest routing: if MaxShardAmt is set, then use that as a ceiling for our splits 2021-02-15 19:31:52 -08:00
mock lnwallet+mock: add new PSBT methods 2020-10-03 10:34:39 +02:00
wait lntest: go easy on goroutines when polling 2020-12-08 21:37:11 +01:00
bitcoind_common.go lntest: add log dir flag 2020-11-04 11:03:30 +01:00
bitcoind_notxindex.go lntest: add build flag for disabling txindex on bitcoind 2020-10-09 13:35:04 +02:00
bitcoind.go lntest: add build flag for disabling txindex on bitcoind 2020-10-09 13:35:04 +02:00
btcd.go lntest: use nextAvailablePort for miner and btcd backend 2020-12-03 11:30:23 +01:00
doc.go lntest: Add doc.go with package documentation. 2017-12-14 20:06:23 -08:00
fee_service_test.go lntest: use web fee estimator in itests 2020-09-16 08:17:34 +02:00
fee_service.go lntest: use nextAvailablePort for fee service 2020-11-04 11:03:26 +01:00
harness.go lntest: fix linter errors for changed code 2020-12-08 21:40:36 +01:00
neutrino.go itest: disable node retrying to connect to miner 2020-09-12 20:09:54 +08:00
node.go Revert "lntest: always turn off gossip throttling for nodes created in itests" 2021-02-10 15:45:47 -08:00
timeouts_darwin.go lntest/timeouts: fix darwin+kvdb_etcd build 2020-11-18 15:28:39 -08:00
timeouts_etcd.go lntest/timeouts: fix darwin+kvdb_etcd build 2020-11-18 15:28:39 -08:00
timeouts.go lntest/timeouts: remove spaces from build predicates 2020-11-18 15:16:25 -08:00