Bitcoin Forum
September 21, 2018, 01:18:05 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Is it time to think about decimal precision ?  (Read 641 times)
spartacusrex
Hero Member
*****
Offline Offline

Activity: 662
Merit: 506



View Profile
December 06, 2017, 09:30:15 AM
 #21

Even if BTC only went to 100k.. haha.. it would still require sub-satoshi payments if you were counting every light switch on\off, or every single byte of data sent from a certain server.

Nobody's going to be counting that kind of IoT stuff on the blockchain, there just isn't enough space (bytes are too valuable).

... Lightning network.. will allow near-infinite off chain txns. Your light switch, along with the rest of your house, will have a payment channel open. ping ping ping. Of course they won't be on-chain txns.

It's really bad bad very bad idea!
Only integer numbers.

Not to worry, Bitcoin is never going to use floating-point arithmetic because rounding errors would screw up the total number of Bitcoins over time - cumulative error grows exponentially with number of operations. Integer-math guarantees that the number of satoshis in circulation will always balance correctly. Smiley

I'm not saying use floating point.. I was just using that as an example of doubling precision from float to double.

I'm saying increase the number of ZEROs allowed after the decimal point, whatever the number format. so 0.0000000000000001 would be a valid amount. There are still only only 21 million btc.

Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!