taproot-assets icon indicating copy to clipboard operation
taproot-assets copied to clipboard

[feature]: Compare multiple peer RFQ quotes on unspecified peer

Open GeorgeTsagk opened this issue 1 year ago • 2 comments

Description

Currently our RPC methods for asset channel invoices/payments require the user to narrow down the tap-channel peer candidates to a single one, as we need a target to initiate the RFQ negotiation with.

This may be confusing for users as they may not be sure which peer should be chosen for a payment.

Solution

We could convert this into a feature by taking advantage of the competition amongst our asset peers in order to find the best quote, and prioritize a payment attempt using that one.

GeorgeTsagk avatar Jul 31 '24 09:07 GeorgeTsagk

Can we add multiple quotes to increase payment reliability but still set a priority for the route with the best rate? Do hop hints have a priority that the client is encouraged to honor?

ZZiigguurraatt avatar Nov 20 '24 05:11 ZZiigguurraatt

Can we add multiple quotes to increase payment reliability but still set a priority for the route with the best rate

Currently we can't, but we eventually want to. This is what the issue outlines

Do hop hints have a priority that the client is encouraged to honor?

Right now it's just 1 hop hint, which is the tap channel over which the receiver wants to receive (which is currently bound to 1 peer and 1 type of asset).

GeorgeTsagk avatar Nov 28 '24 09:11 GeorgeTsagk

I think we can close this now w/ multi rfq?

Roasbeef avatar Sep 10 '25 00:09 Roasbeef

Closed by https://github.com/lightninglabs/taproot-assets/pull/1382 https://github.com/lightninglabs/taproot-assets/pull/1457 https://github.com/lightninglabs/taproot-assets/pull/1613

GeorgeTsagk avatar Sep 10 '25 07:09 GeorgeTsagk