Bitcoin Forum
May 03, 2024, 09:42:55 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin division limit  (Read 4526 times)
genjix (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1072


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

Posts: 1714772575

View Profile Personal Message (Offline)

Ignore
1714772575
Reply with quote  #2

1714772575
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
MoonShadow
Legendary
*
Offline Offline

Activity: 1708
Merit: 1007



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: 1039


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!