Author

Topic: [Lightning] Receiving capacity stucks at 0 BTC (Read 109 times)

legendary
Activity: 1876
Merit: 3132
I sent another 20,000 sats, which means I've sent 30,101 over all, plus a few in fees. Now my receiving capacity is 10,110 sats. What's the explanation behind that? The number would make sense if the reserve was 20,000 sats. (I haven't checked the reserve from Electrum's console as I don't know how to do it atm, but it shouldn't be different; it's the same Lightning node)

It could be different; Electrum might be the one enforcing a higher reserve. Try running "list_channels()" in the console and check both "local_reserve" and "remote_reserve" values.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
Try spending more coins.
That was the problem. Thanks again!

Type in lightning-cli listpeers on your other node, find that channel and compare "our_channel_reserve_satoshis" and "their_channel_reserve_satoshis" values.
I've opened a channel from both Electrum's node and Core's node to 1ml dot com's node, because apparently I can't make those two connect together, so 1ml routes my transactions. With a listpeers from Core Lightning I see:
Code:
"their_channel_reserve_satoshis": 15000
"our_channel_reserve_satoshis": 15000

I sent another 20,000 sats, which means I've sent 30,101 over all, plus a few in fees. Now my receiving capacity is 10,110 sats. What's the explanation behind that? The number would make sense if the reserve was 20,000 sats. (I haven't checked the reserve from Electrum's console as I don't know how to do it atm, but it shouldn't be different; it's the same Lightning node)
legendary
Activity: 1876
Merit: 3132
Shouldn't the receiving capacity increase by 10,101 sats? Also, shouldn't sending capacity be greater? More like 0.01989563 tBTC?

Both parties are required to keep a small unspendable reserve.

Each side of a channel maintains this reserve so it always has something to lose if it were to try to broadcast an old, revoked commitment transaction. Initially, this reserve may not be met, as only one side has funds; but the protocol ensures that there is always progress toward meeting this reserve, and once met, it is maintained.

Try spending more coins. Once you spend enough to meet your reserve, any extra coins sent should be added to your "Can receive" counter. The reserve is usually 1% so you should see the difference once you spend over 20k satoshi.

Type in lightning-cli listpeers on your other node, find that channel and compare "our_channel_reserve_satoshis" and "their_channel_reserve_satoshis" values.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
I created a channel worth of 0.02 tBTC to test some things with routing in Electrum, and it appears to not work as expected. I've made two transactions, sending 100 sats and 10,001 sats respectively from my Electrum Lightning node to my Core Lightning node.





Shouldn't the receiving capacity increase by 10,101 sats? Also, shouldn't sending capacity be greater? More like 0.01989563 tBTC?
Jump to: