LatentFire asked almost 2 years ago
I have been scammed of 3ml sats Swap 13869
I had a channel open in a pentagon the Node E "Yuki the Great:", I have lost 3ml sats and the channel has been closed. How can this happen I thought my side of the channel was secure. How can the channel be closed without me knowing ????????????????
4 Comments
t4es5ter5 wrote almost 2 years ago
When a channel closes funds are returned to your node after x amount of blocks. X depends on several settings and can be maximum two weeks or something like that.
Traverse wrote almost 2 years ago
Hello Latent Fire,
If you open a channel to another peer, assuming that you haven't sent anything to another peer yourself, eg by paying an invoice, then all those sats which have been sent down that channel are equally represented by sats on "your side" of the other channels you have open.
When you eventually close those channels, or alternatively send payments via those channels, you get your sats back.
For example, if I have channel A and channel B on my node each with 100k sats, channel A may be "incoming" and channel "B" may be outgoing. My total investment is 100k sats.
When those channels begin, Channel A has 100k sats on the other side, and channel B has 100k sats on my side. If 90k sats flows in via channel A and out by channel B, when channel B is closed, I get 10k sats back (less on-chain fees for opening and closing the channel, but plus forwarding fees I earned). When channel A is closed, I get 90k sats back (less on-chain fees for opening and closing the channel, but plus forwarding fees I earned).
So looking at a channel in isolation, it can seem you are down, but if you look at all your channels, in total you will be whole.
If you open a channel to another peer, assuming that you haven't sent anything to another peer yourself, eg by paying an invoice, then all those sats which have been sent down that channel are equally represented by sats on "your side" of the other channels you have open.
When you eventually close those channels, or alternatively send payments via those channels, you get your sats back.
For example, if I have channel A and channel B on my node each with 100k sats, channel A may be "incoming" and channel "B" may be outgoing. My total investment is 100k sats.
When those channels begin, Channel A has 100k sats on the other side, and channel B has 100k sats on my side. If 90k sats flows in via channel A and out by channel B, when channel B is closed, I get 10k sats back (less on-chain fees for opening and closing the channel, but plus forwarding fees I earned). When channel A is closed, I get 90k sats back (less on-chain fees for opening and closing the channel, but plus forwarding fees I earned).
So looking at a channel in isolation, it can seem you are down, but if you look at all your channels, in total you will be whole.
LatentFire wrote almost 2 years ago
Well if a peer opens a channel to me, for say 2ml sats, is it in my best interests, should I reciprocate by opening a channel to them for 2ml sats?
Traverse wrote almost 2 years ago
It isn't usual to open a reciprocal channel without a mutual agreement (a swap), and it doesn't help the network inter-connectivity very much.
When you open a channel, you have only outbound liquidity, you can feel uncertain whether you'll get that inbound liquidity. That can be a worry for a node operator. LN+ helps solve that problem.
For the network, the best thing for all node operators to do is to replace channels when you have little or no outgoing liquidity left in a channel. Especially if you need to put the PPM high on a channel to keep some sats on your side of the channel. So, rather than making a reciprocal channel, it is probably best to use those sats to replace your outgoing channels if they are exhausted. This will also benefit the person connecting to you, as you'll be giving a route out for those sats coming in to your node. It benefits you both.
When you open a channel, you have only outbound liquidity, you can feel uncertain whether you'll get that inbound liquidity. That can be a worry for a node operator. LN+ helps solve that problem.
For the network, the best thing for all node operators to do is to replace channels when you have little or no outgoing liquidity left in a channel. Especially if you need to put the PPM high on a channel to keep some sats on your side of the channel. So, rather than making a reciprocal channel, it is probably best to use those sats to replace your outgoing channels if they are exhausted. This will also benefit the person connecting to you, as you'll be giving a route out for those sats coming in to your node. It benefits you both.
Please login to post comments.