mirror of
https://github.com/Qortal/qortal.git
synced 2025-03-13 11:12:31 +00:00
This deletes redundant copies of data, and also converts complete files to chunks where needed. The idea being that nodes only hold chunks, since they currently are much more likely to serve a chunk to another peer than they are to serve a complete file. It doesn't yet cleanup files that are unassociated with transactions, nor does it delete anything from the _temp folder.
Qortal Data Node
Important
This code is unfinished, and we haven't had the official genesis block for the data chain yet. Therefore it is only possible to use this code if you first create your own test chain. I would highly recommend waiting until the code is in a more complete state before trying to run this.
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: start.sh
Description
The primary qortal core repository, cloned to https://gitea.qortal.link for posterity and future more in-depth utilization.
https://qortal.dev
Languages
Java
98%
JavaScript
0.6%
Shell
0.5%
HTML
0.5%
Perl
0.3%