Post
Topic
Board Bitcoin Discussion
Merits 1 from 1 user
Re: Lightning Network Observer
by
n0nce
on 29/11/2022, 16:18:23 UTC
⭐ Merited by JayJuanGee (1)
converting a onion payment amount of 99,999msat
to 10sat is not a rounding error

its a full conversion at a 1000x rate
that 1000x rate is the part im on about not the idio roundong silly petty brush under carpet arguments you think that only happens in LN
That's not what is happening, though. 99,999msat are rounded down to 99sat if the channel state has to be settled on the blockchain (read: channel is closed). Just under 1sat gets lost. No 1000x rates or anything.
rounding is not a /1000
also there is no hard rule that is consensus defined and locked to ensure converting is done at a 1000 rate

i am laughing that you call a change by a factor of 1000x "rounding"
Are you familiar with the metric system? In this system, such conversions are very common and required. An example:
If you convert 99,999 millimeters (ninet ynine thousand, nine hundred ninety nine - written without comma in Europe, just to clarify) to meters, what do you get? 99.999 meters (99 point 999 meters). Or 99 meters, 9 decimeters, 9 centimeters and 9 millimeters.
Anyhow; if we don't like (or can't work with) fractions, we need to use rounding. When rounding to the next meter, the conversion result would be 100m. We can't do that in Bitcoin or Lightning, since we can't create sats (or fractions of them) out of thin air; therefore we round down.
The conversion needs a factor of 1000x, indeed, since we go from msat (read: millisatoshi) to sat. milli standing for 'a thousandth'.

ok you give me $1999.. and ill "round that down for you to $1.90
and give you back $1.90 and tell you its the same things just rounded
You are working with the same unit here, though. No conversions. I can order 100999mm of cable from you and you deliver 100m or 101m, depending on how you round, if your machine can only cut cables in sections of 1m, for instance.

and how other cryptos have LN
Sure; other cryptos also have a blockchain. So? What's the point?

i do laugh that you still think LN is a sole feature of bitcoin and only compatible with bitcoin and relies on bitcoin to function..
It 'functions' on other blockchains, too; I personally doubt they're a good fit though, since I doubt their decentralization and security. Therefore to work well and securely, you need a good and secure base layer which only Bitcoin provides.