Author

Topic: [ANN][XEL] Elastic Project - The Decentralized Supercomputer - page 201. (Read 450523 times)

hero member
Activity: 994
Merit: 513
member
Activity: 85
Merit: 10
Block chain data storage will be in a short time to become a huge subversive (3-5 years).

The current cloud storage services are centralized - therefore, you, your users must trust to a single storage service provider. 'They' control all your online assets.

However, if a block chain is used, these data stores can become de-centric. Storj, for example, is a cloud storage service undergoing beta testing that uses block-chain networking to improve security and reduce dependency on service providers. In addition, you can also rent out their excess storage capacity, similar to Airbnb style, which developed a new market.

Anyone on the Internet can store your data at pre-agreed prices. However, data is hashed and stored in multiple locations to ensure data security is the key.
legendary
Activity: 1260
Merit: 1168
I am totally fucked up by out current retargeting mechanism. I think its time for a contest ;-)

I have 2 BTC to spare for the "right" few lines of python! The work can probably be done under the shower, it's just I cannot see the solution at the moment.

https://bitcointalk.org/index.php?topic=1699601.new#new

Is this offer still running?

Started: November 30th, 7:51:39 PM

And

Quote
I will give 2 BTC form my personal savings to the best submission within the next 5 days from now!

So unless it's December the 5th, I guess it must be still running.
full member
Activity: 137
Merit: 100
I am totally fucked up by out current retargeting mechanism. I think its time for a contest ;-)

I have 2 BTC to spare for the "right" few lines of python! The work can probably be done under the shower, it's just I cannot see the solution at the moment.

https://bitcointalk.org/index.php?topic=1699601.new#new

Is this offer still running?
full member
Activity: 124
Merit: 100
I have not checked in for a couple days awesome to here about ver. 0.8.0! When I get my living situation squared away I am going to relearn software developing just especially for Elastic environment and markets. Yay!!
legendary
Activity: 1775
Merit: 1032
Value will be measured in sats
there is only one Evil-Knivel working on a program, or in the company of some people?
yes, microsoft also working on elastic.

google and tencent as well
hero member
Activity: 742
Merit: 501
there is only one Evil-Knivel working on a program, or in the company of some people?
yes, microsoft also working on elastic.
sr. member
Activity: 434
Merit: 250
there is only one Evil-Knivel working on a program, or in the company of some people?
member
Activity: 85
Merit: 10
"Singularity approach" a book, near the state of singularity interpreted as: the rhythm of human creation technology is accelerating, and the power of technology is exponential speed is growing. Exponential growth began with subtle growth, and then became incredible and exploding. Google previously announced the opening of the second generation of research and development based on DistBelief TensorFlow the depth of the nervous system, all developers around the world can access the official website of its source code. Perhaps the artificial intelligence will be the pinnacle of xel.
legendary
Activity: 1260
Merit: 1168
p.s. the first time I could set my account info - you fixed the unsigned bug thanks for that


Yeah, but believe me ... it was a pain in the ass  Wink
hero member
Activity: 792
Merit: 501
Hi,

public node updated to 0.8.0 : https://elastic.cryptnodes.site/index.html

atm there are no seed nodes available for blockchain download :-(

regards


Have you deleted the elastic_test_db/ folder? The seed nodes are definitely online, maybe you have some old "blacklisting" in place? The nodes naturally were blacklisted when they updated.

You're right - was old chain data - I deleted it but run a old version meanwhile and forget to delete it again ...

Now the node is online and chain is loaded

regards

p.s. the first time I could set my account info - you fixed the unsigned bug thanks for that
legendary
Activity: 1260
Merit: 1168
Hi,

public node updated to 0.8.0 : https://elastic.cryptnodes.site/index.html

atm there are no seed nodes available for blockchain download :-(

regards


Have you deleted the elastic_test_db/ folder? The seed nodes are definitely online, maybe you have some old "blacklisting" in place? The nodes naturally were blacklisted when they updated.
hero member
Activity: 792
Merit: 501
Hi,

public node updated to 0.8.0 : https://elastic.cryptnodes.site/index.html

atm there are no seed nodes available for blockchain download :-(

regards
legendary
Activity: 1050
Merit: 1000
I guess you forgot "brew install openssl; brew link openssl" or something.
before install
Code:
MacdeiMac:xel_miner mac$ brew install openssl curl
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core, homebrew/versions).
==> New Formulae
[email protected]                      [email protected]                              [email protected]
==> Updated Formulae
ansifilter         collectd           hunspell           macvim ✔           ocamlsdl           ssreflect
aws-sdk-cpp        coq                javarepl           mkvtoolnix         offlineimap        texmath
awscli             coreutils          kibana             mongodb            pandoc             twarc
camlp4             dmd                lablgtk            nifi               pandoc-citeproc    youtube-dl
camlp5             flow               lean-cli           ocaml              readline ✔         zero-install
cmake ✔            fstar              ledit              ocamlbuild         sourcekitten       zstd
==> Deleted Formulae
homebrew/versions/elasticsearch24      homebrew/versions/mysql55              homebrew/versions/mysql56

Warning: openssl-1.0.2j already installed
Warning: curl-7.51.0 already installed
MacdeiMac:build mac$ brew link openssl
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
  -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
legendary
Activity: 1260
Merit: 1168
I guess you forgot "brew install openssl; brew link openssl" or something.
legendary
Activity: 1050
Merit: 1000
dev this question help,
MacdeiMac:elastic-core mac$ java -jar target/elastic-core*.jar
Target / elastic-core-0.8.0-sources.jar does not have a master manifest attribute

java -jar target/elastic-core-0.8.0.jar
new question :
MacdeiMac:build mac$ pwd
/Users/mac/xel_miner/build
MacdeiMac:build mac$ OPENSSL_ROOT_DIR=/usr/local/opt/openssl/cmake ..
-- The C compiler identification is AppleClang 7.3.0.7030031
-- The CXX compiler identification is AppleClang 7.3.0.7030031
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/local/Cellar/cmake/3.7.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.7.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.7.0/share/cmake/Modules/FindOpenSSL.cmake:385 (find_package_handle_standard_args)
  CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/mac/xel_miner/build/CMakeFiles/CMakeOutput.log".

MacdeiMac:build mac$ OPENSSL_ROOT_DIR="/usr/local/opt/openssl/" cmake ..
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib (found version "1.0.2j")
-- CURL: Found
-- SSL: Not Found! why?
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/mac/xel_miner/build
-------------IM DIVIDING LINE---------------------------------------------------------------------------------------------------------------------
Code:
MacdeiMac:build mac$ make
Scanning dependencies of target jansson
[  3%] Building C object compat/jansson/CMakeFiles/jansson.dir/dump.c.o
[  7%] Building C object compat/jansson/CMakeFiles/jansson.dir/error.c.o
[ 10%] Building C object compat/jansson/CMakeFiles/jansson.dir/hashtable.c.o
[ 14%] Building C object compat/jansson/CMakeFiles/jansson.dir/hashtable_seed.c.o
[ 17%] Building C object compat/jansson/CMakeFiles/jansson.dir/load.c.o
[ 21%] Building C object compat/jansson/CMakeFiles/jansson.dir/memory.c.o
[ 25%] Building C object compat/jansson/CMakeFiles/jansson.dir/pack_unpack.c.o
[ 28%] Building C object compat/jansson/CMakeFiles/jansson.dir/strbuffer.c.o
[ 32%] Building C object compat/jansson/CMakeFiles/jansson.dir/strconv.c.o
[ 35%] Building C object compat/jansson/CMakeFiles/jansson.dir/utf.c.o
[ 39%] Building C object compat/jansson/CMakeFiles/jansson.dir/value.c.o
[ 42%] Linking C static library libjansson.a
[ 42%] Built target jansson
Scanning dependencies of target xel_miner
[ 46%] Building C object CMakeFiles/xel_miner.dir/xel_miner.c.o
In file included from /Users/mac/xel_miner/xel_miner.c:24:
/Users/mac/xel_miner/miner.h:51:29: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern __thread _ALIGN(64) *vm_mem;
~~~~~~~~~~~~~~~             ^
/Users/mac/xel_miner/xel_miner.c:78:22: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
__thread _ALIGN(64) *vm_mem = NULL;
~~~~~~~~             ^
/Users/mac/xel_miner/xel_miner.c:255:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                        rpc_url = strdup(arg);
                                ^ ~~~~~~~~~~~
/Users/mac/xel_miner/xel_miner.c:263:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                        rpc_url = (char*)malloc(strlen(ap) + 8);
                                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mac/xel_miner/xel_miner.c:264:12: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        sprintf(rpc_url, "http://%s", ap);
                                ^~~~~~~
/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
/Users/mac/xel_miner/xel_miner.c:268:38: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        rpc_url = realloc(rpc_url, strlen(rpc_url) + 5);
                                                          ^~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
/Users/mac/xel_miner/xel_miner.c:269:12: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        sprintf(rpc_url, "%s/nxt", rpc_url);
                                ^~~~~~~
/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
/Users/mac/xel_miner/xel_miner.c:275:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                rpc_pass = strdup(arg);
                         ^ ~~~~~~~~~~~
/Users/mac/xel_miner/xel_miner.c:279:14: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                passphrase = strdup(arg);
                           ^ ~~~~~~~~~~~
/Users/mac/xel_miner/xel_miner.c:284:29: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sha256(passphrase, strlen(passphrase), hash_sha256);
                                          ^~~~~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
/Users/mac/xel_miner/xel_miner.c:284:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts
      between pointers to integer types with different sign [-Wpointer-sign]
                sha256(passphrase, strlen(passphrase), hash_sha256);
                                                       ^~~~~~~~~~~
/Users/mac/xel_miner/crypto/sha2.h:57:28: note: passing argument to parameter 'digest' here
            unsigned char *digest);
                           ^
/Users/mac/xel_miner/xel_miner.c:292:31: warning: passing 'char *' to parameter of type 'const uint8_t *'
      (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                curve25519_donna(publickey, hash_sha256, basepoint);
                                            ^~~~~~~~~~~
/Users/mac/xel_miner/miner.h:294:56: note: passing argument to parameter 'secret' here
int curve25519_donna(uint8_t *mypublic, const uint8_t *secret, const uint8_t *basepoint);
                                                       ^
/Users/mac/xel_miner/xel_miner.c:337:12: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                rpc_user = strdup(arg);
                         ^ ~~~~~~~~~~~
/Users/mac/xel_miner/xel_miner.c:357:10: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                strcpy(test_filename, arg);
                       ^~~~~~~~~~~~~
/usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy'
  __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
                          ^~~~
/Users/mac/xel_miner/xel_miner.c:364:10: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                strcpy(test_filename, arg);
                       ^~~~~~~~~~~~~
/usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy'
  __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
                          ^~~~
/Users/mac/xel_miner/xel_miner.c:429:13: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        fp = fopen(test_filename, "r");
                   ^~~~~~~~~~~~~
/usr/include/stdio.h:242:36: note: passing argument to parameter here
FILE    *fopen(const char * __restrict, const char * __restrict) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHO...
                                      ^
/Users/mac/xel_miner/xel_miner.c:445:90: warning: format specifies type 'int' but the argument has type 'size_t'
      (aka 'unsigned long') [-Wformat]
                fprintf(stderr, "ERROR: Test file exceeds max size (%d): %d bytes\n", MAX_SOURCE_SIZE, len);
                                                                         ~~                            ^~~
                                                                         %zu
/Users/mac/xel_miner/xel_miner.c:460:12: warning: implicit declaration of function 'tolower' is invalid in C99
      [-Wimplicit-function-declaration]
                buf[i] = tolower(buf[i]);
                         ^
/Users/mac/xel_miner/xel_miner.c:560:6: warning: passing 'char [80]' to parameter of type 'const unsigned char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
        MD5(msg, 80, hash);
            ^~~
/usr/local/opt/openssl/include/openssl/md5.h:113:41: note: passing argument to parameter 'd' here
unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);
                                        ^
/Users/mac/xel_miner/xel_miner.c:560:15: warning: passing 'char [16]' to parameter of type 'unsigned char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
        MD5(msg, 80, hash);
                     ^~~~
/usr/local/opt/openssl/include/openssl/md5.h:113:69: note: passing argument to parameter 'md' here
unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);
                                                                    ^
/Users/mac/xel_miner/xel_miner.c:628:7: warning: passing 'char [64]' to parameter of type 'const unsigned char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                MD5(msg, 64, hash);
                    ^~~
/usr/local/opt/openssl/include/openssl/md5.h:113:41: note: passing argument to parameter 'd' here
unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);
                                        ^
/Users/mac/xel_miner/xel_miner.c:628:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts
      between pointers to integer types with different sign [-Wpointer-sign]
                MD5(msg, 64, hash);
                             ^~~~
/usr/local/opt/openssl/include/openssl/md5.h:113:69: note: passing argument to parameter 'md' here
unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md);
                                                                    ^
/Users/mac/xel_miner/xel_miner.c:692:29: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                val = json_rpc_call(curl, rpc_url, rpc_userpass, "requestType=getMineableWork&n=1", &err);
                                          ^~~~~~~
/Users/mac/xel_miner/miner.h:285:54: note: passing argument to parameter 'url' here
extern json_t* json_rpc_call(CURL *curl, const char *url, const char *userpass, const char *req, int *curl_err);
                                                     ^
/Users/mac/xel_miner/xel_miner.c:692:38: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                val = json_rpc_call(curl, rpc_url, rpc_userpass, "requestType=getMineableWork&n=1", &err);
                                                   ^~~~~~~~~~~~
/Users/mac/xel_miner/miner.h:285:71: note: passing argument to parameter 'userpass' here
extern json_t* json_rpc_call(CURL *curl, const char *url, const char *userpass, const char *req, int *curl_err);
                                                                      ^
/Users/mac/xel_miner/xel_miner.c:696:24: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                val = JSON_LOAD_FILE(test_filename, &err_val);
                                     ^~~~~~~~~~~~~
/Users/mac/xel_miner/miner.h:42:54: note: expanded from macro 'JSON_LOAD_FILE'
#define JSON_LOAD_FILE(path, err_ptr) json_load_file(path, 0, err_ptr)
                                                     ^~~~
/Users/mac/xel_miner/compat/jansson/jansson.h:277:36: note: passing argument to parameter 'path' here
json_t *json_load_file(const char *path, size_t flags, json_error_t *error);
                                   ^
/Users/mac/xel_miner/xel_miner.c:736:22: warning: passing 'unsigned char [22]' to parameter of type 'const char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                strncpy(g_work_id, work.work_str, 21);
                                   ^~~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
  __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                                 ^~~
/Users/mac/xel_miner/xel_miner.c:737:22: warning: passing 'unsigned char [50]' to parameter of type 'const char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                strncpy(g_work_nm, work.work_nm, 49);
                                   ^~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
  __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                                 ^~~
/Users/mac/xel_miner/xel_miner.c:738:11: warning: passing 'unsigned char [33]' to parameter of type 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf(g_pow_target_str, "%08X%08X%08X...", work.pow_target[0], work.pow_target[1], work.p...
                        ^~~~~~~~~~~~~~~~
/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
/Users/mac/xel_miner/xel_miner.c:840:12: warning: passing 'unsigned char [22]' to parameter of type 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                        strncpy(work_package.work_str, str, 21);
                                ^~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
  __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                           ^~~~
/Users/mac/xel_miner/xel_miner.c:844:12: warning: passing 'unsigned char [50]' to parameter of type 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                        strncpy(work_package.work_nm, str, 49);
                                ^~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
  __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                           ^~~~
/Users/mac/xel_miner/xel_miner.c:866:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts
      between pointers to integer types with different sign [-Wpointer-sign]
                        rc = ascii85dec(elastic_src, MAX_SOURCE_SIZE, str);
                                        ^~~~~~~~~~~
/Users/mac/xel_miner/miner.h:282:39: note: passing argument to parameter 'str' here
extern bool ascii85dec(unsigned char *str, int strsz, const char *ascii85);
                                      ^
/Users/mac/xel_miner/xel_miner.c:899:27: warning: passing 'unsigned char [22]' to parameter of type 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                                if (!compile_and_link(work_package.work_str)) {
                                                      ^~~~~~~~~~~~~~~~~~~~~
/Users/mac/xel_miner/miner.h:290:29: note: passing argument to parameter 'file_name' here
bool compile_and_link(char* file_name);
                            ^
/Users/mac/xel_miner/xel_miner.c:953:48: warning: passing 'unsigned char [22]' to parameter of type 'const char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                else if (opt_pref == PREF_WORKID && (!strcmp(g_work_package[work_pkg_id].work_str, pref_workid))) {
                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:77:25: note: passing argument to parameter here
int      strcmp(const char *, const char *);
                            ^
/Users/mac/xel_miner/xel_miner.c:976:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts
      between pointers to integer types with different sign [-Wpointer-sign]
                rc = ascii85dec(elastic_src, MAX_SOURCE_SIZE, best_src);
                                ^~~~~~~~~~~
/Users/mac/xel_miner/miner.h:282:39: note: passing argument to parameter 'str' here
extern bool ascii85dec(unsigned char *str, int strsz, const char *ascii85);
                                      ^
/Users/mac/xel_miner/xel_miner.c:1003:10: warning: passing 'unsigned char [22]' to parameter of type 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(work->work_str, g_work_package[best_pkg].work_str, 21);
                ^~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
  __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                           ^~~~
/Users/mac/xel_miner/xel_miner.c:1003:26: warning: passing 'unsigned char [22]' to parameter of type 'const char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(work->work_str, g_work_package[best_pkg].work_str, 21);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
  __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                                 ^~~
/Users/mac/xel_miner/xel_miner.c:1004:10: warning: passing 'unsigned char [50]' to parameter of type 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(work->work_nm, g_work_package[best_pkg].work_nm, 49);
                ^~~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
  __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                           ^~~~
/Users/mac/xel_miner/xel_miner.c:1004:25: warning: passing 'unsigned char [50]' to parameter of type 'const char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(work->work_nm, g_work_package[best_pkg].work_nm, 49);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
  __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                                 ^~~
/Users/mac/xel_miner/xel_miner.c:1023:25: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        url = calloc(1, strlen(rpc_url) + 50);
                               ^~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
/Users/mac/xel_miner/xel_miner.c:1053:33: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        val = json_rpc_call(curl, url, rpc_userpass, data, &err);
                                       ^~~~~~~~~~~~
/Users/mac/xel_miner/miner.h:285:71: note: passing argument to parameter 'userpass' here
extern json_t* json_rpc_call(CURL *curl, const char *url, const char *userpass, const char *req, int *curl_err);
                                                                      ^
/Users/mac/xel_miner/xel_miner.c:1214:27: warning: passing 'unsigned char [22]' to parameter of type 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                                create_instance(inst, work.work_str);
                                                      ^~~~~~~~~~~~~
/Users/mac/xel_miner/miner.h:291:51: note: passing argument to parameter 'file_name' here
void create_instance(struct instance* inst, char *file_name);
                                                  ^
/Users/mac/xel_miner/xel_miner.c:1274:12: warning: passing 'unsigned char [65]' to parameter of type 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                        sprintf(hash_str, "%08X%08X%08X...", swap32(hash32[0]), swap32(hash32[1]), swap32(h...
                                ^~~~~~~~
/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
/Users/mac/xel_miner/xel_miner.c:1275:12: warning: passing 'unsigned char [65]' to parameter of type 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                        sprintf(gpow_str, "%08X%08X%08X...", (g_pow_target[0]), (g_pow_target[1]), (g_pow_t...
                                ^~~~~~~~
/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
/Users/mac/xel_miner/xel_miner.c:1342:29: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                val = json_rpc_call(curl, rpc_url, rpc_userpass, "requestType=longpoll&randomId=1", &err);
                                          ^~~~~~~
/Users/mac/xel_miner/miner.h:285:54: note: passing argument to parameter 'url' here
extern json_t* json_rpc_call(CURL *curl, const char *url, const char *userpass, const char *req, int *curl_err);
                                                     ^
/Users/mac/xel_miner/xel_miner.c:1342:38: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                val = json_rpc_call(curl, rpc_url, rpc_userpass, "requestType=longpoll&randomId=1", &err);
                                                   ^~~~~~~~~~~~
/Users/mac/xel_miner/miner.h:285:71: note: passing argument to parameter 'userpass' here
extern json_t* json_rpc_call(CURL *curl, const char *url, const char *userpass, const char *req, int *curl_err);
                                                                      ^
/Users/mac/xel_miner/xel_miner.c:1530:10: warning: passing 'unsigned char [22]' to parameter of type 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(g_submit_req[g_submit_req_cnt].work_str, work->work_str, 21);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
  __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                           ^~~~
/Users/mac/xel_miner/xel_miner.c:1530:51: warning: passing 'unsigned char [22]' to parameter of type 'const char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
        strncpy(g_submit_req[g_submit_req_cnt].work_str, work->work_str, 21);
                                                         ^~~~~~~~~~~~~~
/usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
  __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
                                 ^~~
/Users/mac/xel_miner/xel_miner.c:1590:8: warning: implicit declaration of function 'toupper' is invalid in C99
      [-Wimplicit-function-declaration]
                ch = toupper(ch);
                     ^
/Users/mac/xel_miner/xel_miner.c:1611:100: warning: address of array 'g_work_nm' will always evaluate to 'true'
      [-Wpointer-bool-conversion]
  ..."Run Time: %02d Days %02d:%02d:%02d\t\tWork Name: %s", day, hour, min, sec, g_work_nm ? g_work_nm : "");
                                                                                 ^~~~~~~~~ ~
/Users/mac/xel_miner/xel_miner.c:1612:78: warning: address of array 'g_work_id' will always evaluate to 'true'
      [-Wpointer-bool-conversion]
  ...applog(LOG_WARNING, "Bounty Pending:\t%3d\t\tWork ID:   %s", pending_bty, g_work_id ? g_work_id : "");
                                                                               ^~~~~~~~~ ~
/Users/mac/xel_miner/xel_miner.c:1723:11: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                rpc_url = strdup("http://127.0.0.1:6876/nxt");
                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mac/xel_miner/xel_miner.c:1726:39: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                rpc_userpass = (char*)malloc(strlen(rpc_user) + strlen(rpc_pass) + 2);
                                                    ^~~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
/Users/mac/xel_miner/xel_miner.c:1726:58: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                rpc_userpass = (char*)malloc(strlen(rpc_user) + strlen(rpc_pass) + 2);
                                                                       ^~~~~~~~
/usr/include/string.h:82:28: note: passing argument to parameter here
size_t   strlen(const char *);
                            ^
/Users/mac/xel_miner/xel_miner.c:1726:16: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'char *'
      converts between pointers to integer types with different sign [-Wpointer-sign]
                rpc_userpass = (char*)malloc(strlen(rpc_user) + strlen(rpc_pass) + 2);
                             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/mac/xel_miner/xel_miner.c:1729:11: warning: passing 'uint8_t *' (aka 'unsigned char *') to parameter of type
      'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf(rpc_userpass, "%s:%s", rpc_user, rpc_pass);
                        ^~~~~~~~~~~~
/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
55 warnings generated.
[ 50%] Building C object CMakeFiles/xel_miner.dir/xel_compiler.c.o
In file included from /Users/mac/xel_miner/xel_compiler.c:7:
/Users/mac/xel_miner/miner.h:51:29: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern __thread _ALIGN(64) *vm_mem;
~~~~~~~~~~~~~~~             ^
/Users/mac/xel_miner/xel_compiler.c:89:13: warning: format string is not a string literal (potentially insecure)
      [-Wformat-security]
        fprintf(f, &code[0]);
                   ^~~~~~~~
/Users/mac/xel_miner/xel_compiler.c:96:19: warning: format string is not a string literal (potentially insecure)
      [-Wformat-security]
                fprintf(stdout, code);
                                ^~~~
/Users/mac/xel_miner/xel_compiler.c:160:15: warning: implicit declaration of function 'dlmopen' is invalid in C99
      [-Wimplicit-function-declaration]
        inst->hndl = dlmopen(LM_ID_BASE, file_name, RTLD_NOW);
                     ^
/Users/mac/xel_miner/xel_compiler.c:160:13: warning: incompatible integer to pointer conversion assigning to
      'void *' from 'int' [-Wint-conversion]
        inst->hndl = dlmopen(LM_ID_BASE, file_name, RTLD_NOW);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
[ 53%] Building C object CMakeFiles/xel_miner.dir/util.c.o
In file included from /Users/mac/xel_miner/util.c:23:
/Users/mac/xel_miner/miner.h:51:29: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
extern __thread _ALIGN(64) *vm_mem;
~~~~~~~~~~~~~~~             ^
/Users/mac/xel_miner/util.c:286:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts
      between pointers to integer types with different sign [-Wpointer-sign]
        sprintf(str, "%s", buf);
                ^~~
/usr/include/secure/_stdio.h:47:28: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                           ^~~
2 warnings generated.
[ 57%] Building C object CMakeFiles/xel_miner.dir/ElasticPL/ElasticPL.c.o
In file included from /Users/mac/xel_miner/ElasticPL/ElasticPL.c:13:
/Users/mac/xel_miner/ElasticPL/../miner.h:51:29: warning: type specifier missing, defaults to 'int'
      [-Wimplicit-int]
extern __thread _ALIGN(64) *vm_mem;
~~~~~~~~~~~~~~~             ^
/Users/mac/xel_miner/ElasticPL/ElasticPL.c:85:23: warning: format specifies type 'int' but the argument has type
      'long' [-Wformat]
                        sprintf(val, "%d", root->value);
                                      ~~   ^~~~~~~~~~~
                                      %ld
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
2 warnings generated.
[ 60%] Building C object CMakeFiles/xel_miner.dir/ElasticPL/ElasticPLTokenManager.c.o
In file included from /Users/mac/xel_miner/ElasticPL/ElasticPLTokenManager.c:13:
/Users/mac/xel_miner/ElasticPL/../miner.h:51:29: warning: type specifier missing, defaults to 'int'
      [-Wimplicit-int]
extern __thread _ALIGN(64) *vm_mem;
~~~~~~~~~~~~~~~             ^
1 warning generated.
[ 64%] Building C object CMakeFiles/xel_miner.dir/ElasticPL/ElasticPLParser.c.o
In file included from /Users/mac/xel_miner/ElasticPL/ElasticPLParser.c:14:
/Users/mac/xel_miner/ElasticPL/../miner.h:51:29: warning: type specifier missing, defaults to 'int'
      [-Wimplicit-int]
extern __thread _ALIGN(64) *vm_mem;
~~~~~~~~~~~~~~~             ^
/Users/mac/xel_miner/ElasticPL/ElasticPLParser.c:269:10: warning: enumeration value 'EXP_NONE' not handled in
      switch [-Wswitch]
        switch (token->exp) {
                ^
2 warnings generated.
[ 67%] Building C object CMakeFiles/xel_miner.dir/ElasticPL/ElasticPLInterpreter.c.o
In file included from /Users/mac/xel_miner/ElasticPL/ElasticPLInterpreter.c:18:
/Users/mac/xel_miner/ElasticPL/../miner.h:51:29: warning: type specifier missing, defaults to 'int'
      [-Wimplicit-int]
extern __thread _ALIGN(64) *vm_mem;
~~~~~~~~~~~~~~~             ^
/Users/mac/xel_miner/ElasticPL/ElasticPLInterpreter.c:66:27: warning: format specifies type 'int' but the argument
      has type 'long' [-Wformat]
                                sprintf(result, "%d", exp->value);
                                                 ~~   ^~~~~~~~~~
                                                 %ld
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
/Users/mac/xel_miner/ElasticPL/ElasticPLInterpreter.c:72:32: warning: format specifies type 'int' but the argument
      has type 'long' [-Wformat]
                                sprintf(result, "mem[%d]", exp->value);
                                                     ~~    ^~~~~~~~~~
                                                     %ld
/usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
                                                       ^~~~~~~~~~~
3 warnings generated.
[ 71%] Building C object CMakeFiles/xel_miner.dir/crypto/elasticpl_crypto.c.o
/Users/mac/xel_miner/crypto/elasticpl_crypto.c:281:11: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
        if ((idx < 0) || (len <= 0) || ((idx + n) >= VM_MEMORY_SIZE))
             ~~~ ^ ~
/Users/mac/xel_miner/crypto/elasticpl_crypto.c:377:12: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
        if ((idx1 < 0) || (idx2 < 0) || ((idx1 + uncomp_sz) >= VM_MEMORY_SIZE) || ((idx2 + uncomp_sz) >= VM...
             ~~~~ ^ ~
/Users/mac/xel_miner/crypto/elasticpl_crypto.c:377:26: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
        if ((idx1 < 0) || (idx2 < 0) || ((idx1 + uncomp_sz) >= VM_MEMORY_SIZE) || ((idx2 + uncomp_sz) >= VM...
                           ~~~~ ^ ~
/Users/mac/xel_miner/crypto/elasticpl_crypto.c:478:12: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
        if ((idx1 < 0) || (idx2 < 0) || ((idx1 + uncomp_sz) >= VM_MEMORY_SIZE) || ((idx2 + uncomp_sz) >= VM...
             ~~~~ ^ ~
/Users/mac/xel_miner/crypto/elasticpl_crypto.c:478:26: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
        if ((idx1 < 0) || (idx2 < 0) || ((idx1 + uncomp_sz) >= VM_MEMORY_SIZE) || ((idx2 + uncomp_sz) >= VM...
                           ~~~~ ^ ~
/Users/mac/xel_miner/crypto/elasticpl_crypto.c:573:12: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
        if ((idx1 < 0) || ((idx1 + uncomp_sz) >= VM_MEMORY_SIZE))
             ~~~~ ^ ~
/Users/mac/xel_miner/crypto/elasticpl_crypto.c:656:12: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
        if ((idx1 < 0) || (idx2 < 0) || ((idx1 + uncomp_sz) >= VM_MEMORY_SIZE) || ((idx2 + n2) >= VM_MEMORY_SIZE))
             ~~~~ ^ ~
/Users/mac/xel_miner/crypto/elasticpl_crypto.c:656:26: warning: comparison of unsigned expression < 0 is always
      false [-Wtautological-compare]
        if ((idx1 < 0) || (idx2 < 0) || ((idx1 + uncomp_sz) >= VM_MEMORY_SIZE) || ((idx2 + n2) >= VM_MEMORY_SIZE))
                           ~~~~ ^ ~
8 warnings generated.
[ 75%] Building C object CMakeFiles/xel_miner.dir/crypto/curve25519-donna.c.o
[ 78%] Building C object CMakeFiles/xel_miner.dir/crypto/sha2.c.o
[ 82%] Building C object CMakeFiles/xel_miner.dir/crypto/whirlpool.c.o
[ 85%] Linking C executable ../xel_miner
Undefined symbols for architecture x86_64:
  "_dlmopen", referenced from:
      _create_instance in xel_compiler.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../xel_miner] Error 1
make[1]: *** [CMakeFiles/xel_miner.dir/all] Error 2
make: *** [all] Error 2
legendary
Activity: 1050
Merit: 1000
dev this question help,
MacdeiMac:elastic-core mac$ java -jar target/elastic-core*.jar
Target / elastic-core-0.8.0-sources.jar does not have a master manifest attribute

java -jar target/elastic-core-0.8.0.jar
thanks for you  Smiley
legendary
Activity: 1260
Merit: 1168
dev this question help,
MacdeiMac:elastic-core mac$ java -jar target/elastic-core*.jar
Target / elastic-core-0.8.0-sources.jar does not have a master manifest attribute

java -jar target/elastic-core-0.8.0.jar
legendary
Activity: 1050
Merit: 1000
dev this question help,
MacdeiMac:elastic-core mac$ java -jar target/elastic-core*.jar
Target / elastic-core-0.8.0-sources.jar does not have a master manifest attribute
hero member
Activity: 742
Merit: 501

Elastic is a Decentralized Supercomputer


Short Info
Elastic Project is a non-profit community driven website, created by and for the developers, other community members and those interested in this project, to surge information and helpful advice on everything related to Elastic.

The Mainnet is not yet online! But we have a public testnet running, looking for nasty bugs to fix! Learn how to setup a testnet node here or use the public node to get a first glance.

Official Website
http://elastic-project.com/

Latest News
Testnet 0.8.0 is live.

Check out this (http://elastic-project.com/installing_and_running_elastic#updating_source_code_to_the_latest_version) to learn how to upgrade. New here is, that the elastic-pl-0.2.0 package has a new version. If not using Docker, this has to be updated via mvn! All infos are in the instruction.





Slack (Auto Invitation)

https://elasticfans.herokuapp.com/
Jump to: