Bitcoin Forum
April 25, 2024, 01:28:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help to understand bitcoin halving calculation.  (Read 156 times)
artofwar (OP)
Member
**
Offline Offline

Activity: 142
Merit: 26


View Profile
February 27, 2018, 07:01:36 AM
Merited by paxmao (1)
 #1

bitcoin per block = 50
daily block = 144
halving = every 210,000 block
halving cycle = 4years
total coin = 21mil

the amount of cycle need to empty the block will be 34 cycle.

34 cycle times 4 years = 136years. http://planetcalc.com/3718/ (input -50 in intial value x0 and 50 in intial value x1)
===================

if i want to create new coin with 10 times per block value, which is 500, it will goes like this.

coin per block = 500
daily block = 144
halving = every 2,100,000 block
halving cycle = 4years
total coin = 210mil

from my understanding, it should be 34 cycle, which is 136years. should be the same as bitcoin.

but why i get 37 cycle = 148 years?

what parameter should be taken into calculation if I want to have 136years, exactly like bitcoin cycle?

1714051690
Hero Member
*
Offline Offline

Posts: 1714051690

View Profile Personal Message (Offline)

Ignore
1714051690
Reply with quote  #2

1714051690
Report to moderator
1714051690
Hero Member
*
Offline Offline

Posts: 1714051690

View Profile Personal Message (Offline)

Ignore
1714051690
Reply with quote  #2

1714051690
Report to moderator
1714051690
Hero Member
*
Offline Offline

Posts: 1714051690

View Profile Personal Message (Offline)

Ignore
1714051690
Reply with quote  #2

1714051690
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714051690
Hero Member
*
Offline Offline

Posts: 1714051690

View Profile Personal Message (Offline)

Ignore
1714051690
Reply with quote  #2

1714051690
Report to moderator
1714051690
Hero Member
*
Offline Offline

Posts: 1714051690

View Profile Personal Message (Offline)

Ignore
1714051690
Reply with quote  #2

1714051690
Report to moderator
codewench
Member
**
Offline Offline

Activity: 93
Merit: 39


View Profile
March 01, 2018, 09:22:02 AM
Merited by DarkStar_ (2), paxmao (1)
 #2

halving = every 2,100,000 block

You want to leave this at 210000, otherwise it will take over a thousand years to exhaust the mining reward.

Quote
from my understanding, it should be 34 cycle, which is 136years. should be the same as bitcoin.

but why i get 37 cycle = 148 years?

If you start at 500 coins, then the halving schedule goes 500, 250, 125, 62.5, ... So, you need three cycles more just to get down to close to 50.

If you really want to ten times more coins, with the same emission schedule, then set artofwarsatoshi to 0.0000001, i.e. ten times bigger. Your starting reward is 5,000,000,000 artofwarsatoshis.
artofwar (OP)
Member
**
Offline Offline

Activity: 142
Merit: 26


View Profile
March 04, 2018, 02:30:53 AM
 #3

yes, my mistake, if it were to be 2,100,000 block before halving, it will takes every 40 years before halving.

so these are the basic parameter:

bitcoin per block = 50
total coin = 21mil
daily block = 144
halving = every 210,000 block
halving cycle = 4years
last block = 136 years
decimal points = 8 decimals

if we want to create a new coin with 10 times more, with the same cycle as bitcoin, we have to sacrifice the decimal parameters.

coin per block = 500
total coin = 210 mil
daily block = 144
halving = every 210,000 block
halving cycle = 4years
last block = 136 years
decimal points = 7 decimals
(red indicates changes, gray indicates unchanged)

is this right? any other parameters should be put into account?
cpfreeplz
Legendary
*
Offline Offline

Activity: 966
Merit: 1042


View Profile
March 04, 2018, 04:19:12 AM
 #4

If you start at 500 coins, then the halving schedule goes 500, 250, 125, 62.5, ... So, you need three cycles more just to get down to close to 50.

If you really want to ten times more coins, with the same emission schedule, then set artofwarsatoshi to 0.0000001, i.e. ten times bigger. Your starting reward is 5,000,000,000 artofwarsatoshis.


Bingo. The rewards would need to be different than just 10x and hope that everything works out the same. That would be fine if the distribution was linear, which of course it's not because it's halved every four years.

I'd suggest you make a specific calculator that can do the calculations for you, to see how much you should have the first four years of block rewards at.
artofwar (OP)
Member
**
Offline Offline

Activity: 142
Merit: 26


View Profile
March 04, 2018, 07:37:54 AM
 #5

If you start at 500 coins, then the halving schedule goes 500, 250, 125, 62.5, ... So, you need three cycles more just to get down to close to 50.

If you really want to ten times more coins, with the same emission schedule, then set artofwarsatoshi to 0.0000001, i.e. ten times bigger. Your starting reward is 5,000,000,000 artofwarsatoshis.


Bingo. The rewards would need to be different than just 10x and hope that everything works out the same. That would be fine if the distribution was linear, which of course it's not because it's halved every four years.

I'd suggest you make a specific calculator that can do the calculations for you, to see how much you should have the first four years of block rewards at.


yes this is what im trying to do. to create a calculator for both user and developer. but first i have to determined what parameters should be in this calculations.
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!