Bitcoin Forum
December 07, 2016, 08:20:27 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 [3]  All
  Print  
Author Topic: We're 30,300 blocks from the reward drop!  (Read 6617 times)
payb.tc
Hero Member
*****
Offline Offline

Activity: 812



View Profile
July 18, 2012, 01:45:45 AM
 #41

Also... 20806 blocks to go!

ah, i remember when my clock still looked like 7:30 Cheesy getting late now.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
smoothie
Legendary
*
Offline Offline

Activity: 1848


LEALANA Monero Physical Silver Coins


View Profile
July 18, 2012, 03:17:45 AM
 #42

Also... 20806 blocks to go!

ah, i remember when my clock still looked like 7:30 Cheesy getting late now.


It's almost midnight Cinderella!

███████████████████████████████████████

            ,╓p@@███████@╗╖,           
        ,p████████████████████N,       
      d█████████████████████████b     
    d██████████████████████████████æ   
  ,████²█████████████████████████████, 
 ,█████  ╙████████████████████╨  █████y
 ██████    `████████████████`    ██████
║██████       Ñ███████████`      ███████
███████         ╩██████Ñ         ███████
███████    ▐▄     ²██╩     a▌    ███████
╢██████    ▐▓█▄          ▄█▓▌    ███████
 ██████    ▐▓▓▓▓▌,     ▄█▓▓▓▌    ██████─
           ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌          
           ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌          
    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─  
     ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩    
        ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀       
           ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀`          
                   ²²²                 
███████████████████████████████████████

. ★☆ WWW.LEALANA.COM        My PGP fingerprint is A764D833.        SMOOTHIE'S HEALTH AND FITNESS JOURNAL          History of Monero development Visualization ★☆ .
LEALANA  PHYSICAL MONERO COINS 999 FINE SILVER.
 
runeks
Legendary
*
Offline Offline

Activity: 924



View Profile WWW
July 18, 2012, 03:52:45 AM
 #43

Current Block: 169672
Last Block with 50 BTC reward: 209998 https://blockexplorer.com/q/bcperblock/209998
First Block with 25 BTC reward: 209999 https://blockexplorer.com/q/bcperblock/209999

209999-169672=40327 blocks to reward halving.
First block with 25 BTC reward is not 209999, it's 210000.

Code reads:

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 50 * COIN;

    // Subsidy is cut in half every 4 years
    nSubsidy >>= (nHeight / 210000);

    return nSubsidy + nFees;
}

Only 20405 blocks to go now!
First 25 BTC block will probably be mined at: 2012-12-06 21:40:54 (GMT+2)
payb.tc
Hero Member
*****
Offline Offline

Activity: 812



View Profile
July 18, 2012, 03:56:51 AM
 #44

Current Block: 169672
Last Block with 50 BTC reward: 209998 https://blockexplorer.com/q/bcperblock/209998
First Block with 25 BTC reward: 209999 https://blockexplorer.com/q/bcperblock/209999

209999-169672=40327 blocks to reward halving.
First block with 25 BTC reward is not 209999, it's 210000.

Code reads:

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 50 * COIN;

    // Subsidy is cut in half every 4 years
    nSubsidy >>= (nHeight / 210000);

    return nSubsidy + nFees;
}

Only 20405 blocks to go now!
First 25 BTC block will probably be mined at: 2012-12-06 21:40:54 (GMT+2)

even though it's only a code-comment and not actual code, that is the kind of statement that can lead newbies to confusion about how things actually work:

 // Subsidy is cut in half every 4 years

should say:

 // Subsidy is cut in half approximately every 4 years

or

 // Subsidy is cut in half every 210000 blocks which will occur approximately every 4 years
notme
Legendary
*
Offline Offline

Activity: 1526


View Profile
July 18, 2012, 04:02:54 AM
 #45

Current Block: 169672
Last Block with 50 BTC reward: 209998 https://blockexplorer.com/q/bcperblock/209998
First Block with 25 BTC reward: 209999 https://blockexplorer.com/q/bcperblock/209999

209999-169672=40327 blocks to reward halving.
First block with 25 BTC reward is not 209999, it's 210000.

Code reads:

Code:
int64 static GetBlockValue(int nHeight, int64 nFees)
{
    int64 nSubsidy = 50 * COIN;

    // Subsidy is cut in half every 4 years
    nSubsidy >>= (nHeight / 210000);

    return nSubsidy + nFees;
}

Only 20405 blocks to go now!
First 25 BTC block will probably be mined at: 2012-12-06 21:40:54 (GMT+2)

Last I checked, with integer division 209999/210000 = 0, so 210000 will be the first block with 25 BTC reward.  Height = block number since the first block was number 0.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
12jh3odyAAaR2XedPKZNCR4X4sebuotQzN
runeks
Legendary
*
Offline Offline

Activity: 924



View Profile WWW
July 18, 2012, 06:56:18 AM
 #46

^ Yes... That's exactly what I said. blockexplorer.com has got it wrong.

even though it's only a code-comment and not actual code, that is the kind of statement that can lead newbies to confusion about how things actually work:

 // Subsidy is cut in half every 4 years

should say:

 // Subsidy is cut in half approximately every 4 years

or

 // Subsidy is cut in half every 210000 blocks which will occur approximately every 4 years

Agreed. Though I'm not quite sure how much newbies read source code (or the comments in it). Smiley
payb.tc
Hero Member
*****
Offline Offline

Activity: 812



View Profile
July 18, 2012, 07:06:56 AM
 #47

^ Yes... That's exactly what I said. blockexplorer.com has got it wrong.

even though it's only a code-comment and not actual code, that is the kind of statement that can lead newbies to confusion about how things actually work:

 // Subsidy is cut in half every 4 years

should say:

 // Subsidy is cut in half approximately every 4 years

or

 // Subsidy is cut in half every 210000 blocks which will occur approximately every 4 years

Agreed. Though I'm not quite sure how much newbies read source code (or the comments in it). Smiley

well, i'm sure they read them a lot more when they're posted to this forum.
runeks
Legendary
*
Offline Offline

Activity: 924



View Profile WWW
July 18, 2012, 07:42:38 AM
 #48

Let's hope we helped clarify the issue.

Also: https://github.com/bitcoin/bitcoin/pull/1608
notme
Legendary
*
Offline Offline

Activity: 1526


View Profile
July 18, 2012, 03:33:21 PM
 #49

Let's hope we helped clarify the issue.

Also: https://github.com/bitcoin/bitcoin/pull/1608

Done and done.

https://www.bitcoin.org/bitcoin.pdf
While no idea is perfect, some ideas are useful.
12jh3odyAAaR2XedPKZNCR4X4sebuotQzN
payb.tc
Hero Member
*****
Offline Offline

Activity: 812



View Profile
July 18, 2012, 09:32:06 PM
 #50


great, thanks guys. my first (sort of) contribution to the bitcoin source code comments.
smoothie
Legendary
*
Offline Offline

Activity: 1848


LEALANA Monero Physical Silver Coins


View Profile
July 19, 2012, 05:28:08 AM
 #51

Also... 20806 blocks to go!

ah, i remember when my clock still looked like 7:30 Cheesy getting late now.


On this site you should continually calculate an approximate date and time before reward halving. Would be nice to have. Bitcoinwatch.com should have the same so people have a deadline to look at.

███████████████████████████████████████

            ,╓p@@███████@╗╖,           
        ,p████████████████████N,       
      d█████████████████████████b     
    d██████████████████████████████æ   
  ,████²█████████████████████████████, 
 ,█████  ╙████████████████████╨  █████y
 ██████    `████████████████`    ██████
║██████       Ñ███████████`      ███████
███████         ╩██████Ñ         ███████
███████    ▐▄     ²██╩     a▌    ███████
╢██████    ▐▓█▄          ▄█▓▌    ███████
 ██████    ▐▓▓▓▓▌,     ▄█▓▓▓▌    ██████─
           ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌          
           ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌          
    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─  
     ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩    
        ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀       
           ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀`          
                   ²²²                 
███████████████████████████████████████

. ★☆ WWW.LEALANA.COM        My PGP fingerprint is A764D833.        SMOOTHIE'S HEALTH AND FITNESS JOURNAL          History of Monero development Visualization ★☆ .
LEALANA  PHYSICAL MONERO COINS 999 FINE SILVER.
 
Pages: « 1 2 [3]  All
  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!