Skip to content

[feature]: SendPayment: allow settingmax_shard_size_asset #1625

Open
@ZZiigguurraatt

Description

@ZZiigguurraatt

With #1613, I'm not sure how it decides to automatically shard assets when using SendPayment over multiple outbound channels. When manually sharding assets, I'm not sure which quote is used with the max_shard_size_msat. Does it use the highest quote, the lowest quote, or the quote that goes with that channel? Regardless of how it does it, it is difficult to choose a good shard size when we don't know what any of the quotes are in advance. I'd like an option max_shard_size_asset that lets us set the shard size in terms of the asset being sent and not msat, this way the user has better control over what is going on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions