lightning-terminal/cmd
George Tsagkarelis dd90147d63
litcli: update payinvoice for multirfq
With the introduction of multi-rfq send in taproot assets (see related
PR https://github.com/lightninglabs/taproot-assets/pull/1613) we
extended the behavior of the SendPayment RPC slightly.

Now we may not specify an RFQ peer in order for a list of peers to be
created & used automatically. When that happens, we will return multiple
quotes over the RPC.

The content of this commit changes our client wrapper around the
handling of the payment result. Previously we'd expect for exactly a
single quote to be returned over the stream (for the single defined
peer). Now we read all of the quotes that are returned in the new quotes
array field of the RPC. To maintain backwards compatibility we also kept
the previous single-quote RPC field, which we make sure to only read
once now that we read both fields (avoid a duplicate quote from
appearing in the logs).
2025-10-30 10:52:45 +01:00
..
litcli litcli: update payinvoice for multirfq 2025-10-30 10:52:45 +01:00
litd terminal: use ctx instead of interceptor 2025-01-13 07:03:28 +02:00