gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 15, 2019, 08:46:17 AM |
|
Having a bit of trouble with @gjhiggins' build. Anyone get it running? I'm getting pages of errors on the make step from madpool/protocol.pb.h and madpool/protocol.pb.cpp, starting with CXX madpool/libdatacoin_server_a-protocol.pb.o In file included from madpool/protocol.pb.cpp:5: madpool/protocol.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
A known issue, see upthread: https://bitcointalk.org/index.php?topic=2188160.msg46548383#msg46548383(We're moving house and need to be out of here in two week's time so this is likely to be my last post for a few weeks.) Cheers Graham
|
|
|
|
GameKyuubi
Sr. Member
Offline
Activity: 253
Merit: 1652
DTCxNMC
|
|
July 15, 2019, 11:05:27 PM Last edit: July 16, 2019, 12:55:46 AM by GameKyuubi |
|
Huh. Thought I had czmq installed but I didn't. Currently fighting: /usr/bin/ld: libdatacoin_server.a(libdatacoin_server_a-miner.o): in function `__gmp_expr<__mpz_struct [1], __mpz_struct [1]>::__gmp_expr()': /usr/include/gmpxx.h:1488: undefined reference to `__gmpz_init'
|
BTC: 15SLrNo6PKVfsH5JLtatJcVkSQXCk1LXyq full stack Node
|
|
|
extro1
Jr. Member
Offline
Activity: 48
Merit: 4
|
|
July 16, 2019, 07:33:36 PM |
|
Stuck there too, more or less: make[3]: Leaving directory '/home/miles/datacoin-core' CXXLD datacoind libdatacoin_server.a(libdatacoin_server_a-blockchain.o): In function `__static_initialization_and_destruction_0(int, int) [clone .constprop.595]': /usr/include/gmpxx.h:1465: undefined reference to `__gmpz_init_set_ui' /usr/include/gmpxx.h:1465: undefined reference to `__gmpz_init_set_ui' /usr/include/gmpxx.h:1497: undefined reference to `__gmpz_init' /usr/include/gmpxx.h:443: undefined reference to `__gmpz_mul_2exp' /usr/include/gmpxx.h:300: undefined reference to `__gmpz_sub_ui' /usr/include/gmpxx.h:1497: undefined reference to `__gmpz_init' /usr/include/gmpxx.h:443: undefined reference to `__gmpz_mul_2exp' libdatacoin_server.a(libdatacoin_server_a-validation.o): In function `_GLOBAL__sub_I_cs_main':
-extro
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 16, 2019, 09:09:10 PM |
|
Stuck there too, more or less:
Like you were the last time? Are you sure you made "$ ./configure --with-gui=yes LDFLAGS="-L/home/veter/dbbin/lib/" CPPFLAGS="-fPIC -I/home/veter/dbbin/include/" LIBS="-lgmp -lboost_timer -levent_pthreads""?
https://bitcointalk.org/index.php?topic=2188160.msg35249276#msg35249276Cheers Graham
|
|
|
|
extro1
Jr. Member
Offline
Activity: 48
Merit: 4
|
|
July 17, 2019, 03:57:13 AM |
|
Thanks Graham. Progress, but a different error now: AR crypto/libdatacoin_crypto.a CXXLD datacoind libdatacoin_server.a(libdatacoin_server_a-protocol.pb.o): In function `pool::proto::ServerStats::IsInitialized() const': /usr/include/google/protobuf/repeated_field.h:1408: undefined reference to `google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)' /usr/include/google/protobuf/repeated_field.h:1408: undefined reference to `google::protobuf::internal::LogMessage::operator<<(char const*)' /usr/include/google/protobuf/repeated_field.h:1408: undefined reference to `google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)' /usr/include/google/protobuf/repeated_field.h:1408: undefined reference to `google::protobuf::internal::LogMessage::~LogMessage()' /usr/include/google/protobuf/repeated_field.h:1408: undefined reference to `google::protobuf::internal::LogMessage::~LogMessage()' libdatacoin_server.a(libdatacoin_server_a-protocol.pb.o): In function `google::protobuf::internal::GenericTypeHandler<pool::proto::ReqStats>::NewFromPrototype(pool::proto::ReqStats const*, google::protobuf::Arena*) [clone .isra.276]':
-extro
|
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 17, 2019, 10:03:20 AM |
|
Thanks Graham. Progress, but a different error now:
Uh-huh, take notes as you go and record the process this time. -lprotobuf is required, just as it was previously. Cheers Graham
|
|
|
|
GameKyuubi
Sr. Member
Offline
Activity: 253
Merit: 1652
DTCxNMC
|
|
July 19, 2019, 03:44:08 AM |
|
@extro can I ask, what are in these directories? LDFLAGS="-L/home/veter/dbbin/lib/" CPPFLAGS="-fPIC -I/home/veter/dbbin/include/" I'm trying to build my config command and I don't understand what these are referencing.
|
BTC: 15SLrNo6PKVfsH5JLtatJcVkSQXCk1LXyq full stack Node
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 19, 2019, 08:24:03 AM |
|
@extro can I ask, what are in these directories? LDFLAGS="-L/home/veter/dbbin/lib/" CPPFLAGS="-fPIC -I/home/veter/dbbin/include/" I'm trying to build my config command and I don't understand what these are referencing.
For wallet compatibility, Verionum was linking against his own compiled version of BerkeleyDB 4.8, probably on a modern Linux distro whose system packaging only provides a later version. If you wish to take the same approach, it is well-described in the "build-unix" cloneparent documentation. The approach is optional, you can omit the -L link and -I include flags if you wish to use the more modern version of was-Berkeley-now-Oracle-DB that is installed by your system package. Do retain the CPPFLAGS="-fPIC", it's needed in order to satisfy the requirements for linking against the Qt libraries. Cheers Graham (11 days to go)
|
|
|
|
extro1
Jr. Member
Offline
Activity: 48
Merit: 4
|
|
July 19, 2019, 05:04:37 PM |
|
@extro can I ask, what are in these directories? LDFLAGS="-L/home/veter/dbbin/lib/" CPPFLAGS="-fPIC -I/home/veter/dbbin/include/" I'm trying to build my config command and I don't understand what these are referencing.
You have to replace them with your own home directory like L/home/GameKyuubi/dbbin/lib etc. These are the directories where you complied the database yourself. I am running Ubuntu/Lubuntu 18, which I think might be a problem. -extro
|
|
|
|
GameKyuubi
Sr. Member
Offline
Activity: 253
Merit: 1652
DTCxNMC
|
|
July 19, 2019, 11:27:27 PM |
|
I had berkeleydb 4.8 installed but it turns out I had to remove -levent_pthreads. So my configure command is now: ./configure --with-gui=yes CPPFLAGS="-fPIC" LIBS="-lgmp -lboost_timer -lprotobuf" But now it seems I've got a problem with zmq? I'm using zeromq-4.3.1-2 CXXLD datacoind /usr/bin/ld: libdatacoin_server.a(libdatacoin_server_a-pool.o): in function `PrimeWorker::InvokeExitCheck(_zloop_t*, zmq_pollitem_t*, void*)': ~/source/datacoin-core/src/madpool/pool.cpp:124: undefined reference to `zmsg_recv'
|
BTC: 15SLrNo6PKVfsH5JLtatJcVkSQXCk1LXyq full stack Node
|
|
|
gjhiggins
Legendary
Offline
Activity: 2254
Merit: 1290
|
|
July 20, 2019, 06:39:48 AM |
|
I had berkeleydb 4.8 installed but it turns out I had to remove -levent_pthreads. So my configure command is now: ./configure --with-gui=yes CPPFLAGS="-fPIC" LIBS="-lgmp -lboost_timer -lprotobuf" But now it seems I've got a problem with zmq? I'm using zeromq-4.3.1-2 CXXLD datacoind /usr/bin/ld: libdatacoin_server.a(libdatacoin_server_a-pool.o): in function `PrimeWorker::InvokeExitCheck(_zloop_t*, zmq_pollitem_t*, void*)': ~/source/datacoin-core/src/madpool/pool.cpp:124: undefined reference to `zmsg_recv' Thanks for reporting the -levent_pthreads thing, looks like this exercise is resulting in some more accurate and up-to-date compilation destructions. As for the madpool support libs, I couldn't find anything specific in his posts but I 'spose it's mentioned somewhere that on Linux systems, you need to install another system library - sudo apt install libczmq-dev. (IIRC, to get this to work on Mint, I first had to correct a dependency mismatch, had to uninstall libczmq and allow apt to install both libczmq4 and libczmq-dev, YMMV). Cheers Graham
|
|
|
|
extro1
Jr. Member
Offline
Activity: 48
Merit: 4
|
|
July 20, 2019, 07:54:54 PM |
|
Success compiling Graham's latest client with the integrated blockchain explorer. I strictly followed the recipe below, while referencing the instructions for compiling under Ubuntu 18: https://bitzuma.com/posts/compile-bitcoin-core-from-source-on-ubuntu/Linux compiling: - Install compiling tools. - Download db-4.8.30.NC. Extract. Compile it. Short example ("/home/veter" is my homedir): $ cd db-4.8.30.NC/build_unix $ ../dist/configure --enable-cxx --disable-shared --with-pic --prefix=/home/veter/dbbin/ $ make $ make install - Install additional tools: $ sudo apt-get install libboost-all-dev $ sudo apt-get install libgmp-dev $ sudo apt-get install libczmq-dev - Compile DTC: $ ./autogen.sh $ ./configure --with-gui=yes LDFLAGS="-L/home/veter/dbbin/lib/" CXXFLAGS="-O3 -Wall -Wextra -Wformat -Wvla -Wformat-security -Wno-unused-parameter -Wno-strict-aliasing" CFLAGS="-O3" CPPFLAGS="-fPIC -I/home/veter/dbbin/include/" LIBS="-lgmp -lboost_timer -levent_pthreads -lzmq -lczmq -lprotobuf" $ make
In case protobuf version error you need to regenerate protocol.pb.h and protocol.pb.cpp files from protocol.proto. $ cd ./src/madpool $ protoc --cpp_out=. protocol.proto $ mv ./protocol.pb.cc ./protocol.pb.cpp $ cd ../.. I successful compile for Ubuntu using this instruction
|
|
|
|
|
extro1
Jr. Member
Offline
Activity: 48
Merit: 4
|
|
July 21, 2019, 12:33:53 PM Last edit: July 21, 2019, 12:58:23 PM by extro1 |
|
Datacoin In-wallet blockchain explorer:
|
|
|
|
sampei7777
|
|
July 22, 2019, 06:35:51 PM |
|
(Latterly, the chain has been storing only asset and notarisation data): ASSET:{{{{{md5 => c9d89438361ce6ed1fce8f7c50a9a92a, owner => DTC:D8GafEsbyssg4TQN71KTbd8QdRg846MxCQ, inputtx => FirstIssue, previousowner => DTC:D8GafEsbyssg4TQN71KTbd8QdRg846MxCQ, idop => JIE1}, prevownersign => H5OkR1dpSl0jfvRqfmmFw45SsG015RVF0AN+k1HZ40DHVtCHxuMAE60HLmQ3rmW1FS3/tHdsCLsGeHffNhPWfrE=}, bytestampsign => IGJWfWswMuPkbRx5BcErqFNDgygcdjTaCz4UmNcxEYjTdHmZMRtZN2nbO7KkzmkRH5DXt7tU0eGth8x khtXtrkY=}, prevhash => 39b8c8baa6cfe1c370816175265f71ab}, hash => a75f1175388b2ccbe4325284af5a1587}
I dumped everything that reported as "text/plain" into a (3.5Mb) text dump, one entry per line ( also available from mega.nz) I would like to help interpreting these "text/plain" entries, as a lot of them were made by ByteStamp. ByteStamp makes a notarization service computing a particular digest to avoid MD5 collisions. This digest is calculated using a concatenation of MD5, SHA512 and Keccak-512 of the file. On the resulting string we calculate MD5 again, so we have the so called ByteStampMD5. In this way, a collision is impossible. If you read the above text dump from @gjhiggins, there are a lot of ByteStamp entries. In order to understand the meaning of these record, you have to look at how the string begins. If the string begin with: MR]-*@_/DW --> this is a comma separated list of ByteStampMD5. Each ByteStampMD5 is a ByteStampProof (Proof Of Existence) MR]-0@_/DW --> this is a comma separated list of 4 elements. The first is a ByteStampMD5 of a bytestamped file, the second is the ByteStampMD5 of its note, 3 and 4 is for future implementations. This is the case of a file with a note, so we link the note to the file in the blockchain. Here is an example of a bytestamped file with a note: https://www2.bytestamp.net/docs/qdoc/en/bf4f1f893667c6a1ab871bb78452681e#USA2016 --> vote for USA2016 elections #USATEST --> test vote for USA2016 #NAPOLI --> vote for Naples Referendum #NAPOTEST --> test vote for Naples Referendum #ITA2018 --> vote for Italy 2018 #ITAPTEST --> test vote for Italy 2018 #ITA2016 --> vote for Italy 2016 Referendum #ITATEST --> test vote for Italy 2016 Referendum #FRA2017 --> vote for France 2017 elections #FRATEST --> test vote for France 2017 elections ASSET: --> ByteStamp Digital Asset transactions. For understand it, go to https://www2.bytestamp.net/blocks/qtx/it/1d371463ed06e18f6e756f32325fbdd3a8b2d433230c8c400cea6febe0f49a1e and click on This transaction contain an asset. Click here to see details, then scroll down and read the explanation at the bottom of the page http://www.bytestamp.net/c/ --> this is a Cross Check Point entry. You can visit the link to see the explanation, but with this entries we link several blockchains together, by putting in the Datacoin blockchain the block height and hash of others blockchain. Hope it helps
|
Thanks
ByteStamp
|
|
|
hamburger
|
|
July 25, 2019, 11:18:26 AM |
|
Hi, Just a heads up on the hosting for the Datacoin explorer on CryptoID, it will expire on 2019-08-02 00:00 (in 7.5 days). If your contribute towards the CryptoID hosting costs, the explorer for Datacoin will be hosted for longer https://chainz.cryptoid.info/contribute.dws?coin=dtcThank you, Hamburger
|
Datacoin : DHZ6H91fsDoBHbdqED3ysCJJ2TUh3zRMZD Krugercoin : Yz3A9sTMp2yh5QLuAL8YQyvS5PdjHRHkkf
|
|
|
DataSea
Copper Member
Jr. Member
Offline
Activity: 100
Merit: 1
|
|
July 30, 2019, 04:17:06 AM |
|
Hi Hamburger, Thank you for the heads-up! I purchased 2 months. If anyone else feels like contributing, it's very easy -- you simply send Bitcoin to the address it creates after you click the amount of months you want to help with! Kind Regards, The DataSea Hi, Just a heads up on the hosting for the Datacoin explorer on CryptoID, it will expire on 2019-08-02 00:00 (in 7.5 days). If your contribute towards the CryptoID hosting costs, the explorer for Datacoin will be hosted for longer https://chainz.cryptoid.info/contribute.dws?coin=dtcThank you, Hamburger
|
Free Datacoin available for development -- just ask! https://github.com/HugPuddle/Apertus is looking for developers to create the best Datacoin and blockchain data entering/reading program
|
|
|
minerja
|
|
July 30, 2019, 07:28:28 AM |
|
Hi Hamburger, Thank you for the heads-up! I purchased 2 months. If anyone else feels like contributing, it's very easy -- you simply send Bitcoin to the address it creates after you click the amount of months you want to help with! Kind Regards, The DataSea Hi, Just a heads up on the hosting for the Datacoin explorer on CryptoID, it will expire on 2019-08-02 00:00 (in 7.5 days). If your contribute towards the CryptoID hosting costs, the explorer for Datacoin will be hosted for longer https://chainz.cryptoid.info/contribute.dws?coin=dtcThats not how it worked when i tried https://ibb.co/hsTS8JrI'd happily contribute but not ifi have to leave all those details....
|
|
|
|
DataSea
Copper Member
Jr. Member
Offline
Activity: 100
Merit: 1
|
|
July 30, 2019, 05:10:48 PM |
|
Hi minerja, Note that the email and name need not be correct for it to work... Hi Hamburger, Thank you for the heads-up! I purchased 2 months. If anyone else feels like contributing, it's very easy -- you simply send Bitcoin to the address it creates after you click the amount of months you want to help with! Kind Regards, The DataSea Hi, Just a heads up on the hosting for the Datacoin explorer on CryptoID, it will expire on 2019-08-02 00:00 (in 7.5 days). If your contribute towards the CryptoID hosting costs, the explorer for Datacoin will be hosted for longer https://chainz.cryptoid.info/contribute.dws?coin=dtcThats not how it worked when i tried https://ibb.co/hsTS8JrI'd happily contribute but not ifi have to leave all those details....
|
Free Datacoin available for development -- just ask! https://github.com/HugPuddle/Apertus is looking for developers to create the best Datacoin and blockchain data entering/reading program
|
|
|
sampei7777
|
|
August 09, 2019, 12:27:54 AM Last edit: August 09, 2019, 12:49:05 AM by sampei7777 |
|
Hi all. I have a connect issue. My copy of blockchain stopped at block 3057515 . I have all the addnode= of the first post in my datacoin.conf, but it does not work. Each time it tries to connect to a peer it says connection refused or connection reset by peer. I also tried with connect= instead of addnode, but with no luck. I have: - 2 Satoshi:0.8.3 running on linux - another linux with Datoshi:0.16.3/ - I also tried with DatacoinCore.Veter:0.15.99.8 on Windows - and I also tried from another IP address I also put addnode= for each node seen in the last 24 hours from cryptoid. But all these things did not work. It does not connect to any peer. ......
2019-08-09 00:43:05 connect() to 144.76.64.49:4777 failed after select(): Connection refused (111) 2019-08-09 00:43:05 connect() to 94.130.139.90:36744 failed after select(): Connection refused (111) 2019-08-09 00:43:06 connect() to 144.76.64.49:35028 failed after select(): Connection refused (111) 2019-08-09 00:43:06 connect() to 78.46.37.209:4777 failed after select(): Connection refused (111) 2019-08-09 00:43:07 connect() to 94.130.220.2:4777 failed after select(): Connection refused (111) 2019-08-09 00:43:08 connect() to 119.9.108.125:4777 failed after select(): No route to host (113) 2019-08-09 00:43:58 connect() to 125.215.137.66:61483 failed after select(): Connection refused (111) 2019-08-09 00:44:01 connect() to 83.84.173.136:15383 failed after select(): No route to host (113) 2019-08-09 00:45:19 connect() to 139.59.84.79:46358 failed after select(): No route to host (113) 2019-08-09 00:45:20 socket recv error Connection reset by peer (104) 2019-08-09 00:45:20 socket recv error Connection reset by peer (104) 2019-08-09 00:45:27 connect() to 83.161.158.205:4777 failed after select(): No route to host (113) 2019-08-09 00:45:44 connect() to 92.206.158.6:4777 failed after select(): No route to host (113) 2019-08-09 00:46:01 socket recv error Connection reset by peer (104) 2019-08-09 00:46:19 connect() to 119.9.108.125:4777 failed after select(): No route to host (113)
...
Any help is appreciated. Thanks
|
Thanks
ByteStamp
|
|
|
|