Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: wsxdrfv on February 12, 2018, 01:05:08 PM



Title: Bitcoin source compiling problem. (make install)
Post by: wsxdrfv on February 12, 2018, 01:05:08 PM
I now trying to change variables of bitcoin source and make own.
 
For that maybe I need to change hashGenesisBlock's value to match to my block?

so I revised source like this,

chainparams.cpp : 123~126 line around approx.

assert(consensus.hashGenesisBlock == uint256S("0x"));   // deleted whole after '0x' to spit out error and then debug.log file will show the right value?

but after try, debug.log file itself does not generated, and to take this code change effective, tried compile, but this error.

http://naver.me/55BHuWIC

How to do fix?

Thanks.


Title: Re: Bitcoin source compiling problem. (make install)
Post by: jrian on February 12, 2018, 03:30:30 PM
please re-upload your image


Title: Re: Bitcoin source compiling problem. (make install)
Post by: wsxdrfv on February 13, 2018, 01:45:52 AM
please re-upload your image

sorry, here it is.

http://naver.me/55BHuWIC


Title: Re: Bitcoin source compiling problem. (make install)
Post by: jrian on February 13, 2018, 07:34:07 PM
can you build it without your changes? Just original software

Post more information, what you try to build, i'll try on my computer.


Title: Re: Bitcoin source compiling problem. (make install)
Post by: wsxdrfv on February 14, 2018, 02:39:11 AM
can you build it without your changes? Just original software

Post more information, what you try to build, i'll try on my computer.

Yes I can build original.

I just want to make alt-coin based on newest source, for that, I need to know my genesis block's value.


Title: Re: Bitcoin source compiling problem. (make install)
Post by: jrian on February 14, 2018, 11:51:03 AM
can you build it without your changes? Just original software

Post more information, what you try to build, i'll try on my computer.

Yes I can build original.

I just want to make alt-coin based on newest source, for that, I need to know my genesis block's value.


please post step by step what are you doing. As I know, you have to generate your own genesis block first.


Title: Re: Bitcoin source compiling problem. (make install)
Post by: wsxdrfv on February 15, 2018, 12:10:05 AM
can you build it without your changes? Just original software

Post more information, what you try to build, i'll try on my computer.

Yes I can build original.

I just want to make alt-coin based on newest source, for that, I need to know my genesis block's value.


please post step by step what are you doing. As I know, you have to generate your own genesis block first.

Just I did add printf for know hash value, and then typed 'make' at terminal for recompile. And error occured like above image I posted.


Title: Re: Bitcoin source compiling problem. (make install)
Post by: jrian on February 16, 2018, 11:07:49 AM
Just I did add printf for know hash value, and then typed 'make' at terminal for recompile. And error occured like above image I posted.

I'll try to compile it myself next week. I'll post result here