forked from Qortal/qortal
Qortal Core - Main Code Repository
Decentralized Data Network - Blockchain - TRUE Cross-Chain Trading - Application and Website Hosting - Much More - Qortal is the future internet infrastructure for the global digital world.
0c32afa07f
Old Qora v1 message types removed. Message type values changed. Network handshaking reworked to fix multiple-connections issue. Instead of using some random peerID, we now use proper keypairs and a challenge-response handshake to prevent doppelgangers/ID-theft. This results in simpler handshaking code as we don't have to perform some arcane doppelganger resolution. Handshaking still uses proof-of-work for challenge-response, but switched to newer MemoryPoW. API call GET /peers no longer has 'buildTimestamp' field, but does now have 'nodeId' field. Network no longer has a whole raft of getXXXpeers() due to simplified handshaking. Quite a few method calls changed to simply Network.getHandshakedPeers(), which is also faster. |
||
---|---|---|
lib/org | ||
src | ||
tools | ||
.gitignore | ||
AutoUpdates.md | ||
DATABASE.md | ||
log4j2.properties | ||
pom.xml | ||
README.md | ||
run.sh | ||
stop.sh |
Qortal Project - Official Repo
Build / run
- Requires Java 11. OpenJDK 11 recommended over Java SE.
- Install Maven
- Use Maven to fetch dependencies and build:
mvn clean package
- Built JAR should be something like
target/qortal-1.0.jar
- Create basic settings.json file:
echo '{}' > settings.json
- Run JAR in same working directory as settings.json:
java -jar target/qortal-1.0.jar
- Wrap in shell script, add JVM flags, redirection, backgrounding, etc. as necessary.
- Or use supplied example shell script: run.sh