forked from Qortal/qortal
There's still an existing issue where log entries like this appear: Unable to trim old online accounts signatures in repository which is actually caused by: integrity constraint violation: unique constraint or index violation; SYS_PK_10092 table: BLOCKS which seems to be a bug in the version of HSQLDB we use. (Tested using synced-from-scratch DB). It's not clear what the actual problem is at this point. It might be possible to switch to v2.5.1 if our recent HSQLDB-related commits have fixed/worked-around the OOM issues. Move the inner method from BlockChain to Controller. Remove blockchain lock as it's not needed because it's not an HSQLDB "serialization failure" but constraint violation. Trimming old online accounts signatures limited to batches of 1440 rows to reduce CPU and memory load.
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%