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.
3094ec3c26
Collated all development changes to DB so now we build initial DB structure directly with final layout. i.e. no ALTER TABLE, etc. Reordered HSQLDB 'CREATE TYPE' statements into alphabetical order for easier maintainability. Replaced TIMESTAMP WITH TIME ZONE with simple BIGINT ("EpochMillis"). Timezone conversion is now a presentation task, rather than having pretty values in database. Removed associated conversion methods, like toOffsetDateTime(), fromOffsetDateTime() and getZonedTimestampMilli(). Renamed some DB columns to make them more obviously timestamps, like: Names.registered is now Names.registered_when. Removed IFNULL(balance, 0) from HSQLDBAccountRepository as balances are never null, or actually never 0 either. Added more tests to increase API call, and hence repository, coverage. Removed unused "milestone block" from Transactions. |
||
---|---|---|
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