Bitcoin Forum
May 10, 2024, 12:36:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: what's meaning of these params?  (Voting closed: March 30, 2016, 05:48:08 AM)
sorry - 0 (0%)
ok - 0 (0%)
Total Voters: 0

Pages: [1]
  Print  
Author Topic: what's meaning of these params?  (Read 1498 times)
okeying (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 29, 2016, 05:48:09 AM
 #1

hi everyone ,I got some puzzleds with these params.Is there anybody could solve my puzzleds? Thanks very much!By the way,I'm a fresh man in the Bitcoin world.

 Huh Huh Huh
        genesis.nTime    = nTime;
        genesis.nBits    = nBits;
        genesis.nNonce   = nNonce;
        genesis.nVersion = nVersion;


        consensus.nSubsidyHalvingInterval = 210000;
        consensus.nMajorityEnforceBlockUpgrade = 750;
        consensus.nMajorityRejectBlockOutdated = 950;
        consensus.nMajorityWindow = 1000;
        consensus.BIP34Height = 227931;
        consensus.BIP34Hash = uint256S("0x000000000000024b89b42a942fe0d9fea3bb44ab7bd1b19115dd6a759c0808b8");
        consensus.powLimit = uint256S("00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
        consensus.nPowTargetTimespan = 14 * 24 * 60 * 60; // two weeks
        consensus.nPowTargetSpacing = 10 * 60;
        consensus.fPowAllowMinDifficultyBlocks = false;
        consensus.fPowNoRetargeting = false;
        consensus.nRuleChangeActivationThreshold = 1916; // 95% of 2016
        consensus.nMinerConfirmationWindow = 2016; // nPowTargetTimespan / nPowTargetSpacing
        consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].bit = 28;
        consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nStartTime = 1199145601; // January 1, 2008

        consensus.vDeployments[Consensus::DEPLOYMENT_TESTDUMMY].nTimeout = 1230767999; // December 31, 2008
1715301385
Hero Member
*
Offline Offline

Posts: 1715301385

View Profile Personal Message (Offline)

Ignore
1715301385
Reply with quote  #2

1715301385
Report to moderator
1715301385
Hero Member
*
Offline Offline

Posts: 1715301385

View Profile Personal Message (Offline)

Ignore
1715301385
Reply with quote  #2

1715301385
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715301385
Hero Member
*
Offline Offline

Posts: 1715301385

View Profile Personal Message (Offline)

Ignore
1715301385
Reply with quote  #2

1715301385
Report to moderator
1715301385
Hero Member
*
Offline Offline

Posts: 1715301385

View Profile Personal Message (Offline)

Ignore
1715301385
Reply with quote  #2

1715301385
Report to moderator
1715301385
Hero Member
*
Offline Offline

Posts: 1715301385

View Profile Personal Message (Offline)

Ignore
1715301385
Reply with quote  #2

1715301385
Report to moderator
fbueller
Sr. Member
****
Offline Offline

Activity: 412
Merit: 275


View Profile
March 29, 2016, 01:01:07 PM
Merited by ABCbits (1)
 #2

The first part is the genesis block, the rest are other constants related to network rules - like the subsidy (mining reward) halving interval, desired block interval, and so on.

As you can see, it's just a place to dump constants that are required throughout the code.

Edit: did you mean to open a poll here?

Bitwasp Developer.
jrpatking
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
March 29, 2016, 02:42:08 PM
 #3

Why do you feel much about consensus code? Do you want clear explanation of each and every code you listed here?

GUNBOT  THE AUTOMATIC PROFIT GENERATOR FOR POLONIEX 
     LIMITED EDITION
[15 DAYS MONEY BACK GUARANTEE
]
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!