Bitcoin Forum
November 11, 2024, 11:14:58 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin division limit  (Read 4548 times)
genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1076


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.
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1010



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
Hero Member
*
Offline Offline

Activity: 826
Merit: 1060


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!