Bitcoin Forum
June 26, 2024, 09:54:23 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 »  All
  Print  
Author Topic: [ANN] NODEX [NODX] POW/HiPoS - SHA256  (Read 12987 times)
@boutiuqe
Sr. Member
****
Offline Offline

Activity: 638
Merit: 250



View Profile
June 14, 2015, 10:50:57 PM
 #41

Did you compiled secp256k1 ??

./autogen.sh
./configure
make
sudo make install

Still having this error even after compiling secp256k1  Undecided

Code:
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/root/nodex/src -I/root/nodex/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/root/nodex/src/leveldb/include -I/root/nodex/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/key.d -o obj/key.o key.cpp
key.cpp: In member function ‘bool CKey::SignCompact(const uint256&, std::vector<unsigned char>&) const’:
key.cpp:552:17: warning: unused variable ‘ret’ [-Wunused-variable]
         if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
                 ^
key.cpp: In member function ‘bool CPubKey::VerifyCompact(const uint256&, const std::vector<unsigned char>&) const’:
key.cpp:632:10: warning: unused variable ‘fComp’ [-Wunused-variable]
     bool fComp = IsCompressed();
          ^
key.cpp: In member function ‘bool CPubKey::Decompress()’:
key.cpp:669:104: error: cannot convert ‘int*’ to ‘unsigned char*’ for argument ‘3’ to ‘int secp256k1_ec_pubkey_decompress(const secp256k1_context_t*, const unsigned char*, unsigned char*, int*)’
     int ret = secp256k1_ec_pubkey_decompress(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &clen);
                                                                                                        ^
make: *** [obj/key.o] Error 1

are you using the latest update from secp256k1 Huh 

Yes, straight out from github.
Starin
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


Infected Mushroom


View Profile WWW
June 14, 2015, 10:51:24 PM
 #42

OMG. The hashrate is insane. 3phs  Cool

I got 150 coins ready to send if someone wanna get early in staking. Smiley PM me offers.

scorpio18
Legendary
*
Offline Offline

Activity: 1722
Merit: 1000


Admin of CoinMiners Pools


View Profile WWW
June 14, 2015, 10:51:50 PM
 #43

Did you compiled secp256k1 ??

./autogen.sh
./configure
make
sudo make install

Still having this error even after compiling secp256k1  Undecided

Code:
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/root/nodex/src -I/root/nodex/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/root/nodex/src/leveldb/include -I/root/nodex/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/key.d -o obj/key.o key.cpp
key.cpp: In member function ‘bool CKey::SignCompact(const uint256&, std::vector<unsigned char>&) const’:
key.cpp:552:17: warning: unused variable ‘ret’ [-Wunused-variable]
         if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
                 ^
key.cpp: In member function ‘bool CPubKey::VerifyCompact(const uint256&, const std::vector<unsigned char>&) const’:
key.cpp:632:10: warning: unused variable ‘fComp’ [-Wunused-variable]
     bool fComp = IsCompressed();
          ^
key.cpp: In member function ‘bool CPubKey::Decompress()’:
key.cpp:669:104: error: cannot convert ‘int*’ to ‘unsigned char*’ for argument ‘3’ to ‘int secp256k1_ec_pubkey_decompress(const secp256k1_context_t*, const unsigned char*, unsigned char*, int*)’
     int ret = secp256k1_ec_pubkey_decompress(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &clen);
                                                                                                        ^
make: *** [obj/key.o] Error 1

are you using the latest update from secp256k1 Huh 

Well i'm cloning it from https://github.com/bitcoin/secp256k1

Its seems that the new update is making the compile to fail, this is the update  https://github.com/bitcoin/secp256k1/commit/210ffed5cd27540263ae4df904b46a51f6ad2c91 so you need to use an older secp256k1 without that update

Scorpianz
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
June 14, 2015, 11:03:51 PM
 #44

WTS 250 - PM me with offer
nodexcoin (OP)
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
June 14, 2015, 11:14:31 PM
 #45

We plan on bringing a decentralized file sharing system to crypto, which will utilize the i2p network to provide anonymous access.
Users will populate the files they would like to share, and set the price in NodeX coins, which they will then communicate to the masternodes.
Downloaders will then have a tab in their wallet which will allow them to search for files, and download directly to their wallet the torrent file from the masternode.
If there is a charge for the file, the wallet's download tab will ask the downloader to pay the right amount of coins before the downloading initiates.
File samples will be free of charge, but cannot be larger than 2mb.
@boutiuqe
Sr. Member
****
Offline Offline

Activity: 638
Merit: 250



View Profile
June 14, 2015, 11:15:53 PM
 #46

Download the old secp256k1 , but still get same error ?

got damn.. Roll Eyes Roll Eyes Roll Eyes
buddynuno
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


Bcnex - The Ultimate Blockchain Trading Platform


View Profile
June 14, 2015, 11:16:49 PM
 #47

Total pow coins= 30000  Huh

Masternode reward = 200 and staking = 100 that makes average of 150 x 1440 blocks/day = 216000  Huh

If my math is correct the inflation per day is insane  Undecided

           ▄▄▄█████▄▄▄
       ▄████████▀████████▄
    ▄█████████▀   ▀█████████▄
   ████   ▄█▀       ▀█▄   ████
  █████ ▄▀    ▄▄▄▄▄    ▀▄ █████
 ██████▀   ▄███▀▀▀███▄   ▀██████
▐████▀    ██▀       ▀██    ▀████▌
████     ▐██         ██▌     ████
▐████▄    ██▄       ▄██    ▄████▌
 ██████▄   ▀███▄▄▄███▀   ▄██████
  █████ ▀▄    ▀▀▀▀▀    ▄▀ █████
   ████   ▀█▄       ▄█▀   ████
    ▀█████████▄   ▄█████████▀
       ▀████████▄████████▀
           ▀▀▀█████▀▀▀
.Bcnex.The Ultimate   ───2 Millions Orders/s───
Blockchain Trading Platform
..Follow us:..

                          ▄▄▄
                    ▄▄▄██████
              ▄▄▄█████▀▀████▌
        ▄▄▄████████▀ ▄██████
  ▄▄▄██████████▀▀  ▄███████▌
▀███████████▀   ▄██████████
   ▀▀▀███▀    ▄███████████▌
        █▌  ██████████████
        ▐█ ██████████████▌
         █████▀ ▀████████
          ██▀      ▀████▌
                      ▀▀

             ▄████▄▄   ▄
█▄          ██████████▀▄
███        ███████████▀
▐████▄     ██████████▌
▄▄██████▄▄▄▄█████████▌
▀████████████████████
  ▀█████████████████
  ▄▄███████████████
   ▀█████████████▀
    ▄▄█████████▀
▀▀██████████▀
    ▀▀▀▀▀

||
LINKEDIN
MEDIUM
REDDIT


  ▸  BUY NOW  ◂   
Starin
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


Infected Mushroom


View Profile WWW
June 14, 2015, 11:19:18 PM
 #48

Total pow coins= 30000  Huh

Masternode reward = 200 and staking = 100 that makes average of 150 x 1440 blocks/day = 216000  Huh

If my math is correct the inflation per day is insane  Undecided

That is incorrect. 300 x 1400 blocks/day is the correct one. If no masternodes are up, normal stakers will get 300 coins, as soon as 1 masternode is up, stakers will start to recieve 100 coins per block when masternodes are taking 2/3 of HiPoS reward, which is 200.

@boutiuqe
Sr. Member
****
Offline Offline

Activity: 638
Merit: 250



View Profile
June 14, 2015, 11:20:10 PM
 #49

Code:
TIFY_SOURCE=2  -MMD -MF obj/key.d -o obj/key.o key.cpp
key.cpp:29:5: error: ‘secp256k1_context_t’ does not name a type
     secp256k1_context_t* ctx;
     ^
key.cpp: In constructor ‘{anonymous}::CSecp256k1Init::CSecp256k1Init()’:
key.cpp:31:9: error: ‘ctx’ was not declared in this scope
         ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN);
         ^
key.cpp:31:40: error: ‘SECP256K1_CONTEXT_SIGN’ was not declared in this scope
         ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN);
                                        ^
key.cpp:31:62: error: ‘secp256k1_context_create’ was not declared in this scope
         ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN);
                                                              ^
key.cpp: In destructor ‘{anonymous}::CSecp256k1Init::~CSecp256k1Init()’:
key.cpp:34:35: error: ‘ctx’ was not declared in this scope
         secp256k1_context_destroy(ctx);
                                   ^
key.cpp:34:38: error: ‘secp256k1_context_destroy’ was not declared in this scope
         secp256k1_context_destroy(ctx);
                                      ^
key.cpp: In member function ‘bool CKey::SetPrivKey(const CPrivKey&, bool)’:
key.cpp:471:61: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
     if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &privkey[0], privkey.size()))
                                                             ^
key.cpp: In member function ‘CPrivKey CKey::GetPrivKey() const’:
key.cpp:490:66: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
     int ret = secp256k1_ec_privkey_export(instance_of_csecp256k1.ctx, begin(), (unsigned char*)&privkey[0], &privkeylen, fCompressed);
                                                                  ^
key.cpp: In member function ‘CPubKey CKey::GetPubKey() const’:
key.cpp:506:65: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
     int ret = secp256k1_ec_pubkey_create(instance_of_csecp256k1.ctx, (unsigned char*)pubkey.begin(), &clen, begin(), fCompressed);
                                                                 ^
key.cpp: In member function ‘bool CKey::Sign(const uint256&, std::vector<unsigned char>&) const’:
key.cpp:528:57: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
         if (secp256k1_ecdsa_sign(instance_of_csecp256k1.ctx, hash.begin(), (unsigned char*)&vchSig[0], &nSigLen, begin(),  secp256k1_nonce_function_rfc6979, NULL))
                                                         ^
key.cpp: In member function ‘bool CKey::SignCompact(const uint256&, std::vector<unsigned char>&) const’:
key.cpp:552:75: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
         if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
                                                                           ^
key.cpp:552:17: warning: unused variable ‘ret’ [-Wunused-variable]
         if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
                 ^
key.cpp: In member function ‘bool CKey::Load(CPrivKey&, CPubKey&, bool)’:
key.cpp:568:61: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
     if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &privkey[0], privkey.size()))
                                                             ^
key.cpp: In member function ‘bool CPubKey::VerifyCompact(const uint256&, const std::vector<unsigned char>&) const’:
key.cpp:632:10: warning: unused variable ‘fComp’ [-Wunused-variable]
     bool fComp = IsCompressed();
          ^
key.cpp: In member function ‘bool CPubKey::IsFullyValid() const’:
key.cpp:654:60: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
     if (!secp256k1_ec_pubkey_verify(instance_of_csecp256k1.ctx, begin(), size()))
                                                            ^
key.cpp: In member function ‘bool CPubKey::Decompress()’:
key.cpp:669:69: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
     int ret = secp256k1_ec_pubkey_decompress(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &clen);
                                                                     ^
key.cpp: In member function ‘bool CKey::Derive(CKey&, unsigned char*, unsigned int, const unsigned char*) const’:
key.cpp:711:70: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
     bool ret = secp256k1_ec_privkey_tweak_add(instance_of_csecp256k1.ctx, (unsigned char*)keyChild.begin(), out);
                                                                      ^
key.cpp: In member function ‘bool CPubKey::Derive(CPubKey&, unsigned char*, unsigned int, const unsigned char*) const’:
key.cpp:730:69: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
     bool ret = secp256k1_ec_pubkey_tweak_add(instance_of_csecp256k1.ctx, (unsigned char*)pubkeyChild.begin(), pubkeyChild.size(), out);
                                                                     ^
make: *** [obj/key.o] Error 1
kampretkabur
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
June 14, 2015, 11:21:13 PM
 #50

WTS 50, PM with offer
tx42
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500



View Profile
June 14, 2015, 11:41:55 PM
 #51

WTS 50, PM with offer

It will be on c-cex in a few hours.

█    █     ██    ███     ███    ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████     ███     ███    ██     █    █
..EARN FREE BREAKOUT COINS SIG CAMPAIGN LIVE !!
█    █     ██    ███     ███    ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████     ███     ███    ██     █    █
tomewok
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
June 14, 2015, 11:45:04 PM
 #52

Did you compiled secp256k1 ??

./autogen.sh
./configure
make
sudo make install

Still having this error even after compiling secp256k1  Undecided

Code:
/bin/sh ../share/genbuild.sh obj/build.h
g++ -c -O2  -pthread -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -g -DBOOST_SPIRIT_THREADSAFE -DUSE_SECP256K1 -I/root/nodex/src -I/root/nodex/src/obj -DUSE_UPNP=0 -DENABLE_WALLET -I/root/nodex/src/leveldb/include -I/root/nodex/src/leveldb/helpers -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2  -MMD -MF obj/key.d -o obj/key.o key.cpp
key.cpp: In member function ‘bool CKey::SignCompact(const uint256&, std::vector<unsigned char>&) const’:
key.cpp:552:17: warning: unused variable ‘ret’ [-Wunused-variable]
         if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
                 ^
key.cpp: In member function ‘bool CPubKey::VerifyCompact(const uint256&, const std::vector<unsigned char>&) const’:
key.cpp:632:10: warning: unused variable ‘fComp’ [-Wunused-variable]
     bool fComp = IsCompressed();
          ^
key.cpp: In member function ‘bool CPubKey::Decompress()’:
key.cpp:669:104: error: cannot convert ‘int*’ to ‘unsigned char*’ for argument ‘3’ to ‘int secp256k1_ec_pubkey_decompress(const secp256k1_context_t*, const unsigned char*, unsigned char*, int*)’
     int ret = secp256k1_ec_pubkey_decompress(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &clen);
                                                                                                        ^
make: *** [obj/key.o] Error 1

are you using the latest update from secp256k1 Huh  

Well i'm cloning it from https://github.com/bitcoin/secp256k1

Its seems that the new update is making the compile to fail, this is the update  https://github.com/bitcoin/secp256k1/commit/210ffed5cd27540263ae4df904b46a51f6ad2c91 so you need to use an older secp256k1 without that update

Thanks ! Effectively it was better with an older version  Smiley Still going through some trouble with leveldb but i'll get back to it when i have some spare time Wink
kampretkabur
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
June 14, 2015, 11:46:26 PM
 #53

WTS 50, PM with offer

It will be on c-cex in a few hours.


thanks for the info, still got some to sell
seedooroff
Sr. Member
****
Offline Offline

Activity: 343
Merit: 250


View Profile
June 14, 2015, 11:52:21 PM
 #54

WTS 50, PM with offer

It will be on c-cex in a few hours.


thanks for the info, still got some to sell


Too much risk selling without guarantees. Or you make a transfer of the first?
Starin
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


Infected Mushroom


View Profile WWW
June 14, 2015, 11:55:06 PM
 #55

I also have 150 for sale if anyone wanna get in early on the staking process.

seedooroff
Sr. Member
****
Offline Offline

Activity: 343
Merit: 250


View Profile
June 14, 2015, 11:58:43 PM
 #56

I also have 150 for sale if anyone wanna get in early on the staking process.
I think you're cunning))). You have not found much. Is not it?
kampretkabur
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


View Profile
June 15, 2015, 12:04:18 AM
 #57

30k coins fow POW, 3990 so far,lets see where it goes
Starin
Sr. Member
****
Offline Offline

Activity: 266
Merit: 250


Infected Mushroom


View Profile WWW
June 15, 2015, 12:05:03 AM
 #58

I also have 150 for sale if anyone wanna get in early on the staking process.
I think you're cunning))). You have not found much. Is not it?

I can send first and take a Ss if you make good offer.

seedooroff
Sr. Member
****
Offline Offline

Activity: 343
Merit: 250


View Profile
June 15, 2015, 12:10:12 AM
 #59

I also have 150 for sale if anyone wanna get in early on the staking process.
I think you're cunning))). You have not found much. Is not it?

I can send first and take a Ss if you make good offer.
I mean, what you sell, is not found). I do not plan to buy. But you are doing the right thing, that the advance paves the way)
Live4Crypto
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
June 15, 2015, 12:13:21 AM
 #60

Can someone post instructions for setting up a node??
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 »  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!