Bitcoin Forum
June 01, 2024, 08:05:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 »  All
  Print  
Author Topic: *** Complete Guide on How to Create a New Alt Coin ***  (Read 165871 times)
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
May 05, 2017, 12:40:57 PM
 #81

For i can see it seems a problem with the mgw47-mt thing

Indeed:


g++ -Wl,--large-address-aware -static -static-libgcc -static-libstdc++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release\Coin-qt.exe object_script.Coin
-qt.Release  -L"c:\Qt\4.8.5\lib" -lmingwthrd -lmingw32 -lqtmain build\bitcoin-qt_res.o -LC:/deps/miniupnpc -lminiupnpc -liphlpapi  -lshlwapi -LC:/deps/boost_1_5
5_0
/stage/lib -LC:/deps/db-4.8.30.NC/build_unix -LC:/deps/openssl-1.0.1j -LC:/deps/qrencode-3.4.4/.libs -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lo
le32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw47-mt-sd-1_53 -lboost_filesystem-mgw47-mt-sd-1_53 -lboost_program_options-mgw47-mt-sd-1_53 -lboost_thread-mgw47
-mt-sd-1_53 -lboost_chrono-mgw47-mt-sd-1_53 -lQtGui4 -lQtCore4
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -ldb_cxx
C:/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lboost_system-mgw47-mt-sd-1_53


perhaps you'll have better luck with something like mgw49-mt-sd-1_55 or near offer.

The resolution lies in the <coinname>.pro file, look for where BOOST_LIB_SUFFIX is bound and ensure the numbers match the versions of the installed mingw and boost packages.

Cheers

Graham
aleddr
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
May 13, 2017, 02:28:50 AM
Last edit: May 13, 2017, 09:06:29 PM by aleddr
 #82

For i can see it seems a problem with the mgw47-mt thing
Graham




 Grin Grin
YOU FIX MY BOOST PROBLEM THANKS!!
 Roll Eyes Roll Eyes

right now seraching to fix this:

c:\test\coin-master\src/txdb-leveldb.h:119: undefined reference to `leveld
b::Status::ToString() const'
collect2.exe: error: ld returned 1 exit status
make: *** [coind.exe] Error 1

Sad  


*EDIT: leveldb recompiled in windows... WORKS FINE NOW! Roll Eyes
fookie
Full Member
***
Offline Offline

Activity: 120
Merit: 100



View Profile
May 13, 2017, 07:06:29 AM
 #83

That is cool ,any guide on how to fork ETH?
picchio
Legendary
*
Offline Offline

Activity: 2506
Merit: 1120



View Profile
May 13, 2017, 07:29:56 AM
 #84

That is cool ,any guide on how to fork ETH?
Sorry, little english ...
Like this?: https://github.com/ledgerlabs/ethereum-getting-started/wiki/local-node
No need to fork, just start a new chain.

Waves mi piaceva ora non più.
fisheater (OP)
Hero Member
*****
Offline Offline

Activity: 770
Merit: 605



View Profile
May 19, 2017, 11:51:04 PM
 #85

lol, glad to see people still interested in my "how-to" 4 years ago  Grin
MickGhee
Legendary
*
Offline Offline

Activity: 1386
Merit: 1000

Fucker of "the system"


View Profile
June 02, 2017, 10:21:50 PM
 #86

thanks for the infoemations great help

Last night, while you were sleeping. I fucked the system!
Arnon6766
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 09, 2017, 04:06:55 PM
 #87

Hi,
Does anyone know what my error means when I start litecoin-qt
debug.log:
ERROR: ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=602)
*** Failed to read block
Error Message when starting:
Error: An severe internal Error occured, see debug.log for details
Any Help would be apprecitaed
Thanks in advance
LynXMaSTeR
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 13, 2017, 07:12:25 PM
 #88

Is there anyone who produces his own coin in this way?
forkedchain
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
June 13, 2017, 07:18:22 PM
 #89

Is there anyone who produces his own coin in this way?
  only like 1000 times so far.  welcome to the party
webvn2k
Sr. Member
****
Offline Offline

Activity: 335
Merit: 250



View Profile
June 17, 2017, 12:01:33 AM
 #90

anyone can tell me , i want have  etc 1000,000 coin for developer or miner first (me-make coin) ,what name file i can change ? thank you
freemanjackal
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
June 20, 2017, 01:52:38 AM
 #91

i have managed to set to work a version 8.7 or something like that, but i cant do it with the last version, stuck in the genesis block, i have generated some hash that dont throw the assert, but it seems they are not right because when i run ./litecoind sometimes gives an error that cant find the best block; or cant read the block (when this happens i reindex and dont throw any error but stay like running but do nothing)

with this I try to generate the genesis block, but never do more than 1 iteration, and cant be rigth, it should take a while to find the nonce
Code:
for(genesis.nNonce = 0; consensus.powLimit < genesis.GetHash()  ; genesis.nNonce++){ }

the hash function pass the assert, but it gives me then some of the errors mentioned above
mdodong
Full Member
***
Offline Offline

Activity: 560
Merit: 112


View Profile
June 28, 2017, 02:22:15 AM
 #92

I know this is old but it's worth learning.

   SEMUX   -   An innovative high-performance blockchain platform   
▬▬▬▬▬      Powered by Semux BFT consensus algorithm      ▬▬▬▬▬
Github    -    Discord    -    Twitter    -    Telegram    -    Get Free Airdrop Now!
Prodigan786
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250



View Profile
June 28, 2017, 06:20:43 AM
 #93

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 .
sad_miner
Jr. Member
*
Offline Offline

Activity: 48
Merit: 1

Some personal text


View Profile
June 28, 2017, 01:52:52 PM
 #94

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.
Asimmo
Sr. Member
****
Offline Offline

Activity: 728
Merit: 251


View Profile
June 28, 2017, 01:59:48 PM
 #95

Does there exist any new such thread, with current reality, how to create a coin?
Or it`s the same?
freemanjackal
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
June 29, 2017, 03:49:10 PM
 #96

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.
freemanjackal
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
July 02, 2017, 01:35:49 AM
 #97

you could try this one
http://dillingers.com/blog/2015/04/18/how-to-make-an-altcoin/
INRI666
Jr. Member
*
Offline Offline

Activity: 52
Merit: 100


View Profile
July 05, 2017, 01:33:18 PM
 #98


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?
freemanjackal
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
July 06, 2017, 06:05:34 AM
 #99

it is easier with older versions, the newest one have changed a little bit, and can be harder, good luck with that
chian_reaction
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
August 01, 2017, 06:14:28 PM
 #100

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
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!