Open d4amenace opened 2 years ago
{
"peers": [
{
"id": "02b302d41915c8b2ecf8167fb947c7732bdf7a5196c582a56f308cd363f0351094",
"connected": true,
"netaddr": [
"45.134.225.36:2635"
],
"features": "08a000080269a2",
"channels": [
{
"state": "CHANNELD_NORMAL",
"scratch_txid": "d66bdafde848075f07e7eb5f3f0ebeed23775ddbe30f745b4743720dc32955f5",
"last_tx_fee_msat": "317000msat",
"feerate": {
"perkw": 439,
"perkb": 1756
},
"owner": "channeld",
"short_channel_id": "755964x1159x0",
"direction": 1,
"channel_id": "4c1ec06f1f70ca6b7e3f04eee9bc400cf57ec5df7c67635701406b129bf44688",
"funding_txid": "8846f49b126b40015763677cdfc57ef50c40bce9ee043f7e6bca701f6fc01e4c",
"funding_outnum": 0,
"close_to_addr": "bc1qgyzpxk4aut6m0svy6ggqvedrwf9r44zf8vk3yu",
"close_to": "00144104135abde2f5b7c184d2100665a3724a3ad449",
"private": false,
"opener": "remote",
"alias": {
"local": "898065x13433018x54744",
"remote": "5705123x11709323x3397"
},
"features": [
"option_static_remotekey"
],
"funding": {
"local_msat": "0msat",
"remote_msat": "20600000msat",
"pushed_msat": "0msat",
"local_funds_msat": "0msat",
"remote_funds_msat": "20600000msat"
},
"msatoshi_to_us": 0,
"to_us_msat": "0msat",
"msatoshi_to_us_min": 0,
"min_to_us_msat": "0msat",
"msatoshi_to_us_max": 0,
"max_to_us_msat": "0msat",
"msatoshi_total": 20600000,
"total_msat": "20600000msat",
"fee_base_msat": "1000msat",
"fee_proportional_millionths": 10,
"dust_limit_satoshis": 546,
"dust_limit_msat": "546000msat",
"max_htlc_value_in_flight_msat": 18446744073709551615,
"max_total_htlc_in_msat": "18446744073709551615msat",
"their_channel_reserve_satoshis": 546,
"their_reserve_msat": "546000msat",
"our_channel_reserve_satoshis": 546,
"our_reserve_msat": "546000msat",
"spendable_msatoshi": 0,
"spendable_msat": "0msat",
"receivable_msatoshi": 19117000,
"receivable_msat": "19117000msat",
"htlc_minimum_msat": 0,
"minimum_htlc_in_msat": "0msat",
"minimum_htlc_out_msat": "0msat",
"maximum_htlc_out_msat": "20054000msat",
"their_to_self_delay": 144,
"our_to_self_delay": 144,
"max_accepted_htlcs": 30,
"state_changes": [
{
"timestamp": "2022-09-27T21:22:43.765Z",
"old_state": "CHANNELD_AWAITING_LOCKIN",
"new_state": "CHANNELD_NORMAL",
"cause": "remote",
"message": "Lockin complete"
}
],
"status": [
"CHANNELD_NORMAL:Reconnected, and reestablished.",
"CHANNELD_NORMAL:Funding transaction locked. Channel announced."
],
"in_payments_offered": 0,
"in_msatoshi_offered": 0,
"in_offered_msat": "0msat",
"in_payments_fulfilled": 0,
"in_msatoshi_fulfilled": 0,
"in_fulfilled_msat": "0msat",
"out_payments_offered": 0,
"out_msatoshi_offered": 0,
"out_offered_msat": "0msat",
"out_payments_fulfilled": 0,
"out_msatoshi_fulfilled": 0,
"out_fulfilled_msat": "0msat",
"htlcs": []
},
{
"state": "CHANNELD_NORMAL",
"scratch_txid": "107af57320cfeddcf65690da582b785228cfcf6a7f9ead87b1b4599086c9f02a",
"last_tx_fee_msat": "317000msat",
"feerate": {
"perkw": 439,
"perkb": 1756
},
"owner": "channeld",
"short_channel_id": "755971x1218x1",
"direction": 1,
"channel_id": "d62ae26c952374073a09523fa7d992fde638df9177beed4e2643463871ff9bb6",
"funding_txid": "b79bff71384643264eedbe7791df38e6fd92d9a73f52093a077423956ce22ad6",
"funding_outnum": 1,
"close_to_addr": "bc1qy82tekqgksz6kda52zrxk0trwqz7klng0ez79c",
"close_to": "001421d4bcd808b405ab37b450866b3d637005eb7e68",
"private": false,
"opener": "local",
"alias": {
"local": "6975724x10608648x63048",
"remote": "8826982x7395453x28243"
},
"features": [
"option_static_remotekey"
],
"funding": {
"local_msat": "27000000msat",
"remote_msat": "0msat",
"pushed_msat": "0msat",
"local_funds_msat": "27000000msat",
"remote_funds_msat": "0msat"
},
"msatoshi_to_us": 27000000,
"to_us_msat": "27000000msat",
"msatoshi_to_us_min": 27000000,
"min_to_us_msat": "27000000msat",
"msatoshi_to_us_max": 27000000,
"max_to_us_msat": "27000000msat",
"msatoshi_total": 27000000,
"total_msat": "27000000msat",
"fee_base_msat": "1000msat",
"fee_proportional_millionths": 10,
"dust_limit_satoshis": 546,
"dust_limit_msat": "546000msat",
"max_htlc_value_in_flight_msat": 18446744073709551615,
"max_total_htlc_in_msat": "18446744073709551615msat",
"their_channel_reserve_satoshis": 546,
"their_reserve_msat": "546000msat",
"our_channel_reserve_satoshis": 546,
"our_reserve_msat": "546000msat",
"spendable_msatoshi": 25517000,
"spendable_msat": "25517000msat",
"receivable_msatoshi": 0,
"receivable_msat": "0msat",
"htlc_minimum_msat": 0,
"minimum_htlc_in_msat": "0msat",
"minimum_htlc_out_msat": "0msat",
"maximum_htlc_out_msat": "26454000msat",
"their_to_self_delay": 144,
"our_to_self_delay": 144,
"max_accepted_htlcs": 30,
"state_changes": [
{
"timestamp": "2022-09-27T22:03:47.071Z",
"old_state": "CHANNELD_AWAITING_LOCKIN",
"new_state": "CHANNELD_NORMAL",
"cause": "user",
"message": "Lockin complete"
}
],
"status": [
"CHANNELD_NORMAL:Reconnected, and reestablished.",
"CHANNELD_NORMAL:Funding transaction locked. Channel announced."
],
"in_payments_offered": 0,
"in_msatoshi_offered": 0,
"in_offered_msat": "0msat",
"in_payments_fulfilled": 0,
"in_msatoshi_fulfilled": 0,
"in_fulfilled_msat": "0msat",
"out_payments_offered": 0,
"out_msatoshi_offered": 0,
"out_offered_msat": "0msat",
"out_payments_fulfilled": 0,
"out_msatoshi_fulfilled": 0,
"out_fulfilled_msat": "0msat",
"htlcs": []
}
]
},
{
"id": "0362be45762497c2327fbe6ef4762b92e8ad1fb463a3a482c2873404215ac3bdf9",
"connected": true,
"netaddr": [
"127.0.0.1:47516"
],
"features": "800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000888a52a1",
"channels": []
}
]
}
root@usr_M1664310541:/# lightning-cli pay lnbc20u1p3ngfjqsp5kqeagvzlvymf8ay97n7ls848l4umsxhyx8ltc5aj8v9x6sfxknrspp5vfa09c7amlavn370v68955jd79ck54qpyvh8jwrxfmycjse4328qdq9v94k5xqyjw5qcqpjrzjq2z8p7xqpglc7pk38awp785upvt942tgawy7ecl75gmr8dspnwlgkzuq7gqq9qgqqqqqqqlgqqqqqzsqyg9qyysgqsnf5xkpazmv2gpwszxt5wrxnzrd9fyhr8mku7fmhcnnpy4fav24smcyujxe5jrzfqed6tehl4cvdu04txpc6ykd7u7fkwmqj5z55j8cqavtwyd
{
"code": 210,
"message": "Ran out of routes to try after 693 attempts: see `paystatus`",
"attempts": [
{
"status": "failed",
"failreason": "failed: WIRE_TEMPORARY_CHANNEL_FAILURE (WIRE_TEMPORARY_CHANNEL_FAILURE: Capacity exceeded - HTLC fee: 393sat)",
"partid": 0,
"amount": "2000000msat",
"amount_msat": "2000000msat"
},
{
"status": "failed",
"failreason": "No path found",
"partid": 1,
"amount": "2000000msat",
"amount_msat": "2000000msat",
"parent_partid": 0
},
{
"status": "failed",
"failreason": "No path found",
"partid": 2,
"amount": "2000000msat",
"amount_msat": "2000000msat",
"parent_partid": 1
},
root@usr_M1664310541:/# lightning-cli getinfo
{
"id": "02fcccc",
"alias": "ccc",
"color": "02fc3e",
"num_peers": 2,
"num_pending_channels": 0,
"num_active_channels": 2,
"num_inactive_channels": 0,
"address": [
{
"type": "ipv4",
"address": "xxx",
"port": 40006
},
{
"type": "torv3",
"address": "ccc.onion",
"port": 9735
}
],
"binding": [
{
"type": "ipv4",
"address": "0.0.0.0",
"port": 40006
}
],
"version": "v0.12.0",
"blockheight": 756052,
"network": "bitcoin",
"msatoshi_fees_collected": 0,
"fees_collected_msat": "0msat",
"lightning-dir": "/root/.lightning/bitcoin",
"our_features": {
"init": "08a000080269a2",
"node": "88a000080269a2",
"channel": "",
"invoice": "02000000024100"
}
}
I can only conclude that Multiple Channels are not currently functional on Core Lightning. Contrary to what was previously assumed.
I have 2 channels between 2 nodes. The first channel has all the capacity coming into the reference node. The second channel has all the liquidity as spendable satoshis. I cannot seem to send any payments beyond the limits of the first channel even thought the second channel has plenty of liquidity to send on its route.....