Bitcoin Forum
October 24, 2017, 08:05:45 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 »  All
  Print  
Author Topic: How do you create an altcoin?  (Read 21197 times)
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1554

Reverse engineer from time to time


View Profile
April 13, 2013, 10:28:27 PM
 #41

And we begin diving into the code, ive got my terminal window open and the git repository cloned Cheesy Lets go! Cheesy
Usually when you start making a coin, you have to realize that there are more people on Windows here than on Unix/Unix-like platforms, so a Windows binary is a must. Whereas Linux users can most of the time make;make install it very easily.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1508832345
Hero Member
*
Offline Offline

Posts: 1508832345

View Profile Personal Message (Offline)

Ignore
1508832345
Reply with quote  #2

1508832345
Report to moderator
1508832345
Hero Member
*
Offline Offline

Posts: 1508832345

View Profile Personal Message (Offline)

Ignore
1508832345
Reply with quote  #2

1508832345
Report to moderator
pixel
Member
**
Offline Offline

Activity: 98


x1 7970 | Aprox. 587 kh/s


View Profile
April 13, 2013, 10:29:18 PM
 #42

I will create a windows binary and a mac if I can. Im just editing files on debian.

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
Brunic
Hero Member
*****
Offline Offline

Activity: 633



View Profile
April 13, 2013, 10:29:59 PM
 #43

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;


It seems that everything you need is in main.ccp and main.h. Every other files are "support" files, like to build the keys, define the algorithm and other support functionalities.

As for changing the algorithm, I don't think it's going to be that easy to remove Scrypt and put something else. That Scrypt.c file is scary as hell Cheesy
pixel
Member
**
Offline Offline

Activity: 98


x1 7970 | Aprox. 587 kh/s


View Profile
April 13, 2013, 10:32:35 PM
 #44

Im using scrypt so i hope i won't have a problem there Cheesy

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1554

Reverse engineer from time to time


View Profile
April 13, 2013, 10:33:06 PM
 #45

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;


It seems that everything you need is in main.ccp and main.h. Every other files are "support" files, like to build the keys, define the algorithm and other support functionalities.

As for changing the algorithm, I don't think it's going to be that easy to remove Scrypt and put something else. That Scrypt.c file is scary as hell Cheesy
To be honest I was thinking of doing an alt-coin myself, but ultimately wanted to bring something new on the table in terms of proof-of-work algorithm, as even scrypt proved useless against GPUs.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
pixel
Member
**
Offline Offline

Activity: 98


x1 7970 | Aprox. 587 kh/s


View Profile
April 13, 2013, 10:35:13 PM
 #46

Should I put the binaries and etc. up in this thread when im done?

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
wmikrut
Hero Member
*****
Offline Offline

Activity: 609



View Profile WWW
April 13, 2013, 10:35:50 PM
 #47

Scrypt 'could' make GPUs useless if tuned a certain way.
I remember reading about this in the forums here sometime last year when GPUs started to dominate Litecoin.

What that tuning was, I could not say.

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1554

Reverse engineer from time to time


View Profile
April 13, 2013, 10:36:47 PM
 #48

Should I put the binaries and etc. up in this thread when im done?
You first need to create a genesis block. Even when I asked I couldn't fully understand the process.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
pixel
Member
**
Offline Offline

Activity: 98


x1 7970 | Aprox. 587 kh/s


View Profile
April 13, 2013, 10:36:53 PM
 #49

Ok, should I just change some numbers and letters in this line?

Code:
32   uint256 hashGenesisBlock("0x12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2");

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
ZephramC
Sr. Member
****
Offline Offline

Activity: 475



View Profile
April 13, 2013, 10:37:09 PM
 #50

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;


It seems that everything you need is in main.ccp and main.h. Every other files are "support" files, like to build the keys, define the algorithm and other support functionalities.

As for changing the algorithm, I don't think it's going to be that easy to remove Scrypt and put something else. That Scrypt.c file is scary as hell Cheesy
To be honest I was thinking of doing an alt-coin myself, but ultimately wanted to bring something new on the table in terms of proof-of-work algorithm, as even scrypt proved useless against GPUs.

You can always do a Donkey-Kong proof-of-work :-]]] https://bitcointalk.org/index.php?topic=164569.msg1812149#msg1812149
wmikrut
Hero Member
*****
Offline Offline

Activity: 609



View Profile WWW
April 13, 2013, 10:37:15 PM
 #51

Should I put the binaries and etc. up in this thread when im done?

You should create a github account (it's free I believe) and push your source (and binaries) to your account.
This will be important to keep the project open source and have everything available.

Otherwise you're just creating an RUCoin.

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
Blindfolded
Full Member
***
Offline Offline

Activity: 156



View Profile
April 13, 2013, 10:37:28 PM
 #52

Scrypt 'could' make GPUs useless if tuned a certain way.
I remember reading about this in the forums here sometime last year when GPUs started to dominate Litecoin.

What that tuning was, I could not say.



Interesting, i like the sound of that.
pixel
Member
**
Offline Offline

Activity: 98


x1 7970 | Aprox. 587 kh/s


View Profile
April 13, 2013, 10:38:58 PM
 #53

Should I put the binaries and etc. up in this thread when im done?

You should create a github account (it's free I believe) and push your source (and binaries) to your account.
This will be important to keep the project open source and have everything available.

Otherwise you're just creating an RUCoin.

I shall

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
Brunic
Hero Member
*****
Offline Offline

Activity: 633



View Profile
April 13, 2013, 10:40:07 PM
 #54

Scrypt 'could' make GPUs useless if tuned a certain way.
I remember reading about this in the forums here sometime last year when GPUs started to dominate Litecoin.

What that tuning was, I could not say.


Exactly. Some variable in Scrypt wasn't set high enough. I believe it's the function at line 263 in scypt.c. The "1024", if set higher should render the algorithm hard enough that even GPU couldn't get an advantage. I'm using my very limited knowledge and my memory of what I read though, so I believe I'm 10% correct  Grin
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1554

Reverse engineer from time to time


View Profile
April 13, 2013, 10:40:12 PM
 #55

The problem with github, is it's really really hard to use. I am on Windows, and have absolutely no idea how to use it in terms of committing/merging and so on.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
pixel
Member
**
Offline Offline

Activity: 98


x1 7970 | Aprox. 587 kh/s


View Profile
April 13, 2013, 10:41:01 PM
 #56

Ive used it before, I have a python script up on mine right now

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1554

Reverse engineer from time to time


View Profile
April 13, 2013, 10:41:29 PM
 #57

Ok, should I just change some numbers and letters in this line?

Code:
32   uint256 hashGenesisBlock("0x12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2");
No!!!. The genesis block process is not as simple as that. You ACTUALLY need to mine it as a regular block. It's also a process that I don't understand. This is probably the thing that will slow you down the most.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
Blindfolded
Full Member
***
Offline Offline

Activity: 156



View Profile
April 13, 2013, 10:43:11 PM
 #58

Ok, should I just change some numbers and letters in this line?

Code:
32   uint256 hashGenesisBlock("0x12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2");
No!!!. The genesis block process is not as simple as that. You ACTUALLY need to mine it as a regular block. It's also a process that I don't understand. This is probably the thing that will slow you down the most.


I did not know this. Looks like I'm goint to learn something today!  Smiley
pixel
Member
**
Offline Offline

Activity: 98


x1 7970 | Aprox. 587 kh/s


View Profile
April 13, 2013, 10:44:18 PM
 #59

Ok, should I just change some numbers and letters in this line?

Code:
32   uint256 hashGenesisBlock("0x12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2");
No!!!. The genesis block process is not as simple as that. You ACTUALLY need to mine it as a regular block. It's also a process that I don't understand. This is probably the thing that will slow you down the most.

Well if i start mining this genesis block am i not just mining litecoins?

Currently Mining: Litecoin, Xencoin, and Worldcoin (Just because its fun!, don't yell at me ;_;)
Brunic
Hero Member
*****
Offline Offline

Activity: 633



View Profile
April 13, 2013, 10:45:53 PM
 #60

Ok, should I just change some numbers and letters in this line?

Code:
32   uint256 hashGenesisBlock("0x12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2");
No!!!. The genesis block process is not as simple as that. You ACTUALLY need to mine it as a regular block. It's also a process that I don't understand. This is probably the thing that will slow you down the most.

What if you start a solo server and you configure your miner to mine at this server? Like if you solo mine Bitcoin or Litecoin, but now you're solo mining Noobcoin.
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 »  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!