Bitcoin Forum
September 27, 2016, 05:17:00 AM *
News: Due to DDoS attacks, there may be periodic downtime.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin division limit  (Read 3978 times)
genjix
Legendary
*
Offline Offline

Activity: 1232


View Profile
December 08, 2010, 04:58:58 PM
 #1

Hey,

Is the limitation of 8 decimal places a protocol one or a client one? If so, why?

I know that 8 decimal places is MASSIVE, but I'm just wondering why since it's inexpensive to have 16 decimals.

Donate to DarkWallet
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1474953420
Hero Member
*
Offline Offline

Posts: 1474953420

View Profile Personal Message (Offline)

Ignore
1474953420
Reply with quote  #2

1474953420
Report to moderator
MoonShadow
Legendary
*
Offline Offline

Activity: 1666



View Profile
December 08, 2010, 08:23:53 PM
 #2

Hey,

Is the limitation of 8 decimal places a protocol one or a client one? If so, why?


A protocol one, but it's not a particularly interdependent design decision.  The bitcoin balances are stored as integers (64 bit, I believe) and the decimal point is centered by the client for human readability in base 10.  It could be changed to a larger integer without a great deal of technical fuss, but that would require the general agreement of the entire running network.  So it's more of a political problem than a technical one.

Quote

I know that 8 decimal places is MASSIVE, but I'm just wondering why since it's inexpensive to have 16 decimals.

As noted above, bitcoin actually does use 16 places in base 10; so the next step isn't quite so inexpensive as one might imagine, because it involves stepping up to an 128 bit integer, at a minimum.

"The powers of financial capitalism had another far-reaching aim, nothing less than to create a world system of financial control in private hands able to dominate the political system of each country and the economy of the world as a whole. This system was to be controlled in a feudalist fashion by the central banks of the world acting in concert, by secret agreements arrived at in frequent meetings and conferences. The apex of the systems was to be the Bank for International Settlements in Basel, Switzerland, a private bank owned and controlled by the world's central banks which were themselves private corporations. Each central bank...sought to dominate its government by its ability to control Treasury loans, to manipulate foreign exchanges, to influence the level of economic activity in the country, and to influence cooperative politicians by subsequent economic rewards in the business world."

- Carroll Quigley, CFR member, mentor to Bill Clinton, from 'Tragedy And Hope'
ribuck
Donator
Legendary
*
Offline Offline

Activity: 826


View Profile
December 08, 2010, 08:29:15 PM
 #3

... the next step isn't quite so inexpensive as one might imagine, because it involves stepping up to an 128 bit integer, at a minimum.

It's not necessary to change to a 128-bit integer. Not all of the 64 bits are used, so one of the spare bits can be used as a flag that "shifts" the decimal point.
Pages: [1]
  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!