Bitcoin Forum
December 11, 2024, 02:34:10 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: We're 30,300 blocks from the reward drop!  (Read 7425 times)
payb.tc
Hero Member
*****
Offline Offline

Activity: 812
Merit: 1000



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

Activity: 2492
Merit: 1491


LEALANA Bitcoin Grim Reaper


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.                  History of Monero development Visualization ★☆ .
LEALANA BITCOIN GRIM REAPER SILVER COINS.
 
runeks
Legendary
*
Offline Offline

Activity: 980
Merit: 1008



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
Merit: 1000



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: 1904
Merit: 1002


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

Activity: 980
Merit: 1008



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
Merit: 1000



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: 980
Merit: 1008



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: 1904
Merit: 1002


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

Activity: 812
Merit: 1000



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: 2492
Merit: 1491


LEALANA Bitcoin Grim Reaper


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.                  History of Monero development Visualization ★☆ .
LEALANA BITCOIN GRIM REAPER SILVER COINS.
 
Pages: « 1 2 [3]  All
  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!