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.
79f7f68b0c
Previously BlockMinter would attempt to mint if there were at least 'minBlockchainPeers' connected peers and none of them had an up-to-date block and we did. This was maybe useful for minting block 2 but possibly causes minting chain islands where a badly connected node mints by itself, even though connected to not up-to-date peers. Now BlockMinter requires 'minBlockchainPeers' up-to-date peers, not simply just connected. This should let synchronization bring the node up-to-date but does require the node to have better peers. Currently, the default for minBlockchainPeers is 10. So a node requires 10 up-to-date peers before it will consider minting. It might be possible to reduce this in the future to lessen network load. |
||
---|---|---|
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