forked from Qortal/qortal
catbref
17ae7acc6d
Reduce DB storage of AT states
Drop created_when column from ATStates as it never changes and can be fetched from ATs table. This takes about 50s on a fast machine. Correspondingly rebuild height-based index on ATStates. This takes about 3 minutes on a fast machine. Modify AT-related repository methods and callers. Aggressively remove 'old' (> 2 weeks) actual AT state binary data, leaving only the hash in DB (for syncing purposes). Seems to keep up with syncing from another node on localhost.
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
Description
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.
Languages
Java
98%
JavaScript
0.6%
Shell
0.5%
HTML
0.5%
Perl
0.3%