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.
026c904ce4
Previously Controller would loop through the transaction signatures, discard those already known, and then requesting the full transaction via peer.getResponse(). This would tie up a networking thread for some time and also potentially cause repository deadlocks, although the latter could have been fixed another way. However, the code after peer.getResponse() was identical to the code processing an incoming TRANSACTION message. Now instead of requesting and waiting for then processing each transaction, Controller simply sends the peer a GET_TRANSACTION for each unknown transaction signature. As the peer responds with corresponding TRANSACTION messages, these can be processed individually with shorter period of locking. |
||
---|---|---|
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