Yes sorry, I used the wrong terminology. What I wanted to confirm is that the peer of a direct channel will allow for my 5M sats transaction to go through this channel, correct?
Yes.
So I am still getting errors even with a direct channel:
From lightning-cli:
"code": 210,
"message": "Ran out of routes to try after 59 attempts: see `paystatus`",
"attempts": [
{
"status": "pending",
"partid": 1,
"amount_msat": 5000000000
},
{
"status": "failed",
"failreason": "failed: WIRE_MPP_TIMEOUT (reply from remote)",
"partid": 2,
"amount_msat": 3167117220,
"parent_partid": 1
},
...
{
"status": "failed",
"failreason": "No path found",
"partid": 49,
"amount_msat": 19365229,
"parent_partid": 28
},
{
"status": "failed",
"failreason": "Cannot split payment any further without exceeding the maximum number of HTLCs allowed by our channels",
"partid": 29,
"amount_msat": 31155448,
"parent_partid": 20
},
From the log file:
INFO plugin-pay: cmd 34 partid 1: Split into 2 sub-payments due to initial size (5000000000msat > 2560000000msat): new partid 2, new partid 3
...
INFO xxxxx-chan#2: htlc 5 failed from 0th node with code 0x0017 (WIRE_MPP_TIMEOUT)
INFO plugin-pay: cmd 34 partid 2: failed: WIRE_MPP_TIMEOUT (reply from remote)
INFO plugin-pay: cmd 34 partid 2: Payment deadline expired, not retrying (partial-)payment xxxxx/2
INFO xxxxx-chan#2: htlc 6 failed from 0th node with code 0x0017 (WIRE_MPP_TIMEOUT)
INFO plugin-pay: id 1 partid 4: failed: WIRE_MPP_TIMEOUT (reply from remote)
INFO plugin-pay: id 1 partid 4: Payment deadline expired, not retrying (partial-)payment xxxxx/4
INFO xxxxx-chan#2: htlc 7 failed from 0th node with code 0x0017 (WIRE_MPP_TIMEOUT)
INFO plugin-pay: id 1 partid 8: failed: WIRE_MPP_TIMEOUT (reply from remote)
INFO plugin-pay: id 1 partid 8: Payment deadline expired, not retrying (partial-)payment xxxxx/8
INFO xxxxx-chan#2: htlc 8 failed from 0th node with code 0x0017 (WIRE_MPP_TIMEOUT)
INFO plugin-pay: id 1 partid 36: failed: WIRE_MPP_TIMEOUT (reply from remote)
INFO plugin-pay: id 1 partid 36: Payment deadline expired, not retrying (partial-)payment xxxxx/36
When I look the the channel info, the field maximum_htlc_out_msat is higher than 5000000000msat.
So why is it still looking for routes if it does not need any routing?
Thanks!