LN+ asked about 3 years ago

How can I use sub 1SAT (milliSAT) earnings on LN?

When routing small payments, I often get paid less than a single SAT. Since there is no concept of millisats on base layer Bitcoin, I have questions:
  1. Can these millisats be spent on LN?
  2. Do they add up to a single SAT over multiple routing payments across channels or only across a single channel?
  3. What happens if I close a channel with millisats on my side, do they get rounded up or down?

1 Comment

Guilty Spark

Guilty Spark wrote about 3 years ago

1. Yes, or at least in theory.
2. Only on that channel (edit, I understand the question now - it must always add up to exactly an integer sat in the channel. The sum of ingoing+outgoing liquidity is always integer inside a channel and that can never change).
3. Not sure, but I think the sum of the balances in the channel is always exactly a multiple of a sat. That would mean it would get rounded to the nearest integer sat (i.e. if you have 0.4 sat you get 0sat upon closure. The other party has 0.6 sat and thus gets 1 sat upon closure).

Please login to post comments.