Hello, I would like to thanks the EasyWinBuilder creator, it's unbelievable that it works. ;-)
For a reference, this is what I did:
1. Clean install of Win7 x64 Professional to VMWare Player. 2. Unzip EasyWinBuilder to c:\bitcoin-0.8.5-EWB 3. start c:\bitcoin-0.8.5-EWB\contrib\easywinbuilder\__all_easywinbuilder.bat
BTW, might I ask, what steps should I do when I want to build other version of bitcoin src, or use this to build some altcoin? (Dogecoin for example). It is sufficient to just replace the src folder with another source file and recompile?
You can build any altcoin that you want,BUT scrypt altcoins(litecoin,etc.),won't compile perfectly.(it's from my experience with compiling on EasyWinBuilder)
|
|
|
@templar77: probably the grumpycoin makefile.mingw is a little bit different from bitcoin/other altcoin so that it can not find the libs. compare it to bitcoin, could be you only need to replace a couple of "=" by "?="
[crashing on shutdown] I got one report by pm about everything working fine and not crashing on shutdown... why it is crashing on shutdown for you I have no idea. You can try to delete debug.log, provoke the crash and then take a look at the new debug.log - maybe we can learn something. Other than that my wild guesses would are a version conflict or missing multi threading mode because of makefile differences.
I deleted my debug file.and started from the beggining. Opened my litecoin-qt.exe,and then closed,it crashed again. So here is my debug file. Phelix,help me please,because I don;t understand what is my problem) 2014-01-08 10:00:30 Litecoin version v0.8.6.1-g88e2a2e-beta (Thu, 5 Dec 2013 22:52:50 -1000) 2014-01-08 10:00:30 Using OpenSSL version OpenSSL 1.0.1e 11 Feb 2013 2014-01-08 10:00:30 Default data directory C:\Users\Redbool\AppData\Roaming\Litecoin 2014-01-08 10:00:30 Using data directory C:\Users\Redbool\AppData\Roaming\Litecoin 2014-01-08 10:00:30 Using at most 125 connections (2048 file descriptors available) 2014-01-08 10:00:30 Using 2 threads for script verification 2014-01-08 10:00:30 init message: Verifying wallet... 2014-01-08 10:00:30 dbenv.open LogDir=C:\Users\Redbool\AppData\Roaming\Litecoin\database ErrorFile=C:\Users\Redbool\AppData\Roaming\Litecoin\db.log 2014-01-08 10:00:30 Bound to [::]:9333 2014-01-08 10:00:30 Bound to 0.0.0.0:9333 2014-01-08 10:00:30 init message: Loading block index... 2014-01-08 10:00:30 Opening LevelDB in C:\Users\Redbool\AppData\Roaming\Litecoin\blocks\index 2014-01-08 10:00:30 Opened LevelDB successfully 2014-01-08 10:00:30 Opening LevelDB in C:\Users\Redbool\AppData\Roaming\Litecoin\chainstate 2014-01-08 10:00:30 Opened LevelDB successfully 2014-01-08 10:00:30 LoadBlockIndexDB(): last block file = 0 2014-01-08 10:00:30 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=1, size=288, heights=0...0, time=2011-10-07...2011-10-07) 2014-01-08 10:00:30 LoadBlockIndexDB(): transaction index disabled 2014-01-08 10:00:30 init message: Verifying blocks... 2014-01-08 10:00:30 block index 39ms 2014-01-08 10:00:30 init message: Loading wallet... 2014-01-08 10:00:31 nFileVersion = 80601 2014-01-08 10:00:31 wallet 551ms 2014-01-08 10:00:31 SetBestChain: new best=12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2 height=0 log2_work=20.000022 tx=1 date=2011-10-07 07:31:05 progress=0.000000 2014-01-08 10:00:31 init message: Loading addresses... 2014-01-08 10:00:31 ERROR: CAddrman::Read() : open failed 2014-01-08 10:00:31 Invalid or missing peers.dat; recreating 2014-01-08 10:00:31 Loaded 0 addresses from peers.dat 2ms 2014-01-08 10:00:32 RandAddSeed() 242572 bytes 2014-01-08 10:00:32 mapBlockIndex.size() = 1 2014-01-08 10:00:32 nBestHeight = 0 2014-01-08 10:00:32 setKeyPool.size() = 100 2014-01-08 10:00:32 mapWallet.size() = 0 2014-01-08 10:00:32 mapAddressBook.size() = 1 2014-01-08 10:00:32 dnsseed thread start 2014-01-08 10:00:32 Loading addresses from DNS seeds (could take a while) 2014-01-08 10:00:32 net thread start 2014-01-08 10:00:32 opencon thread start 2014-01-08 10:00:32 dumpaddr thread start 2014-01-08 10:00:32 upnp thread start 2014-01-08 10:00:32 init message: Done loading 2014-01-08 10:00:32 refreshWallet 2014-01-08 10:00:32 addcon thread start 2014-01-08 10:00:32 msghand thread start 2014-01-08 10:00:32 Added 20 addresses from 66.178.182.35: 0 tried, 20 new 2014-01-08 10:00:33 trying connection 114.216.241.119:9333 lastseen=83.7hrs 2014-01-08 10:00:33 Added 20 addresses from 151.236.218.211: 0 tried, 40 new 2014-01-08 10:00:33 Added 20 addresses from 198.199.69.98: 0 tried, 60 new
I am trying to compile Litecoin. When I compile Bitcoin via your scrypts,everything works perfectly,but when I compiled litecoin,it crashes ,when i close it. you think,i have to change something in makefile-mingw? The latest Litecoin crashes on me, too, even with old building environment. I have no idea why but for now I guess it is a Litecoin known problem: https://github.com/litecoin-project/litecoin/issues/111Luckily I don't use Litecoin ok. f...k litecoin))) But,in new Bitcoin 0.8.6 and 0.8.6 there is NO line // If genesis block hash does not match, then generate new genesis hash. if (true && block.GetHash() != hashGenesisBlock) in src/main.cpp and without that,I can't create Genesis Block. When I try to write this line(and some more code lines that are connected to IF),it crashes at me,when I want to compile it. So.How can i make genesis block>?)))
|
|
|
OR just make it so difficulty never readjusts from the initial block
can you say,where exactly can i change it?
|
|
|
i think diff == 0 is bad idea: a big rig can made lost of blocks, and double spend money. premine. create the genesisblock with 0 value: txNew.vout[0].nValue = 0 * COIN; and after: int64 static GetBlockValue(int nHeight, int64 nFees) { int64 nSubsidy = 0;
if (nHeight == 1) { nSubsidy = MAX_MONEY; }
return nSubsidy + nFees; } if you mine, the first block gets all cons. other blocks only has the transactions fee. thanx a lot)
|
|
|
According to this post https://bitcointalk.org/index.php?topic=189350.msg2035449#msg2035449. I have putted the new hashMerkleRoot into the main.cpp (into assert(block.hashMerkleRoot == uint256("0xbd58bf217abb76059de07dc519f6c3dcdf5b1a7bb9219a66d24205e08f3716f9")); ) I compiled,and now I run bitcoin-qt.exe,and I get this error "asser(hash==hashGenesisBlock)" And according to this topic https://bitcointalk.org/index.php?topic=189350.msg2035449#msg2035449,I can't find BlockGetHash in debug.log. And I CAN't find this code this in main.cpp "" // If genesis block hash does not match, then generate new genesis hash. if (true && block.GetHash() != hashGenesisBlock)"" Somebody can find this ? I use Litecoin source. What can it be? How I can create Genesis Block?(if new MerkleRoot is already putted in) Help me please Newer versions of these coins do not have the code included to generate a genesis block. For what ever reason the if (true && block.GetHash() != hashGenesisBlock) section has been removed. You have to go back to an earlier version of a coin such as smallchange to find it. https://github.com/bfroemel/smallchangethanks! Really normal answer. I think,THEY changed the code,to reduce the FORKS.=))Big mafia
|
|
|
La cuestión es, ¿morirán de éxito las altcoin?, ¿acabarán, realmente, siendo el talón de aquiles de Bitcoin?, a este paso, ¿cuantos exchanges/chiringuitos habrán de abrir para soportar tal ritmo de creacion de altcoins? ...
Saludos
No sé, la verdad) Sólo estoy creando altcoins
|
|
|
你必须给我发信息1)硬币名称 2)缩写(ABC) 3)Icon (256x256) 4)SHA256 或 Scrypt 5) 奖 为 Block 6)最大硬币 7)Proof of Work&Proof 或... Stake or Proof of Work 8)Premine 9)Block 时间 10)Linux Package 或 Windows Package 11)KGW(Kimoto Gravity Well) ? 12)Block Explorer ? 价格 0 btcPrice is 0,until 28.03
|
|
|
La información que usted tiene que enviarme a la PM. 1)Monedas nombre 2)Monedas abreviatura(ABC) 3)Icon (256x256) 4)SHA256 o Scrypt 5)monedas per block 6)monedas de Máximo 7)Proof of Work&Proof of Stake o Proof of Work 8)Premine 9)Block Time 10)KGW(Kimoto Gravity Well)(Necesario o no)11)Block Explorer,(Necesario o no)Price is 0 btc,until 28.03
|
|
|
Требуется полный комплект source для новой scrypt alt-coin на базе litecoin. Оплата btc/ltc. Бюджет - 1 BTC. Точно надо: кошелек винь, кошелек мак. Код пула. Запустить три пула. В коде litecoin'a надо поменять время и cкорость эмиссии.
Ответил в лс
|
|
|
Sombody have compiled ripple without problems?
|
|
|
I mean the wallet works and all but pops out a lot of errors when trying to close it.
Edit: Works when compiled statically. Tested on both qt 4.8.5 and 5.2. When I close Compiled altcoin-qt.exe,it crashes, What can it be? If you have been following this forum, the original static builds of bitcoin-qt.exe, built and run windows before bitcoin 0.8.5 and 0.8.6 all behaved erratically at exit. The cross compiled pre-built bitcoin-qt.exes that one got from source forge, generally behaved better at exit, though weren't perfect as I remember. This means that if your *coin-qt.exe implementation is derived from a bitcoin qt sources pre 0.8.5, then you inherit all its capabilities and deficiencies. The bitcoind.exes prebuilt from source forge may or may not have exited gracefully when commanded to "stop" remotely. I cannot say since I generally use a built on windows from sources bitcoind.exe. For me the bitcoind.exes built on windows exit more gracefully at 0.8.3 and above (0.8.5, 0.8.6) than previous versions. So again, this means that if your *coind.exe implementation is derived from a bitcoind sources pre 0.8.3, then you inherit all its capabilities and deficiencies. As an aside, if one has to abort, terminate or kill in some way a bitcoind.exe (and this goes for bitcoin-qt.exe too), there is no code to trap the 5 ways it can occur in Windows. The five ways are: 1. Ctl-C (not in Qt) 2. Ctl-break (not in Qt) 3. Close window (not in Qt) 4. Log-off user 5. Windows shutdown The first two or three are under your control, the other two are not. If you would like to trap those events, or some of them on Windows7, see message #176, on page 9 of this forum. Hope this helps Ron I think I found a problem. It's in makefile-mingw of Litecoin Is it different from bitcoin's makefile.mingw file? If yes,can you write what i have to change,because i sepnt 3 hours ,and didn;t found. Thanx in advice
|
|
|
So can somebody say me,if I can to mine Genesis(first) block,on my PC(i have not got permanent ip)? What Have i got to write in files like bitcoinrpc.cpp,etc/ thanx
|
|
|
I mean the wallet works and all but pops out a lot of errors when trying to close it.
Edit: Works when compiled statically. Tested on both qt 4.8.5 and 5.2. When I close Compiled altcoin-qt.exe,it crashes, What can it be? If you have been following this forum, the original static builds of bitcoin-qt.exe, built and run windows before bitcoin 0.8.5 and 0.8.6 all behaved erratically at exit. The cross compiled pre-built bitcoin-qt.exes that one got from source forge, generally behaved better at exit, though weren't perfect as I remember. This means that if your *coin-qt.exe implementation is derived from a bitcoin qt sources pre 0.8.5, then you inherit all its capabilities and deficiencies. The bitcoind.exes prebuilt from source forge may or may not have exited gracefully when commanded to "stop" remotely. I cannot say since I generally use a built on windows from sources bitcoind.exe. For me the bitcoind.exes built on windows exit more gracefully at 0.8.3 and above (0.8.5, 0.8.6) than previous versions. So again, this means that if your *coind.exe implementation is derived from a bitcoind sources pre 0.8.3, then you inherit all its capabilities and deficiencies. As an aside, if one has to abort, terminate or kill in some way a bitcoind.exe (and this goes for bitcoin-qt.exe too), there is no code to trap the 5 ways it can occur in Windows. The five ways are: 1. Ctl-C (not in Qt) 2. Ctl-break (not in Qt) 3. Close window (not in Qt) 4. Log-off user 5. Windows shutdown The first two or three are under your control, the other two are not. If you would like to trap those events, or some of them on Windows7, see message #176, on page 9 of this forum. Hope this helps Ron Thank you for such good answer. I 'll try.
|
|
|
Hi everyone.
I forked bitcoin,BUT idon't understand something about ports and ip. Can I put my localhost ip(127.0.0.1) to RPC and P2P ports and ip? For example,I want to create Genesis Block. 1)So can i write 127.0.0.1 and any port,at main.cpp,and init.cpp? 2)I need to create bitcoin.conf in my Roaming/Bitcoin ?
Please give me examples,what i should to write in /src/main.cpp and in other .cpp. And what i have to write in bitcoin.conf To create first genesis block(so it should start mining on localhost)
thanks
|
|
|
I mean the wallet works and all but pops out a lot of errors when trying to close it.
Edit: Works when compiled statically. Tested on both qt 4.8.5 and 5.2. When I close Compiled altcoin-qt.exe,it crashes, What can it be?
|
|
|
вернутся к основной работе расскажите, а что у Вас за основная работа такая, на которой Вы зарабатываете сумму сравнимую с $600K в год? ($600K = 15 btc / неделю * (52 - отпуск) недели * 800 $ / btc) Сейчас нам дадут ссылку на antichat.ru,и скажут 1)Ставьте ботнет 2)Заражайте компьютеры 3)Профит =)
|
|
|
@templar77: probably the grumpycoin makefile.mingw is a little bit different from bitcoin/other altcoin so that it can not find the libs. compare it to bitcoin, could be you only need to replace a couple of "=" by "?="
[crashing on shutdown] I got one report by pm about everything working fine and not crashing on shutdown... why it is crashing on shutdown for you I have no idea. You can try to delete debug.log, provoke the crash and then take a look at the new debug.log - maybe we can learn something. Other than that my wild guesses would are a version conflict or missing multi threading mode because of makefile differences.
I deleted my debug file.and started from the beggining. Opened my litecoin-qt.exe,and then closed,it crashed again. So here is my debug file. Phelix,help me please,because I don;t understand what is my problem) 2014-01-08 10:00:30 Litecoin version v0.8.6.1-g88e2a2e-beta (Thu, 5 Dec 2013 22:52:50 -1000) 2014-01-08 10:00:30 Using OpenSSL version OpenSSL 1.0.1e 11 Feb 2013 2014-01-08 10:00:30 Default data directory C:\Users\Redbool\AppData\Roaming\Litecoin 2014-01-08 10:00:30 Using data directory C:\Users\Redbool\AppData\Roaming\Litecoin 2014-01-08 10:00:30 Using at most 125 connections (2048 file descriptors available) 2014-01-08 10:00:30 Using 2 threads for script verification 2014-01-08 10:00:30 init message: Verifying wallet... 2014-01-08 10:00:30 dbenv.open LogDir=C:\Users\Redbool\AppData\Roaming\Litecoin\database ErrorFile=C:\Users\Redbool\AppData\Roaming\Litecoin\db.log 2014-01-08 10:00:30 Bound to [::]:9333 2014-01-08 10:00:30 Bound to 0.0.0.0:9333 2014-01-08 10:00:30 init message: Loading block index... 2014-01-08 10:00:30 Opening LevelDB in C:\Users\Redbool\AppData\Roaming\Litecoin\blocks\index 2014-01-08 10:00:30 Opened LevelDB successfully 2014-01-08 10:00:30 Opening LevelDB in C:\Users\Redbool\AppData\Roaming\Litecoin\chainstate 2014-01-08 10:00:30 Opened LevelDB successfully 2014-01-08 10:00:30 LoadBlockIndexDB(): last block file = 0 2014-01-08 10:00:30 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=1, size=288, heights=0...0, time=2011-10-07...2011-10-07) 2014-01-08 10:00:30 LoadBlockIndexDB(): transaction index disabled 2014-01-08 10:00:30 init message: Verifying blocks... 2014-01-08 10:00:30 block index 39ms 2014-01-08 10:00:30 init message: Loading wallet... 2014-01-08 10:00:31 nFileVersion = 80601 2014-01-08 10:00:31 wallet 551ms 2014-01-08 10:00:31 SetBestChain: new best=12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2 height=0 log2_work=20.000022 tx=1 date=2011-10-07 07:31:05 progress=0.000000 2014-01-08 10:00:31 init message: Loading addresses... 2014-01-08 10:00:31 ERROR: CAddrman::Read() : open failed 2014-01-08 10:00:31 Invalid or missing peers.dat; recreating 2014-01-08 10:00:31 Loaded 0 addresses from peers.dat 2ms 2014-01-08 10:00:32 RandAddSeed() 242572 bytes 2014-01-08 10:00:32 mapBlockIndex.size() = 1 2014-01-08 10:00:32 nBestHeight = 0 2014-01-08 10:00:32 setKeyPool.size() = 100 2014-01-08 10:00:32 mapWallet.size() = 0 2014-01-08 10:00:32 mapAddressBook.size() = 1 2014-01-08 10:00:32 dnsseed thread start 2014-01-08 10:00:32 Loading addresses from DNS seeds (could take a while) 2014-01-08 10:00:32 net thread start 2014-01-08 10:00:32 opencon thread start 2014-01-08 10:00:32 dumpaddr thread start 2014-01-08 10:00:32 upnp thread start 2014-01-08 10:00:32 init message: Done loading 2014-01-08 10:00:32 refreshWallet 2014-01-08 10:00:32 addcon thread start 2014-01-08 10:00:32 msghand thread start 2014-01-08 10:00:32 Added 20 addresses from 66.178.182.35: 0 tried, 20 new 2014-01-08 10:00:33 trying connection 114.216.241.119:9333 lastseen=83.7hrs 2014-01-08 10:00:33 Added 20 addresses from 151.236.218.211: 0 tried, 40 new 2014-01-08 10:00:33 Added 20 addresses from 198.199.69.98: 0 tried, 60 new
I am trying to compile Litecoin. When I compile Bitcoin via your scrypts,everything works perfectly,but when I compiled litecoin,it crashes ,when i close it. you think,i have to change something in makefile-mingw?
|
|
|
If you have ever built Bitcoin on Windows you probably know it can be a pain. Hopefully these scripts will make things a little easier. Note that the official Windows binaries are cross compiled on Linux. https://github.com/phelixbtc/bitcoin/tree/0.8.5-EWBDownloadEasyWinBuilder together with Bitcoin v0.8.5: https://github.com/phelixbtc/bitcoin/archive/0.8.5-EWB.zip(all code is equal to the respective Bitcoin, only the contrib/easywinbuilder folder is new) How to useDouble click __all_easywinbuilder.bat in the contrib/easywinbuilder folder and follow instructions. You will have to install MinGW and Qt by hand, the rest will run automatically. Altcoins / other versionsThe scripts should also work with different versions / altcoins with a similar structure to current Bitcoin, simply copy&paste the contrib/easywinbuilder folder. Disassembly hash - removed for now as it seems to only work with certain localesThe script calculates a hash of the disassembly of the final Qt executable. The idea is to validate binaries by several people, a little similar to the real Bitcoin build process. If you know a better way of how to get rid of the binary timestamp let me know. CreditsBased on the build manual by nitrogenetics ( https://bitcointalk.org/index.php?topic=149479.0) and older manuals from others. heavily edited When I close Compiled altcoin-qt.exe,it crashes, What can it be?
|
|
|
|