Bitcoin Forum
June 16, 2024, 05:50:41 PM *
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 12 13 14 15 16 17 18 »  All
  Print  
Author Topic: [ANN][EC]▲ Eclipse ▲ Ring Signatures | Anonymous | TOR | Stealth Addresses  (Read 29600 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
glen123
Legendary
*
Offline Offline

Activity: 1028
Merit: 1000



View Profile
February 28, 2016, 10:05:14 PM
 #81

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. Wink

with this commit https://github.com/EclipseCrypto/eclipse/commit/e7897d90e3b89abd23cd9eb82d87c0908b84c235 this error solved ?
Code:
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 Smiley

@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 Offline

Activity: 1274
Merit: 1006

Trainman


View Profile WWW
February 28, 2016, 10:08:16 PM
 #82

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. Wink

with this commit https://github.com/EclipseCrypto/eclipse/commit/e7897d90e3b89abd23cd9eb82d87c0908b84c235 this error solved ?
Code:
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 Smiley

@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 Offline

Activity: 1028
Merit: 1000



View Profile
February 28, 2016, 10:12:42 PM
 #83

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 Offline

Activity: 98
Merit: 10


View Profile
February 28, 2016, 10:21:21 PM
 #84

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. Wink

with this commit https://github.com/EclipseCrypto/eclipse/commit/e7897d90e3b89abd23cd9eb82d87c0908b84c235 this error solved ?
Code:
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 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 Offline

Activity: 98
Merit: 10


View Profile
February 28, 2016, 10:27:45 PM
 #85

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. Wink

with this commit https://github.com/EclipseCrypto/eclipse/commit/e7897d90e3b89abd23cd9eb82d87c0908b84c235 this error solved ?
Code:
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/0b1593e2a443ae24a763be7eeef2ab5d74da7d7b


Follow 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 Offline

Activity: 98
Merit: 10


View Profile
February 28, 2016, 10:42:13 PM
 #86

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. Wink

with this commit https://github.com/EclipseCrypto/eclipse/commit/e7897d90e3b89abd23cd9eb82d87c0908b84c235 this error solved ?
Code:
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 Smiley

Yes, and we made no announcement for that commit too.
glen123
Legendary
*
Offline Offline

Activity: 1028
Merit: 1000



View Profile
February 28, 2016, 10:47:47 PM
 #87

hth

logfile.txt

https://copy.com/IONneq2mTBKRUOVN

seems that one : g++: error: /usr/local/lib/libgmp.a: not found !

sudo apt-get install libgmp3-dev does not fix that

stoner19
Hero Member
*****
Offline Offline

Activity: 752
Merit: 500



View Profile
February 28, 2016, 10:52:54 PM
 #88

hth

logfile.txt

https://copy.com/IONneq2mTBKRUOVN

seems that one : g++: error: /usr/local/lib/libgmp.a: not found !

sudo apt-get install libgmp3-dev does not fix that


You have to manually extract and install it to that dir, per the instructions from the dev the other day.
stoner19
Hero Member
*****
Offline Offline

Activity: 752
Merit: 500



View Profile
February 28, 2016, 10:57:11 PM
 #89

Far as I can see mining and payouts are working perfectly on my pool, are they not?
chrisvl
Legendary
*
Offline Offline

Activity: 1274
Merit: 1006

Trainman


View Profile WWW
February 28, 2016, 10:57:58 PM
 #90

hth

logfile.txt

https://copy.com/IONneq2mTBKRUOVN

seems that one : g++: error: /usr/local/lib/libgmp.a: not found !

sudo apt-get install libgmp3-dev does not fix that


ii solved removing this line  https://github.com/EclipseCrypto/eclipse/blob/master/src/makefile.unix#L274

glen123
Legendary
*
Offline Offline

Activity: 1028
Merit: 1000



View Profile
February 28, 2016, 11:07:36 PM
 #91

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 Offline

Activity: 98
Merit: 10


View Profile
February 28, 2016, 11:10:45 PM
 #92

hth

logfile.txt

https://copy.com/IONneq2mTBKRUOVN

seems that one : g++: error: /usr/local/lib/libgmp.a: not found !

sudo apt-get install libgmp3-dev does not fix that


ii solved removing this line  https://github.com/EclipseCrypto/eclipse/blob/master/src/makefile.unix#L274

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.git
cd eclipse/src
make -f makefile.unix
glen123
Legendary
*
Offline Offline

Activity: 1028
Merit: 1000



View Profile
February 28, 2016, 11:16:56 PM
 #93

 Grin Grin Grin Grin


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.



 Grin Grin Grin Grin

chrisvl
Legendary
*
Offline Offline

Activity: 1274
Merit: 1006

Trainman


View Profile WWW
February 28, 2016, 11:17:52 PM
 #94

Grin Grin Grin Grin


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.



 Grin Grin Grin Grin


try to restart it

glen123
Legendary
*
Offline Offline

Activity: 1028
Merit: 1000



View Profile
February 28, 2016, 11:18:51 PM
 #95

whats the name of the.conf file ?

chrisvl
Legendary
*
Offline Offline

Activity: 1274
Merit: 1006

Trainman


View Profile WWW
February 28, 2016, 11:19:41 PM
 #96

whats the name of the.conf file ?


eclipsecrypto.conf

Eclipse Crypto (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


View Profile
February 28, 2016, 11:21:06 PM
 #97

Grin Grin Grin Grin


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.



 Grin Grin Grin Grin


try to restart it

Yes.  Sorry.  You need to start it twice. 
glen123
Legendary
*
Offline Offline

Activity: 1028
Merit: 1000



View Profile
February 28, 2016, 11:26:14 PM
 #98

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 Offline

Activity: 1274
Merit: 1006

Trainman


View Profile WWW
February 28, 2016, 11:27:53 PM
 #99

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 Offline

Activity: 2660
Merit: 1240



View Profile WWW
February 28, 2016, 11:28:11 PM
 #100

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
Pages: « 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 18 »  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!