Pages:
Author

Topic: *** Complete Guide on How to Create a New Alt Coin *** - page 6. (Read 165958 times)

sr. member
Activity: 594
Merit: 253
The easier how to make a new altcoin gets, the more prone this forum and the entire world of crypto will be flooded with new coins. We have already almost a thousand coins. And most of it are shitcoins and the rest are poopcoins. They are without real use in the real world. Grin
 
full member
Activity: 462
Merit: 115
If I make poop coin will you mine it?

newbie
Activity: 4
Merit: 0
version 0.7.* should work, and not sure if .8 would work too

0.7 version of which code? I wasn't able to find a 0.7 branch in either bitcoin or litecoin.
newbie
Activity: 4
Merit: 0
I got struck up following the guide for the latest version of bitcoin code. Is there any specific version of bitcoin code which is apt for this guide?

This might work (it is mentioned in the tutorial)

https://github.com/bfroemel/smallchange



Thanks a lot for helping me out. Yes, I did look at that github. But when I try to build it, It gave an openssl error
Code:
fatal error 'openssl/bn.h' file not found'

OS: macOS Sierra 10.12
Openssl:
OpenSSL 0.9.8zh 14 Jan 2016
built on: Jul 30 2016
platform: darwin64-x86_64-llvm
options:  bn(64,64) md2(int) rc4(ptr,char) des(idx,cisc,16,int) blowfish(idx)
compiler: -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O3 -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DMD32_REG_T=int -DOPENSSL_NO_IDEA -DOPENSSL_PIC -DOPENSSL_THREADS -DZLIB -mmacosx-version-min=10.6
OPENSSLDIR: "/System/Library/OpenSSL"


But the latest bitcoin or litecoin code builds perfectly.
sr. member
Activity: 378
Merit: 250
version 0.7.* should work, and not sure if .8 would work too

If you mean Bitcoin, yes, it would work, but you need to do
more things than what is provided in the opening post.
but it is easier than latest versions for changing
legendary
Activity: 996
Merit: 1013
version 0.7.* should work, and not sure if .8 would work too

If you mean Bitcoin, yes, it would work, but you need to do
more things than what is provided in the opening post.
sr. member
Activity: 378
Merit: 250
version 0.7.* should work, and not sure if .8 would work too
legendary
Activity: 996
Merit: 1013
I got struck up following the guide for the latest version of bitcoin code. Is there any specific version of bitcoin code which is apt for this guide?

This might work (it is mentioned in the tutorial)

https://github.com/bfroemel/smallchange

newbie
Activity: 4
Merit: 0
I got struck up following the guide for the latest version of bitcoin code. Is there any specific version of bitcoin code which is apt for this guide?
newbie
Activity: 1
Merit: 0
May i translate this post and upload it to my blog?
full member
Activity: 542
Merit: 101
I have a mindblowing idea for a coin need a team. Are you developer fish can we do a setup?
newbie
Activity: 4
Merit: 0
lol, glad to see people still interested in my "how-to" 4 years ago  Grin

Thanks a lot for the detailed guide. I was searching for this for many days. This was the closest to what I was trying to do.
By the way, The code has changed a lot in the most recent version of bitcoin's repo. I was facing issues with OpenSSL headers when I tried to run the older version of the code.

I managed to change the parameters in chainparams.cpp and get the new hashblock and merkle hash. But stuck at finding the checkpoint methods that you mentioned in the guide. Without updating those the core is trying to load the checkpoints from disk and ends up in segmentation fault.

Any solution or direction I need to look into might help. Thanks a lot again.

Here is my debug.log
Code:
	2017-07-31 21:06:42 Bitcoin version v0.14.99.0-42307c4bf-dirty
2017-07-31 21:06:42 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2017-07-31 21:06:42 Assuming ancestors of block 0000000000000000003b9ce759c2a087d52abc4266f8f4ebd6d768b89defa50a have valid signatures.
2017-07-31 21:06:42 Using the 'standard' SHA256 implementation
2017-07-31 21:06:42 Using RdRand as an additional entropy source
2017-07-31 21:06:42 Default data directory /Users/username/Library/Application Support/Bitcoin
2017-07-31 21:06:42 Using data directory /Users/username/Library/Application Support/Bitcoin
2017-07-31 21:06:42 Using config file /Users/username/Library/Application Support/Bitcoin/bitcoin.conf
2017-07-31 21:06:42 Using at most 125 automatic connections (4864 file descriptors available)
2017-07-31 21:06:42 Using 16 MiB out of 32/2 requested for signature cache, able to store 524288 elements
2017-07-31 21:06:42 Using 16 MiB out of 32/2 requested for script execution cache, able to store 524288 elements
2017-07-31 21:06:42 Using 2 threads for script verification
2017-07-31 21:06:42 scheduler thread start
2017-07-31 21:06:42 HTTP: creating work queue of depth 16
2017-07-31 21:06:42 No rpcpassword set - using random cookie authentication
2017-07-31 21:06:42 Generated RPC authentication cookie /Users/username/Library/Application Support/Bitcoin/.cookie
2017-07-31 21:06:42 HTTP: starting 4 worker threads
2017-07-31 21:06:42 init message: Verifying wallet(s)...
2017-07-31 21:06:42 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2017-07-31 21:06:42 Using wallet wallet.dat
2017-07-31 21:06:42 CDBEnv::Open: LogDir=/Users/username/Library/Application Support/Bitcoin/database ErrorFile=/Users/username/Library/Application Support/Bitcoin/db.log
2017-07-31 21:06:42 Cache configuration:
2017-07-31 21:06:42 * Using 2.0MiB for block index database
2017-07-31 21:06:42 * Using 8.0MiB for chain state database
2017-07-31 21:06:42 * Using 440.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space)
2017-07-31 21:06:42 init message: Loading block index...
2017-07-31 21:06:42 Opening LevelDB in /Users/username/Library/Application Support/Bitcoin/blocks/index
2017-07-31 21:06:42 Opened LevelDB successfully
2017-07-31 21:06:42 Using obfuscation key for /Users/username/Library/Application Support/Bitcoin/blocks/index: 0000000000000000
2017-07-31 21:06:42 Opening LevelDB in /Users/username/Library/Application Support/Bitcoin/chainstate
2017-07-31 21:06:42 Opened LevelDB successfully
2017-07-31 21:06:42 Using obfuscation key for /Users/username/Library/Application Support/Bitcoin/chainstate: 7bbd099730c6ddd0
2017-07-31 21:06:42 LoadBlockIndexDB: last block file = 0
2017-07-31 21:06:42 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=0, size=0, heights=0...0, time=1970-01-01...1970-01-01)
2017-07-31 21:06:42 Checking all blk files are present...
2017-07-31 21:06:42 LoadBlockIndexDB: transaction index disabled
2017-07-31 21:06:42 Initializing databases...
2017-07-31 21:06:42 Pre-allocating up to position 0x1000000 in blk00000.dat
2017-07-31 21:06:42 init message: Verifying blocks...
2017-07-31 21:06:42  block index             208ms
2017-07-31 21:06:42 init message: Loading wallet...
2017-07-31 21:06:42 nFileVersion = 149900
2017-07-31 21:06:42 Keys: 2001 plaintext, 0 encrypted, 2001 w/ metadata, 2001 total
2017-07-31 21:06:42  wallet                  127ms
2017-07-31 21:06:42 setKeyPool.size() = 1999
2017-07-31 21:06:42 mapWallet.size() = 0
2017-07-31 21:06:42 mapAddressBook.size() = 1
2017-07-31 21:06:42 ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)
2017-07-31 21:06:42 *** Failed to read block
2017-07-31 21:06:42 Error: Error: A fatal internal error occurred, see debug.log for details
sr. member
Activity: 378
Merit: 250
it is easier with older versions, the newest one have changed a little bit, and can be harder, good luck with that
jr. member
Activity: 52
Merit: 100

Thanks I'll read that later and try that one out. Thanks for sharing.

Did you try the guide yourself, and how good is it?
sr. member
Activity: 378
Merit: 250
sr. member
Activity: 378
Merit: 250
it is a good start point, but if you are going to code with latest release, this guide is obsolote, lot of things have changed since it was created.
So it needs to be updated, most of all, how to create the genesis block.
sr. member
Activity: 728
Merit: 251
Does there exist any new such thread, with current reality, how to create a coin?
Or it`s the same?
jr. member
Activity: 48
Merit: 1
Some personal text
lol, glad to see people still interested in my "how-to" 4 years ago  Grin

Oh yes, looks like a lot of fun!  Trying this out now.

Does the guide need to be updated?  Who found they needed to do a bit of extra research?  I'm finding I have to look elsewhere to change port numbers for a start...

Thanks for the guide to making new altcoins Smiley  Love it!  I hope to learn quite a bit from tinkering with the source and creating a nothing coin.
sr. member
Activity: 434
Merit: 250
Thanks a lot its really awesome being a decade as a programmer i never thought to create a coin . Now its given initial pushing thing .I got some priority work to finish once done i will dedicate some time and try to create coin . i have C++ in college days even i dont think its a big deal .
full member
Activity: 560
Merit: 112
I know this is old but it's worth learning.
Pages:
Jump to: