On my lightning node it gives me no limits after decimal places. Am I Trippin or what?
Cuz if it IS infinitely divisible, that would be super cool
pull down to refresh
On my lightning node it gives me no limits after decimal places. Am I Trippin or what?
Cuz if it IS infinitely divisible, that would be super cool
https://bitcoin.stackexchange.com/a/69704
Thanks
Just wasn’t clear if it was infinitely divisible 🙂
Millisats (0.001) is the result of a constant in the LN code.
https://github.com/lightningnetwork/lnd/blob/master/lnwire/msat.go#L10-L12
I'm not sure if that means the LN protocol cannot be divisible further. I suspect a future version could, but the current LN protocol could not go below a millisat.
Thank you for the clarification!
Yes. On your Lightning node milli sat or 0.001sat is a basic unit actually.
Nice.
Just to confirm, it can go below 0.001 SAT as well? 🤔
I think yes. Imagine overhyped Fedimint, they might issue any token micro or nanosats as ecash.
Gotcha. Thanks for clarifying.
Dividing satoshis is risky as on the mainnet there are only statoshi. So you cannot take back your milli sats to the mainnet.
You can't take a single sat on chain either. Any UTXO amount below the dust limit is essentially unspendable due to the fees required to spend it. Millisats exist in a similar way that sats exist. As an accounting unit. Not necessarily a discrete and fully transferable unit.
Sats are the only units in the mainnet. Bitcoin itself as a unit doesn't exist. Every transaction is in sats.
Yes, but millisats are what makes a single sat spendable
I guess, from both your answers, it is useful to divide on lightning network if required but not outside it
The entire worlds economy can run on one single bitcoin. I wonder if the same is true for one sat? 🤔
That’s definitely some next level questioning 😂
Yes, but that would require a hard fork.
The defacto response…
view on twitter.comLightning can infinitely divide each BTC, but the Bitcoin blockchain cannot without a hardfork.
For one reason: BTCs are not divisible by sats at all. In code, there are only sats.
In the following file, line 15 shows sats (100mil); and line 26 shows 100mil multiplied by 21mil: https://github.com/bitcoin/bitcoin/blob/master/src/consensus/amount.h
The supply of Bitcoin is not 21mil BTC divisible by 100mil sats. The supply is actually 2,100 trillion sats. That's it.
This isn't splitting hairs. There is no division going on anywhere in that file. To increase the number on line 15 (sats per BTC), you wouldn't be increasing the "divisibility" of Bitcoin. You would be increasing the supply of Bitcoin (2,100 trillion sats). And that would require a hard fork.
A very detailed but concise reply. Thanks for that!
Looks like everyone here so far has answered either about lightning or on-chain, but not both.
So tl;dr: Lightning sats are divisible. On-chain is a matter of debate.
Thanks!
I don't think I've heard anyone argue sats are divisible on-chain. What's your argument?
Sorry, i was unclear. It's my understanding that some devs have proposed making sats divisible on chain. But they are not divisible currently.
The lightning network allows picobtc for fees, not just millisats.
To put that in perspective, millsats are
10^-8of a bitcoin, while picobtc are10^-12of a bitcoin.Nice
LN can run in derivatives known as millisatoshis, they're just a representation of a claim of a fraction of a satoshi, there's no such thing on the base chain, it doesn't know it exists. Just a function of LN
Thank you
Also keep in mind that if in the future there is a good reason to increase granularity below sats that benefits the majority of the network and hurts no one, it is not unthinkable that it would be implemented.
So this Policy is not fixed
that’s good
Not every dev agrees with this. John Carvalho argues that on-chain division of sats is equal to inflating the supply of bitcoin.
I would be curious to understand what is the reasoning behind that.
https://mobile.twitter.com/BitcoinErrorLog/status/1524638027909369856
Lightning is programmable monetary energy.
Digital Schrodinger's cat money