b73a6e2c61
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 |
||
---|---|---|
.. | ||
lnd_channel_backup_test.go | ||
lnd_forward_interceptor_test.go | ||
lnd_macaroons_test.go | ||
lnd_max_channel_size_test.go | ||
lnd_mpp_test.go | ||
lnd_multi-hop_htlc_aggregation_test.go | ||
lnd_multi-hop_htlc_local_chain_claim_test.go | ||
lnd_multi-hop_htlc_local_timeout_test.go | ||
lnd_multi-hop_htlc_receiver_chain_claim_test.go | ||
lnd_multi-hop_htlc_remote_chain_claim_test.go | ||
lnd_multi-hop_local_force_close_on_chain_htlc_timeout_test.go | ||
lnd_multi-hop_remote_force_close_on_chain_htlc_timeout_test.go | ||
lnd_multi-hop_test.go | ||
lnd_multi-hop-error-propagation_test.go | ||
lnd_multi-hop-payments_test.go | ||
lnd_network_test.go | ||
lnd_onchain_test.go | ||
lnd_psbt_test.go | ||
lnd_rest_api_test.go | ||
lnd_send_multi_path_payment_test.go | ||
lnd_signer_test.go | ||
lnd_single_hop_invoice_test.go | ||
lnd_test_list_off_test.go | ||
lnd_test_list_on_test.go | ||
lnd_test.go | ||
lnd_wumbo_channels_test.go | ||
log_check_errors.sh | ||
log_error_whitelist.txt | ||
log_substitutions.txt | ||
test_harness.go |