Bitcoin Forum
May 14, 2024, 08:42:28 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Limit number of coins in circulation limited by the 64 bit storage?  (Read 224 times)
TheWolf666 (OP)
Full Member
***
Offline Offline

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
October 23, 2018, 07:25:48 AM
 #1

Is there a limit of Bitcoin technically possible to be issued?

I know that Bitcoin is limited to around 21 Millions, but if this limit would be lifted, is there a limit in the 64 bit representation that would for example limit the number of coins to 5-9 Billions, just because otherwise it would not be able to represent this number in the code internally?

Or Satoshi did limit to 21 Millions for some personal reasons, but Bitcoin as a program can (assuming that halfing is modified and the number of coin issued per block as well) handle a way larger number of Bitcoin? In that case what would be the maximum number of coins that could be represented in the blockchain?

Ref: https://bitzuma.com/posts/the-21-million-bitcoin-question/

1715676148
Hero Member
*
Offline Offline

Posts: 1715676148

View Profile Personal Message (Offline)

Ignore
1715676148
Reply with quote  #2

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

Posts: 1715676148

View Profile Personal Message (Offline)

Ignore
1715676148
Reply with quote  #2

1715676148
Report to moderator
1715676148
Hero Member
*
Offline Offline

Posts: 1715676148

View Profile Personal Message (Offline)

Ignore
1715676148
Reply with quote  #2

1715676148
Report to moderator
1715676148
Hero Member
*
Offline Offline

Posts: 1715676148

View Profile Personal Message (Offline)

Ignore
1715676148
Reply with quote  #2

1715676148
Report to moderator
TheWolf666 (OP)
Full Member
***
Offline Offline

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
October 23, 2018, 08:15:32 AM
Last edit: October 23, 2018, 08:32:53 AM by TheWolf666
 #2

Oops I have found a thread that answers to my question here: https://bitcointalk.org/index.php?topic=13837.0

UINT64_MAX = 18446744073709551615
BITCOIN_MAX = 21000000 * 10^ 8 = 2100000000000000


So the maximum number of Bitcoin possible based on that is 184467440737.09551615 . this limit is due to the int 64 internal representation. That is btw the max number of Doge or Bytecoin.

franky1
Legendary
*
Offline Offline

Activity: 4214
Merit: 4485



View Profile
October 23, 2018, 09:47:15 AM
 #3

satoshi liked maths and the Fibonacci sequence

its well documented
ill show you just 2 numbers found in the Fibonacci sequence and leave you to see how often they appear

21
144

I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
TheWolf666 (OP)
Full Member
***
Offline Offline

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
October 23, 2018, 02:00:06 PM
 #4

satoshi liked maths and the Fibonacci sequence

its well documented
ill show you just 2 numbers found in the Fibonacci sequence and leave you to see how often they appear

21
144
1

Amazing, thanks!

VanityWallets2015
Hero Member
*****
Offline Offline

Activity: 1498
Merit: 506



View Profile
October 27, 2018, 01:23:33 PM
 #5

Is there a limit of Bitcoin technically possible to be issued?

I know that Bitcoin is limited to around 21 Millions, but if this limit would be lifted, is there a limit in the 64 bit representation that would for example limit the number of coins to 5-9 Billions, just because otherwise it would not be able to represent this number in the code internally?

Or Satoshi did limit to 21 Millions for some personal reasons, but Bitcoin as a program can (assuming that halfing is modified and the number of coin issued per block as well) handle a way larger number of Bitcoin? In that case what would be the maximum number of coins that could be represented in the blockchain?

Ref: https://bitzuma.com/posts/the-21-million-bitcoin-question/
In my point of view bitcoin is very vast and very huge and there are lots of scope in working with bitcoin and this is the reason why bitcoin is able to provide employment to millions of people around the world and I don’t that there are limited number of bitcoin in the circulation as miners keep on mining the bitcoin and keep adding bitcoin into the circulation and if we compare bitcoin with Fiat currencies then also central banks keep on adding them into circulation every time so I don’t think that there are limited number of bitcoins in the circulation.

         ▄▄▄███████▄▄▄
     ▄▀█▀█ █████████████▄▄
   ▄██ █ █▄████████████████▄
  ██ █ ██▀█ █████████████████
 █▀█▄█▄▀█▄██▄█████████████████
██ █ ██ ██ ██▄▀████████████████
███▀█▀██ ███▀███▀██████████████
███▄██ ██▄▀██▄███▄█████████████
 ███▄▀██▀██▄▀██▄▀██▄▀▀████████
  █████▀█▄█▀█▄▀▀██▄▀▀██▄▄▀█▀█
   ▀████▄███▄█▀█▄▄▀▀▀█▄▄█▀█▀
     ▀▀████▄▀██▄▄█▀▀█▄▄▄▀▀
         ▀▀▀██▄▄███▀▀▀
.
......1xBit.com..BENEFIT ..SEASON........
       ▄▄███████████▄▄
    ▄███████████████████▄
  ▄██████████████████████▄
 █████████████████████████
██████████████████████████▌
████████████████████████████▄▄
███████████████████████████████
        █    █▄   █
        ▀▀▄    ▀▀▀█▀▀▀█▀▀▀▀▀▀▀█
           ▀▀▄    ▀▀▄▄█      ▄▀
              ▀▀▄     █▀▀▄▄  █
                 ▀▀▄  █   ▄█▀
                    ▀▀█▄▀▀
.
.
..PLAY NOW..
BrewMaster
Legendary
*
Offline Offline

Activity: 2114
Merit: 1292


There is trouble abrewing


View Profile
October 27, 2018, 03:31:48 PM
 #6

there is no limit of how big a number you can use in programming. lookup big numbers in each programming language and you can find a set of functions that deals with them. if you wanted a coin with a much larger supply all you needed to do was to set a different kind of variable for the amount!

besides there are many different methods of representing a number too. you don't have to stick to one fixed sized already-defined variable.
for instance you could have a number as big as n*Uint64 like this:
[1byte telling us the length][8byte UInt64][...n times...]
for instance:
[1][8bytes]
or
[2][8byte][8byte]
or
[3][8byte][8byte][8byte]

There is a FOMO brewing...
TheWolf666 (OP)
Full Member
***
Offline Offline

Activity: 615
Merit: 154


CEO of Metaisland.gg and W.O.K Corp


View Profile WWW
February 27, 2019, 12:22:15 PM
Last edit: March 08, 2019, 02:59:27 AM by TheWolf666
 #7

The Bitcoin wallet cannot hold more than 22 Billions. After that it goes in negative.
That's my experience when doing an altcoin.

Of course for Bitcoin this will never happen, but when doing an altcoin this has to be taken in account.

Transaction limits are 22,518,000 coins due to the 52 bits representation internally. Thanks to Cryddit for this precious answer (in pv)

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!