glen123
Legendary
Offline
Activity: 1028
Merit: 1000
|
|
February 28, 2016, 10:05:14 PM |
|
dev this lines is required if (!secp256k1_hash_to_ec_xy_bytes(b32_x, b32_y, pcHash)) return 1; ?
Yes, it takes a 32 byte big endian scalar hash and returns two 32 byte big endian scalars that describe a point on the eliptic curve secp256k1. with this commit https://github.com/EclipseCrypto/eclipse/commit/e7897d90e3b89abd23cd9eb82d87c0908b84c235 this error solved ? sigringu.cpp: In function ‘int hashToEC(const uint8_t*, uint32_t, BIGNUM*, EC_POINT*)’: sigringu.cpp:150:60: error: ‘secp256k1_hash_to_ec_xy_bytes’ was not declared in this scope if (!secp256k1_hash_to_ec_xy_bytes(b32_x, b32_y, pcHash)) ^ make: *** [obj/sigringu.o] Error 1
Nope, error is still there @Oc: lohnt nicht sich darüber aufzuregen . es ist immer noch eine "Bringschuld" des Devs eine funktionierende Source zu stellen . Und da er das nicht im Griff hat , so what :-) Gruss Glen
|
|
|
|
chrisvl
Legendary
Offline
Activity: 1274
Merit: 1006
Trainman
|
|
February 28, 2016, 10:08:16 PM |
|
dev this lines is required if (!secp256k1_hash_to_ec_xy_bytes(b32_x, b32_y, pcHash)) return 1; ?
Yes, it takes a 32 byte big endian scalar hash and returns two 32 byte big endian scalars that describe a point on the eliptic curve secp256k1. with this commit https://github.com/EclipseCrypto/eclipse/commit/e7897d90e3b89abd23cd9eb82d87c0908b84c235 this error solved ? sigringu.cpp: In function ‘int hashToEC(const uint8_t*, uint32_t, BIGNUM*, EC_POINT*)’: sigringu.cpp:150:60: error: ‘secp256k1_hash_to_ec_xy_bytes’ was not declared in this scope if (!secp256k1_hash_to_ec_xy_bytes(b32_x, b32_y, pcHash)) ^ make: *** [obj/sigringu.o] Error 1
Nope, error is still there @Oc: lohnt nicht sich darüber aufzuregen . es ist immer noch eine "Bringschuld" des Devs eine funktionierende Source zu stellen . Und da er das nicht im Griff hat , so what :-) Gruss Glen Wir versuchen zu helfen
|
|
|
|
glen123
Legendary
Offline
Activity: 1028
Merit: 1000
|
|
February 28, 2016, 10:12:42 PM |
|
nur wenn wir halt eigenmächtig in der src rumeditieren wird evtl mehr zerschossen als jemanden lieb ist .
Und wie oben zu lesen war es ja keine "special" Version von Secp
|
|
|
|
Eclipse Crypto (OP)
Member
Offline
Activity: 98
Merit: 10
|
|
February 28, 2016, 10:21:21 PM |
|
dev this lines is required if (!secp256k1_hash_to_ec_xy_bytes(b32_x, b32_y, pcHash)) return 1; ?
Yes, it takes a 32 byte big endian scalar hash and returns two 32 byte big endian scalars that describe a point on the eliptic curve secp256k1. with this commit https://github.com/EclipseCrypto/eclipse/commit/e7897d90e3b89abd23cd9eb82d87c0908b84c235 this error solved ? sigringu.cpp: In function ‘int hashToEC(const uint8_t*, uint32_t, BIGNUM*, EC_POINT*)’: sigringu.cpp:150:60: error: ‘secp256k1_hash_to_ec_xy_bytes’ was not declared in this scope if (!secp256k1_hash_to_ec_xy_bytes(b32_x, b32_y, pcHash)) ^ make: *** [obj/sigringu.o] Error 1
BUILD FIX IS IN1. Delete your existing eclipse directory just to be sure. 2. Clone the repo. 3. make -f makefile.unix
|
|
|
|
Eclipse Crypto (OP)
Member
Offline
Activity: 98
Merit: 10
|
|
February 28, 2016, 10:27:45 PM |
|
dev this lines is required if (!secp256k1_hash_to_ec_xy_bytes(b32_x, b32_y, pcHash)) return 1; ?
Yes, it takes a 32 byte big endian scalar hash and returns two 32 byte big endian scalars that describe a point on the eliptic curve secp256k1. with this commit https://github.com/EclipseCrypto/eclipse/commit/e7897d90e3b89abd23cd9eb82d87c0908b84c235 this error solved ? sigringu.cpp: In function ‘int hashToEC(const uint8_t*, uint32_t, BIGNUM*, EC_POINT*)’: sigringu.cpp:150:60: error: ‘secp256k1_hash_to_ec_xy_bytes’ was not declared in this scope if (!secp256k1_hash_to_ec_xy_bytes(b32_x, b32_y, pcHash)) ^ make: *** [obj/sigringu.o] Error 1
No, that commit was not the final for this fix. The final for the fix is https://github.com/EclipseCrypto/eclipse/commit/0b1593e2a443ae24a763be7eeef2ab5d74da7d7bFollow these instructions: BUILD FIX IS IN
1. Delete your existing eclipse directory just to be sure. 2. Clone the repo. 3. make -f makefile.unix
|
|
|
|
Eclipse Crypto (OP)
Member
Offline
Activity: 98
Merit: 10
|
|
February 28, 2016, 10:42:13 PM |
|
dev this lines is required if (!secp256k1_hash_to_ec_xy_bytes(b32_x, b32_y, pcHash)) return 1; ?
Yes, it takes a 32 byte big endian scalar hash and returns two 32 byte big endian scalars that describe a point on the eliptic curve secp256k1. with this commit https://github.com/EclipseCrypto/eclipse/commit/e7897d90e3b89abd23cd9eb82d87c0908b84c235 this error solved ? sigringu.cpp: In function ‘int hashToEC(const uint8_t*, uint32_t, BIGNUM*, EC_POINT*)’: sigringu.cpp:150:60: error: ‘secp256k1_hash_to_ec_xy_bytes’ was not declared in this scope if (!secp256k1_hash_to_ec_xy_bytes(b32_x, b32_y, pcHash)) ^ make: *** [obj/sigringu.o] Error 1
Nope, error is still there Yes, and we made no announcement for that commit too.
|
|
|
|
glen123
Legendary
Offline
Activity: 1028
Merit: 1000
|
|
February 28, 2016, 10:47:47 PM |
|
hth logfile.txt https://copy.com/IONneq2mTBKRUOVNseems that one : g++: error: /usr/local/lib/libgmp.a: not found ! sudo apt-get install libgmp3-dev does not fix that
|
|
|
|
stoner19
|
|
February 28, 2016, 10:52:54 PM |
|
You have to manually extract and install it to that dir, per the instructions from the dev the other day.
|
|
|
|
stoner19
|
|
February 28, 2016, 10:57:11 PM |
|
Far as I can see mining and payouts are working perfectly on my pool, are they not?
|
|
|
|
chrisvl
Legendary
Offline
Activity: 1274
Merit: 1006
Trainman
|
|
February 28, 2016, 10:57:58 PM |
|
|
|
|
|
glen123
Legendary
Offline
Activity: 1028
Merit: 1000
|
|
February 28, 2016, 11:07:36 PM |
|
make[3]: Entering directory '/root/gmp/gmp-6.1.0' /bin/mkdir -p '/usr/local/lib' /bin/bash ./libtool --mode=install /usr/bin/install -c libgmp.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libgmp.so.10.3.0 /usr/local/lib/libgmp.so.10.3.0 libtool: install: (cd /usr/local/lib && { ln -s -f libgmp.so.10.3.0 libgmp.so.10 || { rm -f libgmp.so.10 && ln -s libgmp.so.10.3.0 libgmp.so.10; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libgmp.so.10.3.0 libgmp.so || { rm -f libgmp.so && ln -s libgmp.so.10.3.0 libgmp.so; }; }) libtool: install: /usr/bin/install -c .libs/libgmp.lai /usr/local/lib/libgmp.la libtool: install: /usr/bin/install -c .libs/libgmp.a /usr/local/lib/libgmp.a libtool: install: chmod 644 /usr/local/lib/libgmp.a libtool: install: ranlib /usr/local/lib/libgmp.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib
and now the last try to compile again
|
|
|
|
Eclipse Crypto (OP)
Member
Offline
Activity: 98
Merit: 10
|
|
February 28, 2016, 11:10:45 PM |
|
Please do not remove that line. You need to link against our secp256k1 library and that is where the makefile tells you to link to the one that is built and that we provide which is located in that directory. As for the gmp issue, we mentioned this before that you have to install gmp manually into /usr/local/lib since gmp has a broken pkg-config when used in conjunction with secp256k1 (any secp256k1). Please try the following to do a fresh clone and try again to install rm -rf eclipse git clone https://github.com/EclipseCrypto/eclipse.gitcd eclipse/src make -f makefile.unix
|
|
|
|
glen123
Legendary
Offline
Activity: 1028
Merit: 1000
|
|
February 28, 2016, 11:16:56 PM |
|
EclipseCrypto version v1.0.0.0-g (2016-02-28 15:17:03 -0700) Operating in full mode. Using OpenSSL version OpenSSL 1.0.1f 6 Jan 2014 Startup time: 02/28/16 23:16:06 Default data directory /root/.eclipsecrypto Used data directory /root/.eclipsecrypto dbenv.open LogDir=/root/.eclipsecrypto/database ErrorFile=/root/.eclipsecrypto/db.log Bound to 127.0.0.1:35914 TOR thread started. AddLocal(eedngwl7r7p3aqc5.onion:35914,6) Loading block index... Opening LevelDB in /root/.eclipsecrypto/txleveldb Opened LevelDB successfully SetBestChain: new best=000001e79ad85e44c7b1 height=0 trust=4194320 blocktrust=4194320 date=02/23/16 08:54:20 ResetSyncCheckpoint: pending for sync-checkpoint 00000eca234f07edc98aaf3f2a7b7478dc58992a9cd439323d099c6a590ca2bb ERROR: LoadBlockIndex() : failed to reset sync-checkpoint EclipseCrypto: Error loading blkindex.dat Finalise() StopNode() Flushed 0 addresses to peers.dat 1ms Shutdown complete.
|
|
|
|
chrisvl
Legendary
Offline
Activity: 1274
Merit: 1006
Trainman
|
|
February 28, 2016, 11:17:52 PM |
|
EclipseCrypto version v1.0.0.0-g (2016-02-28 15:17:03 -0700) Operating in full mode. Using OpenSSL version OpenSSL 1.0.1f 6 Jan 2014 Startup time: 02/28/16 23:16:06 Default data directory /root/.eclipsecrypto Used data directory /root/.eclipsecrypto dbenv.open LogDir=/root/.eclipsecrypto/database ErrorFile=/root/.eclipsecrypto/db.log Bound to 127.0.0.1:35914 TOR thread started. AddLocal(eedngwl7r7p3aqc5.onion:35914,6) Loading block index... Opening LevelDB in /root/.eclipsecrypto/txleveldb Opened LevelDB successfully SetBestChain: new best=000001e79ad85e44c7b1 height=0 trust=4194320 blocktrust=4194320 date=02/23/16 08:54:20 ResetSyncCheckpoint: pending for sync-checkpoint 00000eca234f07edc98aaf3f2a7b7478dc58992a9cd439323d099c6a590ca2bb ERROR: LoadBlockIndex() : failed to reset sync-checkpoint EclipseCrypto: Error loading blkindex.dat Finalise() StopNode() Flushed 0 addresses to peers.dat 1ms Shutdown complete. try to restart it
|
|
|
|
glen123
Legendary
Offline
Activity: 1028
Merit: 1000
|
|
February 28, 2016, 11:18:51 PM |
|
whats the name of the.conf file ?
|
|
|
|
chrisvl
Legendary
Offline
Activity: 1274
Merit: 1006
Trainman
|
|
February 28, 2016, 11:19:41 PM |
|
whats the name of the.conf file ?
eclipsecrypto.conf
|
|
|
|
Eclipse Crypto (OP)
Member
Offline
Activity: 98
Merit: 10
|
|
February 28, 2016, 11:21:06 PM |
|
EclipseCrypto version v1.0.0.0-g (2016-02-28 15:17:03 -0700) Operating in full mode. Using OpenSSL version OpenSSL 1.0.1f 6 Jan 2014 Startup time: 02/28/16 23:16:06 Default data directory /root/.eclipsecrypto Used data directory /root/.eclipsecrypto dbenv.open LogDir=/root/.eclipsecrypto/database ErrorFile=/root/.eclipsecrypto/db.log Bound to 127.0.0.1:35914 TOR thread started. AddLocal(eedngwl7r7p3aqc5.onion:35914,6) Loading block index... Opening LevelDB in /root/.eclipsecrypto/txleveldb Opened LevelDB successfully SetBestChain: new best=000001e79ad85e44c7b1 height=0 trust=4194320 blocktrust=4194320 date=02/23/16 08:54:20 ResetSyncCheckpoint: pending for sync-checkpoint 00000eca234f07edc98aaf3f2a7b7478dc58992a9cd439323d099c6a590ca2bb ERROR: LoadBlockIndex() : failed to reset sync-checkpoint EclipseCrypto: Error loading blkindex.dat Finalise() StopNode() Flushed 0 addresses to peers.dat 1ms Shutdown complete. try to restart it Yes. Sorry. You need to start it twice.
|
|
|
|
glen123
Legendary
Offline
Activity: 1028
Merit: 1000
|
|
February 28, 2016, 11:26:14 PM |
|
listen=1 server=1 daemon=1 rpcuser=xxxxxxxxxx rpcpassword=xxxxxxxxxxxxxxx rpcport=2336 ( that port i want ! ) rpcallowip=127.0.0.1 staking=0\n enableaccounts=1
./eclipsed EclipseCrypto server starting root@gcpool:~/eclipse/src# EclipseCrypto: Unable to bind to 127.0.0.1:35914 on this computer. EclipseCrypto is probably already running. EclipseCrypto: Failed to listen on any port.
hmmhhmhm
|
|
|
|
chrisvl
Legendary
Offline
Activity: 1274
Merit: 1006
Trainman
|
|
February 28, 2016, 11:27:53 PM |
|
listen=1 server=1 daemon=1 rpcuser=xxxxxxxxxx rpcpassword=xxxxxxxxxxxxxxx rpcport=2336 ( that port i want ! ) rpcallowip=127.0.0.1 staking=0\n enableaccounts=1
./eclipsed EclipseCrypto server starting root@gcpool:~/eclipse/src# EclipseCrypto: Unable to bind to 127.0.0.1:35914 on this computer. EclipseCrypto is probably already running. EclipseCrypto: Failed to listen on any port.
hmmhhmhm
./eclipsed stop and try it again
|
|
|
|
ocminer
Legendary
Offline
Activity: 2688
Merit: 1240
|
|
February 28, 2016, 11:28:11 PM |
|
Never run anything as root ..
The latest commit is compiling and running fine now finally
|
suprnova pools - reliable mining pools - #suprnova on freenet https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
|
|
|
|