@boutiuqe
|
|
June 14, 2015, 10:50:57 PM |
|
Did you compiled secp256k1 ??
./autogen.sh ./configure make sudo make install
Still having this error even after compiling secp256k1 /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 Yes, straight out from github.
|
|
|
|
Starin
|
|
June 14, 2015, 10:51:24 PM |
|
OMG. The hashrate is insane. 3phs I got 150 coins ready to send if someone wanna get early in staking. PM me offers.
|
|
|
|
scorpio18
Legendary
Offline
Activity: 1722
Merit: 1000
Admin of CoinMiners Pools
|
|
June 14, 2015, 10:51:50 PM |
|
Did you compiled secp256k1 ??
./autogen.sh ./configure make sudo make install
Still having this error even after compiling secp256k1 /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 Well i'm cloning it from https://github.com/bitcoin/secp256k1Its 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
Activity: 112
Merit: 10
|
|
June 14, 2015, 11:03:51 PM |
|
WTS 250 - PM me with offer
|
|
|
|
nodexcoin (OP)
Newbie
Offline
Activity: 8
Merit: 0
|
|
June 14, 2015, 11:14:31 PM |
|
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
|
|
June 14, 2015, 11:15:53 PM |
|
Download the old secp256k1 , but still get same error ? got damn..
|
|
|
|
buddynuno
|
|
June 14, 2015, 11:16:49 PM |
|
Total pow coins= 30000 Masternode reward = 200 and staking = 100 that makes average of 150 x 1440 blocks/day = 216000 If my math is correct the inflation per day is insane
|
|
|
|
Starin
|
|
June 14, 2015, 11:19:18 PM |
|
Total pow coins= 30000 Masternode reward = 200 and staking = 100 that makes average of 150 x 1440 blocks/day = 216000 If my math is correct the inflation per day is insane 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
|
|
June 14, 2015, 11:20:10 PM |
|
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
|
|
June 14, 2015, 11:21:13 PM |
|
WTS 50, PM with offer
|
|
|
|
tx42
|
|
June 14, 2015, 11:41:55 PM |
|
WTS 50, PM with offer
It will be on c-cex in a few hours.
|
█ █ ██ ███ ███ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ ███ ███ ██ █ ██ █ ██ ███ ███ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████ ███ ███ ██ █ █
|
|
|
tomewok
|
|
June 14, 2015, 11:45:04 PM |
|
Did you compiled secp256k1 ??
./autogen.sh ./configure make sudo make install
Still having this error even after compiling secp256k1 /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 Well i'm cloning it from https://github.com/bitcoin/secp256k1Its 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 Still going through some trouble with leveldb but i'll get back to it when i have some spare time
|
|
|
|
kampretkabur
|
|
June 14, 2015, 11:46:26 PM |
|
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
|
|
June 14, 2015, 11:52:21 PM |
|
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
|
|
June 14, 2015, 11:55:06 PM |
|
I also have 150 for sale if anyone wanna get in early on the staking process.
|
|
|
|
seedooroff
|
|
June 14, 2015, 11:58:43 PM |
|
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
|
|
June 15, 2015, 12:04:18 AM |
|
30k coins fow POW, 3990 so far,lets see where it goes
|
|
|
|
Starin
|
|
June 15, 2015, 12:05:03 AM |
|
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
|
|
June 15, 2015, 12:10:12 AM |
|
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
|
|
June 15, 2015, 12:13:21 AM |
|
Can someone post instructions for setting up a node??
|
|
|
|
|