Author

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

full member
Activity: 168
Merit: 100
I think I do not do anything exotic...

My system : MacOS Sierra Version 10.12.1
3,1 GHz Intel Core i7
16 Go 1867 MHz DDR3

git clone https://github.com/OrdinaryDude/elastic-core.git
cd elastic-core
./compile.sh
./run.sh

2016-11-14 23:34:11 SEVERE: org.h2.jdbc.JdbcSQLException: Unsupported connection setting "MV_STORE" [90113-167]
java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: Unsupported connection setting "MV_STORE" [90113-167]
legendary
Activity: 1260
Merit: 1168
Ghoom: Can you please tell me what system you have? Are you running something exotic? None of use here has experience such issues before, but it is worth taking a look at what's happening there exactly! It seems that H2 is not working as expected on your end ... first the DB Servlet, now the connection parameters ...

We will figure it out ;-)
full member
Activity: 168
Merit: 100
when ./run.sh

Code:
2016-11-14 23:03:37 SEVERE: org.h2.jdbc.JdbcSQLException: Unsupported connection setting "MV_STORE" [90113-167]
java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: Unsupported connection setting "MV_STORE" [90113-167]
at nxt.db.BasicDb.init(BasicDb.java:148)
at nxt.Db.init(Db.java:40)
at nxt.Nxt$Init.(Nxt.java:343)
at nxt.Nxt.init(Nxt.java:314)
at nxt.Nxt.main(Nxt.java:301)
Caused by: org.h2.jdbc.JdbcSQLException: Unsupported connection setting "MV_STORE" [90113-167]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
at org.h2.message.DbException.get(DbException.java:169)
at org.h2.message.DbException.get(DbException.java:146)
at org.h2.engine.ConnectionInfo.readSettingsFromURL(ConnectionInfo.java:256)
at org.h2.engine.ConnectionInfo.(ConnectionInfo.java:77)
at org.h2.jdbc.JdbcConnection.(JdbcConnection.java:94)
at org.h2.Driver.connect(Driver.java:72)
at org.h2.jdbcx.JdbcDataSource.getJdbcConnection(JdbcDataSource.java:181)
at org.h2.jdbcx.JdbcDataSource.getXAConnection(JdbcDataSource.java:315)
at org.h2.jdbcx.JdbcDataSource.getPooledConnection(JdbcDataSource.java:341)
at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(JdbcConnectionPool.java:226)
at org.h2.jdbcx.JdbcConnectionPool.getConnection(JdbcConnectionPool.java:199)
at nxt.db.BasicDb.init(BasicDb.java:143)
... 4 more
2016-11-14 23:03:37 INFO: Shutting down...
sr. member
Activity: 464
Merit: 260
On my raspberry pi, I ran

Code:
git clone https://github.com/OrdinaryDude/elastic-core.git
cd elastic-core
./compile.sh
./run.sh

without any issues.  Maybe just delete what you've done to this point and clone the git repository again.
full member
Activity: 168
Merit: 100
Code:
$ ./full_build.sh
-bash: ./full_build.sh: No such file or directory

Code:
$ ./compile.sh
compiling nxt core...
Note: src/java/nxt/TransactionType.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
nxt core class files compiled successfully
no add-ons to compile
compilation done

Code:
java -jar elastic-core.jar
Error: Unable to access jarfile elastic-core.jar
legendary
Activity: 1260
Merit: 1168
EK's stupidometer is reaching maximum levels.
Please try again! I just threw out the entire servlet.

Code:
git pull
./full_build.sh
full member
Activity: 168
Merit: 100
Code:
$ ./full_build.sh
-bash: ./full_build.sh: No such file or directory

Code:
$ ./compile.sh
compiling nxt core...
src/java/nxt/http/DbShellServlet.java:181: error: no suitable method found for runTool(Connection,String,String)
                shell.runTool(Db.db.getConnection(), "-sql", line);
                     ^
    method Tool.runTool(String...) is not applicable
      (varargs mismatch; Connection cannot be converted to String)
    method Shell.runTool(String...) is not applicable
      (varargs mismatch; Connection cannot be converted to String)
Note: src/java/nxt/TransactionType.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
legendary
Activity: 1260
Merit: 1168
@Ghoom: sorry, my mistake! I was stupid not to fix the shell scripts.

Code:
git pull
./full_build.sh

I hope we got it this time ;-)

Then ...

Code:
java -jar elastic-core.jar

... and follow the instruction in the PM!
full member
Activity: 168
Merit: 100
Code:
git pull
remote: Counting objects: 40, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 40 (delta 16), reused 40 (delta 16), pack-reused 0
Unpacking objects: 100% (40/40), done.
From https://github.com/OrdinaryDude/elastic-core
   37646c8..12f0e2b  master     -> origin/master
Updating 37646c8..12f0e2b
Fast-forward
 html/ui/css/app.css                       |    5 +
 html/ui/html/modals/redeem.html           |    9 +-
 html/ui/js/nrs.modals.redeem.js           |   12 +-
 src/anc/Makefile                          |   15 +
 src/anc/Wigner3jGUI.mf                    |    4 +
 src/anc/org/nevec/rjm/Bernoulli.java      |   96 +
 src/anc/org/nevec/rjm/BigComplex.java     |  190 ++
 src/anc/org/nevec/rjm/BigDecimalMath.java | 2753 +++++++++++++++++++++++++++++
 src/anc/org/nevec/rjm/BigIntegerMath.java |  547 ++++++
 src/anc/org/nevec/rjm/BigIntegerPoly.java |  666 +++++++
 src/anc/org/nevec/rjm/BigSurd.java        |  439 +++++
 src/anc/org/nevec/rjm/BigSurdVec.java     |  389 ++++
 src/anc/org/nevec/rjm/Euler.java          |   70 +
 src/anc/org/nevec/rjm/EulerPhi.java       |   62 +
 src/anc/org/nevec/rjm/Factorial.java      |   70 +
 src/anc/org/nevec/rjm/Harmonic.java       |   43 +
 src/anc/org/nevec/rjm/Ifactor.java        |  743 ++++++++
 src/anc/org/nevec/rjm/PartitionsP.java    |   86 +
 src/anc/org/nevec/rjm/Prime.java          |  280 +++
 src/anc/org/nevec/rjm/RatPoly.java        |  898 ++++++++++
 src/anc/org/nevec/rjm/Rational.java       |  745 ++++++++
 src/anc/org/nevec/rjm/Wigner3j.java       |  520 ++++++
 src/anc/org/nevec/rjm/Wigner3jGUI.java    |  315 ++++
 src/java/nxt/Redeem.java                  |    9 +-
 src/java/nxt/TransactionType.java         |    6 +-
 25 files changed, 8964 insertions(+), 8 deletions(-)
 create mode 100644 src/anc/Makefile
 create mode 100644 src/anc/Wigner3jGUI.mf
 create mode 100644 src/anc/org/nevec/rjm/Bernoulli.java
 create mode 100644 src/anc/org/nevec/rjm/BigComplex.java
 create mode 100644 src/anc/org/nevec/rjm/BigDecimalMath.java
 create mode 100644 src/anc/org/nevec/rjm/BigIntegerMath.java
 create mode 100644 src/anc/org/nevec/rjm/BigIntegerPoly.java
 create mode 100644 src/anc/org/nevec/rjm/BigSurd.java
 create mode 100644 src/anc/org/nevec/rjm/BigSurdVec.java
 create mode 100644 src/anc/org/nevec/rjm/Euler.java
 create mode 100644 src/anc/org/nevec/rjm/EulerPhi.java
 create mode 100644 src/anc/org/nevec/rjm/Factorial.java
 create mode 100644 src/anc/org/nevec/rjm/Harmonic.java
 create mode 100644 src/anc/org/nevec/rjm/Ifactor.java
 create mode 100644 src/anc/org/nevec/rjm/PartitionsP.java
 create mode 100644 src/anc/org/nevec/rjm/Prime.java
 create mode 100644 src/anc/org/nevec/rjm/RatPoly.java
 create mode 100644 src/anc/org/nevec/rjm/Rational.java
 create mode 100644 src/anc/org/nevec/rjm/Wigner3j.java
 create mode 100644 src/anc/org/nevec/rjm/Wigner3jGUI.java

$ ./compile.sh
compiling nxt core...
src/java/nxt/Work.java:33: error: package org.nevec.rjm does not exist
import org.nevec.rjm.BigDecimalMath;
                    ^
src/java/nxt/http/DbShellServlet.java:181: error: no suitable method found for runTool(Connection,String,String)
                shell.runTool(Db.db.getConnection(), "-sql", line);
                     ^
    method Tool.runTool(String...) is not applicable
      (varargs mismatch; Connection cannot be converted to String)
    method Shell.runTool(String...) is not applicable
      (varargs mismatch; Connection cannot be converted to String)
src/java/nxt/Work.java:355: error: cannot find symbol
quotient = BigDecimalMath.root(3, quotient);
           ^
  symbol:   variable BigDecimalMath
  location: class Work
Note: src/java/nxt/TransactionType.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors

Code:
$ java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)
legendary
Activity: 1260
Merit: 1168
@Ghoom: git pull

And make sure you build with java 1.8
full member
Activity: 168
Merit: 100
Code:
$ ./compile.sh
compiling nxt core...
src/java/nxt/Work.java:33: error: package org.nevec.rjm does not exist
import org.nevec.rjm.BigDecimalMath;
                    ^
src/java/nxt/http/DbShellServlet.java:181: error: no suitable method found for runTool(Connection,String,String)
                shell.runTool(Db.db.getConnection(), "-sql", line);
                     ^
    method Tool.runTool(String...) is not applicable
      (varargs mismatch; Connection cannot be converted to String)
    method Shell.runTool(String...) is not applicable
      (varargs mismatch; Connection cannot be converted to String)
src/java/nxt/Work.java:355: error: cannot find symbol
quotient = BigDecimalMath.root(3, quotient);
           ^
  symbol:   variable BigDecimalMath
  location: class Work
Note: src/java/nxt/TransactionType.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
legendary
Activity: 1260
Merit: 1168
Also, what do we do with those, who sent from one of these glorious "coinbase" wallets, where the funds come from a 2 of 3 multisig wallet, to which the user only holds one key, while the others are some "super-duper-secure" coinbase keys which co-sign the transaction?

Did I get the coinbase principle right? If so, then this scheme is sooo uber-secure that you lose your BTC if the wallet shuts down lol?!

legendary
Activity: 1260
Merit: 1168
Not sure, if this confuses some people!
People who donated from a multisig address (like 3DS7Y6bdePdnFCoXqddkevovh4s5M8NhgM) only see the 2 or 3 addresses that "sign" this multisig address.
I fear that most will look for the 3DS7Y6bdePdnFCoXqddkevovh4s5M8NhgM itself, which by design cannot sign anything itself ... only the public keys which belong to the 2-of-x address can.

Here, again how the redeem from genesis looks like now:

sr. member
Activity: 672
Merit: 250
CryptoTalk.Org - Get Paid for every Post!
Thank you all so much for the support.

Update: Genesis Block is armed!!



so whats the plan for mainnet launch? I mean what date:D
legendary
Activity: 1260
Merit: 1168
Thank you all so much for the support.

Update: Genesis Block is armed!!



legendary
Activity: 1260
Merit: 1168
Thanks, wasn't easy though :-)

In case anyone of you had a bad day and need something to ROFL ...
Here one of the comments we have seen from the haters before:


https://bitcointalksearch.org/topic/m.14548368
Also, the dev claims that, I quote:

>https://bitcointalksearch.org/topic/m.14526431 (mirror)
>No membership or registration is required. Your XEL are simply credited to the public key of the first input in your bitcoin transaction. If you do not understand the instructions on the website entirely, you might want to wait for the howto videos.

But the coin is not build on the top of bitcoin.

Later the other dev (EK) explains the redemption process:
https://bitcointalksearch.org/topic/m.14526549 (https://archive.is/wGUOL#selection-1673.0-1682.1)
https://bitcointalksearch.org/topic/m.14526785 (https://archive.is/wGUOL#selection-2645.0-2649.89)

Which is meaningless and actually cannot be done.

Lol, the meaningless and impossible is done here:
https://github.com/OrdinaryDude/elastic-core/blob/master/src/java/nxt/TransactionType.java#L350-L511
legendary
Activity: 1260
Merit: 1168
Working as fast as I can ...
Redeem feature is in place ;-) More to come later today

hero member
Activity: 994
Merit: 513
Is there a way to verify if ones transaction is in the genesis block?

Thanks.

On the old page, the genesis block was openly visible. Not sure where to see the genesis block right now. E-K seems to know or has a copy. Lannister probably has it, too.

Here it is  Wink

https://raw.githubusercontent.com/elastic-project/genesis-block/master/genesis-block.json

Nice, thanks!

Great work by the way. I'm really stoked.
legendary
Activity: 1260
Merit: 1168
Is there a way to verify if ones transaction is in the genesis block?

Thanks.

On the old page, the genesis block was openly visible. Not sure where to see the genesis block right now. E-K seems to know or has a copy. Lannister probably has it, too.

Here it is  Wink

https://raw.githubusercontent.com/elastic-project/genesis-block/master/genesis-block.json
hero member
Activity: 994
Merit: 513
Is there a way to verify if ones transaction is in the genesis block?

Thanks.

On the old page, the genesis block was openly visible. Not sure where to see the genesis block right now. E-K seems to know or has a copy. Lannister probably has it, too.
Jump to: