• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Darkcoin-0.11: Porting the Bitcoin-0.9 tree ...

  • Daemon and CLI tool can't connect to testnet/regtest instances (wrong port?)
  • Daemon and CLI tool can't authenticate via RPC (wrong whatever?)

What do you mean, they cannot connect?
I haven't extensively tested them but here is what I get when I CPU-mine for the 101 first blocks in regtest mode:
Code:
➜  src git:(tree-0.9.3) ✗ ./bitcoin-cli -datadir=../datadir/darkcoil getinfo
{
    "version" : 90300,
    "protocolversion" : 71000,
    "walletversion" : 61000,
    "balance" : 500.00000000,
    "blocks" : 101,
    "timeoffset" : 0,
    "connections" : 0,
    "proxy" : "",
    "difficulty" : 0.00000000,
    "testnet" : false,
    "keypoololdest" : 1418137744,
    "keypoolsize" : 1001,
    "paytxfee" : 0.00000000,
    "relayfee" : 0.00001000,
    "errors" : ""
}
 
darkcoind and darkcoin-cli build fine, but darkcoin-qt won't because qmake finds nothing to do.

Which file and/or make-option is missing?

no qmake no workie :)

Code:
./autogen.sh
./configure
make -j $(nproc)

how did you get the daemon compiled without these steps? there should be no makefile available without calling autogen.sh
 
darkcoind and darkcoin-cli build fine, but darkcoin-qt won't because qmake finds nothing to do.

Which file and/or make-option is missing?
If you used autogen, there should be no need for qmake. Did you check the /src/qt folder? This is where it's supposed to build (while daemon and client are in /src)
 
no qmake no workie :)

Code:
./autogen.sh
./configure
make -j $(nproc)

how did you get the daemon compiled without these steps? there should be no makefile available without calling autogen.sh

./autogen.sh
./configure
make

This created everything BUT darkcoin-qt, no errors at all.
And, no, darkcoin-qt was also not created in the qt folder.

I guess when I'm back home I'll download the source again and start from scratch.

Edit: and I have already done this with older versions quite often and without problems, so every library which is need is installed.
 
./autogen.sh
./configure
make

This created everything BUT darkcoin-qt, no errors at all.
And, no, darkcoin-qt was also not created in the qt folder.

I guess when I'm back home I'll download the source again and start from scratch.
pics* or didnt happen :)

*) or rather logs ;p
 
./autogen.sh
./configure
make

This created everything BUT darkcoin-qt, no errors at all.
And, no, darkcoin-qt was also not created in the qt folder.

I guess when I'm back home I'll download the source again and start from scratch.

Edit: and I have already done this with older versions quite often and without problems, so every library which is need is installed.
I had the same problem - I didn't noticed warning that it won't build qt because "PROTOC not found"
try "./configure --with-gui"

If you want to build Bitcoin-Qt, make sure that the required packages for Qt development are installed. Either Qt 4 or Qt 5 are necessary to build the GUI. If both Qt 4 and Qt 5 are installed, Qt 4 will be used. Pass --with-gui=qt5 to configure to choose Qt5.
https://github.com/darkcoin/darkcoi...ix.md#dependencies-for-the-gui-ubuntu--debian
 

This: libprotobuf-dev protobuf-compiler. Didn't need it for v0.10.x.x builds, though. Or there was some old version pre-installed I didn't know of.

HB.JPG


BTW, over at Bitcointalk there's a lengthy discussion about your natural gender, vertoe. Those guys get easily confused :grin:

Oh, and BTW: WORKS!
11.jpg

Creates a whole lotta load when syncing,,,,
 
Last edited by a moderator:
BTW, over at Bitcointalk there's a lengthy discussion about your natural gender, vertoe. Those guys get easily confused :grin:
What is bitcointalk? And why my natural gender?

setgenerate true immediately crashes mine. I'll have a closer look tomorrow.

Yep, the miner code is broken.

Code:
[New Thread 0x7fff9e7fc700 (LWP 9054)]
terminate called after throwing an instance of 'std::runtime_error'
  what():  CreateNewBlock() : ConnectBlock failed

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff9e7fc700 (LWP 9054)]
0x00007ffff39c1a97 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff39c1a97 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff39c2e6a in abort () from /usr/lib/libc.so.6
#2  0x00007ffff42acfcd in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#3  0x00007ffff42aae56 in __cxxabiv1::__terminate(void (*)()) () from /usr/lib/libstdc++.so.6
#4  0x00007ffff42aaea1 in std::terminate() () from /usr/lib/libstdc++.so.6
#5  0x00007ffff42ab0b8 in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x00000000006f4809 in CreateNewBlock (scriptPubKeyIn=...) at miner.cpp:395
#7  0x00000000006f518d in CreateNewBlockWithKey (reservekey=...) at miner.cpp:479
#8  0x00000000006f5705 in BitcoinMiner (pwallet=0x7fffe8180a70) at miner.cpp:544
#9  0x0000000000702c49 in boost::_bi::list1<boost::_bi::value<CWallet*> >::operator()<void (*)(CWallet*), boost::_bi::list0> (this=0x7fffe0003c60, f=@0x7fffe0003c58: 0x6f5631 <BitcoinMiner(CWallet*)>, a=...)
  at /usr/include/boost/bind/bind.hpp:253
#10 0x0000000000702bce in boost::_bi::bind_t<void, void (*)(CWallet*), boost::_bi::list1<boost::_bi::value<CWallet*> > >::operator() (this=0x7fffe0003c58) at /usr/include/boost/bind/bind_template.hpp:20
#11 0x0000000000702b6d in boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(CWallet*), boost::_bi::list1<boost::_bi::value<CWallet*> > > >::run (this=0x7fffe0003aa0)
  at /usr/include/boost/thread/detail/thread.hpp:116
#12 0x00007ffff7533f2a in ?? () from /usr/lib/libboost_thread.so.1.57.0
#13 0x00007ffff51d8314 in start_thread () from /usr/lib/libpthread.so.0
#14 0x00007ffff3a765bd in clone () from /usr/lib/libc.so.6

eduffield is currently adding the masternode payments.
 
I guess we should create a v0.11 testing thread here: https://darkcointalk.org/forums/testing.53/ to collect all bugs.

I'm not allowed to create one myself there: "(You have insufficient privileges to post here.)"
No we dont start public testing until the most basic things work.

The client from darkcoil works https://github.com/vertoe/darkcoil/tree/master-0.9

The client from darkcoin is undergoing the masternode and darksend integration. https://github.com/darkcoin/darkcoin/tree/v0.11.0.x
 
I'll repeat here then: Congratulations! :smile:

Back to business: I can't sync on testnet4, any nodes?


Testnet4 is not compatible with the old testnet.

Try me:
2014-12-12 22:11:28 AddLocal([2003:45:497c:1f00:e17d:3c57:da00:a83c]:19960,1)
2014-12-12 22:11:31 AddLocal(84.131.75.139:19960,4)

And me:
188.40.57.201:19999
[2a01:4f8:100:32ee::2]:19999
 
Last edited by a moderator:
Back
Top