-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial public commit
- Loading branch information
qora
committed
Dec 9, 2014
1 parent
f4d7eb4
commit cf84f4c
Showing
242 changed files
with
25,008 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-annotations-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-client-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-continuation-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-deploy-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-http-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-io-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-jaas-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-jaspi-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-jmx-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-jndi-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-plus-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-proxy-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-rewrite-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-schemas-3.1.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-security-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-server-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-servlet-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-servlets-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-util-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-webapp-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/jetty-xml-9.1.1.v20140108.jar"/> | ||
<classpathentry kind="lib" path="libs/jetty/servlet-api-3.1.jar"/> | ||
<classpathentry kind="lib" path="libs/jsonrpc4j/commons-cli-1.2.jar"/> | ||
<classpathentry kind="lib" path="libs/jsonrpc4j/httpcore-4.3.1.jar"/> | ||
<classpathentry kind="lib" path="libs/jsonrpc4j/httpcore-ab-4.3.1.jar"/> | ||
<classpathentry kind="lib" path="libs/jsonrpc4j/httpcore-nio-4.3.1.jar"/> | ||
<classpathentry kind="lib" path="libs/jsonrpc4j/jackson-annotations-2.2.3.jar"/> | ||
<classpathentry kind="lib" path="libs/jsonrpc4j/jackson-core-2.2.3.jar"/> | ||
<classpathentry kind="lib" path="libs/jsonrpc4j/jackson-databind-2.2.3.jar"/> | ||
<classpathentry kind="lib" path="libs/jsonrpc4j/javax.servlet-3.0.0.v201112011016.jar"/> | ||
<classpathentry kind="lib" path="libs/jsonrpc4j/jsonrpc4j.jar"/> | ||
<classpathentry kind="lib" path="libs/jsonrpc4j/portlet-2.0.jar"/> | ||
<classpathentry kind="lib" path="libs/guava-15.0.jar"/> | ||
<classpathentry kind="lib" path="libs/json-simple-1.1.1.jar"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"> | ||
<attributes> | ||
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="Qora/libs/native"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> | ||
<classpathentry kind="lib" path="libs/commons-net-3.3.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/aopalliance-repackaged-2.2.0.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/asm-all-repackaged-2.2.0.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/hk2-api-2.2.0.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/hk2-locator-2.2.0.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/hk2-utils-2.2.0.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/javassist-3.18.1-GA.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/javax.annotation-api-1.2.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/javax.inject-2.2.0.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/javax.servlet-api-3.0.1.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/jaxb-api-2.2.7.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/jersey-guava-2.7.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/org.osgi.core-4.2.0.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/osgi-resource-locator-1.0.1.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/persistence-api-1.0.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/ext/validation-api-1.1.0.Final.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/lib/jersey-client.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/lib/jersey-common.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/lib/jersey-container-servlet-core.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/lib/jersey-container-servlet.jar"/> | ||
<classpathentry kind="lib" path="libs/jersey/lib/jersey-server.jar"/> | ||
<classpathentry kind="lib" path="libs/javax.ws.rs-api-2.0-rc3.jar"/> | ||
<classpathentry kind="lib" path="libs/mapdb-1.0.6.jar"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/data | ||
/Data Files | ||
/wallet | ||
/ACCOUNTS.txt | ||
/settings.ini | ||
/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>Qora</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.jdt.core.javabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 | ||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | ||
org.eclipse.jdt.core.compiler.compliance=1.7 | ||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate | ||
org.eclipse.jdt.core.compiler.debug.localVariable=generate | ||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.7 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Empty file.
Binary file added
BIN
+39.7 KB
Qora/libs/jetty/jaspi/javax.security.auth.message-1.0.0.v201108011116.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+419 KB
Qora/libs/jetty/jsp/org.apache.taglibs.standard.glassfish-1.2.0.v201112081803.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+151 KB
Qora/libs/jetty/websocket/javax-websocket-client-impl-9.1.1.v20140108.jar
Binary file not shown.
Binary file added
BIN
+35.5 KB
Qora/libs/jetty/websocket/javax-websocket-server-impl-9.1.1.v20140108.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"knownpeers":[ | ||
"146.185.141.232", | ||
"162.243.170.76", | ||
"42.159.153.145", | ||
"88.198.69.99", | ||
"85.21.237.35", | ||
"193.242.149.63", | ||
"113.250.226.131" | ||
], | ||
"minconnections": 10, | ||
"generatorkeycaching": true, | ||
"rpcallowed":[ | ||
"127.0.0.1", | ||
"123.123.123.123" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import qora.assets.Order; | ||
import database.DBSet; | ||
|
||
|
||
public class Orders { | ||
|
||
public static void main(String args[]) | ||
{ | ||
for(Order order: DBSet.getInstance().getOrderMap().getValues()) { | ||
if(order.getHave() == 1) { | ||
System.out.println(order.getHave() + " - " + order.getWant()); | ||
} | ||
} | ||
|
||
for(Order order: DBSet.getInstance().getCompletedOrderMap().getValues()) { | ||
System.out.println(order.getHave() + " - " + order.getWant()); | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import java.util.Scanner; | ||
|
||
import javax.swing.UIManager; | ||
|
||
import api.ApiClient; | ||
import controller.Controller; | ||
|
||
public class Start { | ||
|
||
public static void main(String args[]) | ||
{ | ||
boolean cli = false; | ||
boolean disableRpc = false; | ||
for(String arg: args) | ||
{ | ||
if(arg.equals("-cli")) | ||
{ | ||
cli = true; | ||
} | ||
} | ||
|
||
if(!cli) | ||
{ | ||
try | ||
{ | ||
//STARTING NETWORK/BLOCKCHAIN/RPC | ||
Controller.getInstance().start(disableRpc); | ||
} | ||
catch(Exception e) | ||
{ | ||
e.printStackTrace(); | ||
|
||
//USE SYSTEM STYLE | ||
try { | ||
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); | ||
} catch (Exception e2) { | ||
e2.printStackTrace(); | ||
} | ||
|
||
//ERROR STARTING | ||
System.out.println("STARTUP ERROR: " + e.getMessage()); | ||
|
||
//FORCE SHUTDOWN | ||
System.exit(0); | ||
} | ||
} | ||
else | ||
{ | ||
Scanner scanner = new Scanner(System.in); | ||
ApiClient client = new ApiClient(); | ||
|
||
while(true) | ||
{ | ||
|
||
System.out.print("[COMMAND] "); | ||
String command = scanner.nextLine(); | ||
|
||
if(command.equals("quit")) | ||
{ | ||
scanner.close(); | ||
System.exit(0); | ||
} | ||
|
||
String result = client.executeCommand(command); | ||
System.out.println("[RESULT] " + result); | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.