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.
Go to file
catbref 0cc9cd728e Fix for chain-stall relating to freshly cancelled reward-shares.
In some cases, a freshly cancelled reward-share could still have
an associated signed timestamp. Block.mint() failed to spot this
and used an incorrect "online account" index when building the
to-be-minted block.

Block.mint() now checks that AccountRepository.getRewardShareIndex()
doesn't return null, i.e. indicating that the associated reward-share
for that "online account" no longer exists.

In turn, AccountRepository.getRewardShareIndex() didn't fulfill its
contract of returning null when the passed public key wasn't present
in the repository. So this method has been corrected also.

AccountRepository.rewardShareExists(byte[] publicKey) : boolean added.

BlockMinter had another bug where it didn't check the return from
Block.remint() for null properly. This has been fixed.

BlockMinter now has additional logging, with cool-off to prevent log
spam, for situations where minting could not happen.

Unit test (DisagreementTests) added to cover cancelled reward-share
case above. BlockMinter testing support slightly modified to help.
2020-05-05 11:09:46 +01:00
lib/org Use HSQLDB v2.5.0 but with fix for INSERT...ON DUPLICATE KEY UPDATE bug 2020-03-18 17:58:16 +00:00
src Fix for chain-stall relating to freshly cancelled reward-shares. 2020-05-05 11:09:46 +01:00
tools Add script to build release ZIP 2020-03-30 17:39:36 +01:00
.gitignore Updated .gitignore 2019-11-26 10:20:06 +00:00
AutoUpdates.md Added AutoUpdates.md notes about the auto-update feature 2020-02-10 13:39:23 +00:00
DATABASE.md Updated build instructions in README.md and moved database info to DATABASE.md 2020-01-22 10:54:21 +00:00
log4j2.properties Massive refactor to change 'qora' references to 'qortal'. 2020-02-04 12:11:37 +00:00
pom.xml Bump to v1.0.7 2020-04-24 09:44:35 +01:00
README.md Added example shell script to run Qortal and updated README.md 2020-02-04 12:27:08 +00:00
run.sh Java Checks 2020-03-14 10:52:54 -04:00
stop.sh Add PID tracking to stop.sh (thanks IceBurst) 2020-03-30 17:39:36 +01:00

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