Pages:
Author

Topic: How do you create an altcoin? - page 14. (Read 21864 times)

hero member
Activity: 631
Merit: 501
April 13, 2013, 05:24:57 PM
#39
Hey pixel, I've been looking at the code.

I think I found the maximum quantity of coin, it seems it's a single variable in the src/main.h file, line 35. You also have other interesting variables there between lines 30 and 40.

Wow ... it seems like the block reward is hard coded into the cpp file.
hero member
Activity: 632
Merit: 500
April 13, 2013, 05:22:41 PM
#38
Hey pixel, I've been looking at the code.

I think I found the maximum quantity of coin, it seems it's a single variable in the src/main.h file, line 35. You also have other interesting variables there between lines 30 and 40.
hero member
Activity: 631
Merit: 501
April 13, 2013, 05:22:17 PM
#37
Lol... people will say all kinds of stuff... I like the thought of exploring the settings for a 'fun coin'.

My guess (and please don't shoot me).... is most of what is needed is in main.cpp as far as default settings go.
Someone with a bit more experience will need to chime in on this one:


32   uint256 hashGenesisBlock("0x12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2");
33   static CBigNum bnProofOfWorkLimit(~uint256(0) >> 20); // Litecoin: starting difficulty is 1 / 2^12

59   int64 nTransactionFee = 0;
60   int64 nMinimumInputValue = CENT / 100;

Block Reward
831  int64 nSubsidy = 50 * COIN;
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 05:16:20 PM
#36
Thanks for the interest everyone, it will keep me from giving up Cheesy.

Ive decided on a 50 coin reward for each solved block and that will half every 4-5 years. As for the total amount of coins i think i'll go with 25 million coins. Does this sound good?
Sounds genius, something which we have not seen before  Grin Grin Cheesy Cheesy

I detect your sarcasm... i think  lol
legendary
Activity: 1862
Merit: 1011
Reverse engineer from time to time
April 13, 2013, 05:14:51 PM
#35
Thanks for the interest everyone, it will keep me from giving up Cheesy.

Ive decided on a 50 coin reward for each solved block and that will half every 4-5 years. As for the total amount of coins i think i'll go with 25 million coins. Does this sound good?
Sounds genius, something which we have not seen before  Grin Grin Cheesy Cheesy
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 05:11:37 PM
#34
Thanks for the interest everyone, it will keep me from giving up Cheesy.

Ive decided on a 50 coin reward for each solved block and that will half every 4-5 years. As for the total amount of coins i think i'll go with 25 million coins. Does this sound good?

Edit: forgot to mention a re-target of 3-4 days
hero member
Activity: 632
Merit: 500
April 13, 2013, 05:06:42 PM
#33
This topic is a breath of fresh air. With all the bubble mania, DDoS, the insults and fight everywhere, this is really awesome to see. If a complete noob can make a new coin, it proves easily how the concept of crypto-currencies is brilliant! Smiley
jhd
member
Activity: 63
Merit: 10
April 13, 2013, 04:58:38 PM
#32
Interested topic!!
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 04:49:16 PM
#31
It's important to know what those parameters are and how to set them.
What if something goes wrong -- and you want to modify the re-targeting.

It's good to have an understanding of where these parameters live.


+1
Ive been looking around the bitcoin wiki for this info but I have not found any good explanation
full member
Activity: 156
Merit: 100
April 13, 2013, 04:45:22 PM
#30
It's important to know what those parameters are and how to set them.
What if something goes wrong -- and you want to modify the re-targeting.

It's good to have an understanding of where these parameters live.


+1
hero member
Activity: 631
Merit: 501
April 13, 2013, 04:41:28 PM
#29
It's important to know what those parameters are and how to set them.
What if something goes wrong -- and you want to modify the re-targeting.

It's good to have an understanding of where these parameters live.
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 04:30:27 PM
#28
I still need some instruction on how to start doing this :/

 
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 04:27:14 PM
#27
Well, some calculations are needed.
For example... finding a block every 2 minutes - how many would you find after 5 years of mining?


I could just stick with the litecoin defualt Cheesy
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 04:25:50 PM
#26
I meant 50 million total coins

The reward will be 25 and that will half every 5 years
hero member
Activity: 631
Merit: 501
April 13, 2013, 04:25:40 PM
#25
Well, some calculations are needed.
For example... finding a block every 2 minutes - how many would you find after 5 years of mining?
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 04:23:33 PM
#24
God i wish i had your free time Tongue
Yay for being in high school Cheesy
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 04:21:57 PM
#23
Lets go with scrypt sence its easier on CPUs than sha-256

IMO it is a better choice.



What about Difficulty re-target and block rate?
What do you think? Im at a loss here Tongue

Really it's your choice.

Litecoin re-targets every 2-3 days.
Mincoin re-targets 2 times a day.
 
Plus how often do you want to find a block?
Every minute... every 10 minutes?

This will directly effect how long it takes to confirm transactions.



Lets re-target every 3-4 days
And find a block every 5 minutes

Above posted was edited, quote not up to date


sounds fun!


How many coins total? and when should the reward be halved?


How about 50 million coins
and it can half every 5 years

are you sure that adds up?


Whats wrong with it?
full member
Activity: 168
Merit: 100
April 13, 2013, 04:21:01 PM
#22
God i wish i had your free time Tongue
full member
Activity: 156
Merit: 100
April 13, 2013, 04:19:51 PM
#21
Lets go with scrypt sence its easier on CPUs than sha-256

IMO it is a better choice.



What about Difficulty re-target and block rate?
What do you think? Im at a loss here Tongue

Really it's your choice.

Litecoin re-targets every 2-3 days.
Mincoin re-targets 2 times a day.
 
Plus how often do you want to find a block?
Every minute... every 10 minutes?

This will directly effect how long it takes to confirm transactions.



Lets re-target every 3-4 days
And find a block every 5 minutes


sounds fun!


How many coins total? and when should the reward be halved?


How about 50 million coins
and it can half every 5 years

are you sure that adds up?
member
Activity: 98
Merit: 10
x1 7970 | Aprox. 587 kh/s
April 13, 2013, 04:18:03 PM
#20
Lets go with scrypt sence its easier on CPUs than sha-256

IMO it is a better choice.



What about Difficulty re-target and block rate?
What do you think? Im at a loss here Tongue

Really it's your choice.

Litecoin re-targets every 2-3 days.
Mincoin re-targets 2 times a day.
 
Plus how often do you want to find a block?
Every minute... every 10 minutes?

This will directly effect how long it takes to confirm transactions.



Lets re-target every 3-4 days
And find a block every 5 minutes 2 minutes


sounds fun!


How many coins total? and when should the reward be halved?


How about 50 million coins
and it can half every 5 years

and Im actually gonna change to a block every 2 minutes
Pages:
Jump to: