Author

Topic: Source code understanding (Read 596 times)

full member
Activity: 151
Merit: 100
♞MustangCoin♞
March 26, 2016, 02:32:49 AM
#6
You guys are great ::respect::
full member
Activity: 209
Merit: 100
March 26, 2016, 01:49:48 AM
#5

Transaction confirmation time - TARGET_SPACING or TargetSpacing, GetNextWorkRequired
Block maturity time - coinbase depth
Difficulty retarget time - TARGET_TIMESPAN or TargetTimespan, GetNextWorkRequired
Difficulty algo - GetNextWorkRequired
Min stake age
Max stake age
Minting maturity
Block reward pow and pos - GetBlockValue

Some of these names are based on the older source code, some the newer code.

For POS items, I am not sure.  The best way to learn is to look and read and do "Find Usage" to see what is up with this or that variable in the code.
full member
Activity: 151
Merit: 100
♞MustangCoin♞
March 26, 2016, 01:28:17 AM
#4
Need more baby sitting Smiley

So what i need to look in main.cpp its whole lot of text   Roll Eyes
full member
Activity: 151
Merit: 100
♞MustangCoin♞
March 26, 2016, 01:10:33 AM
#3
Thanks for advise sir
staff
Activity: 3458
Merit: 6793
Just writing some code
March 25, 2016, 11:47:49 PM
#2
That stuff is usually in chainparams.cpp or main.cpp. If the coin your are looking at is based off of an older version of bitcoin core e.g. 0.8.6 then it should all be main.cpp.
full member
Activity: 151
Merit: 100
♞MustangCoin♞
March 25, 2016, 11:35:47 PM
#1
Need to know how to find following info in source code
Transaction confirmation time
Block maturity time
Difficulty retarget time
Difficulty algo
Min stake age
Max stake age
Mint8ng maturity
Block reward pow and pos

Now some of the questions are related to altcoin so going to post in that section as well

Any advise / helpful post link would be appreciated
Jump to: