Skip to content

Networking, repository/DB improvements and bugfixes

Compare
Choose a tag to compare
@catbref catbref released this 11 Nov 10:14
· 2930 commits to master since this release

NOTE
If you update to this version with an existing DB, it will take quite a while to 'reshape' your DB depending on how big it is. This can vary from a few minutes to several hours.

Your DB will only reduce in size if you do one of:

  • use API call DELETE /admin/repository
  • use org.qortal.RepositoryMaintenance main entry point
  • perform CHECKPOINT DEFRAG or SHUTDOWN COMPACT via HSQLDB's "sqltool"

If you have no open/active trades, you might find it quicker & easier to wipe your DB and use the bootstrap DB.

If you do have open/active trades, then on first startup of this version, your core will export those records into a file named TradeBotStates.script. Once this file is created, you can kill your current core process, replace your DB with the bootstrap and use the API call POST /admin/repository/data to re-import your exported data. Note: the API call will look for a file named import.script unless you have set apiKey in settings.json.

With existing DBs, the pathway to smaller DB is:

  1. start up with new version to perform DB reshape
  2. allow AT-states/online accounts trimming to finish (can take several hours)
  3. perform DB defrag as per above

Changes in this release:

  • DB reshape to help HSQLDB reuse space to slow DB size growth
  • More aggressive caching to reduce CPU load, especially when responding to peers
  • Ability to export node-local/sensitive repository data and corresponding import
  • Support for X-API-KEY header (must match value in settings.json) when performing sensitive API calls
    For more detail, see commit log.

qortal.jar

If built using OpenJDK 11:
MD5: 6c248c400ad07afb0b9dae9de5a4a52c
SHA1: 71f81249c195b9a870646a8f1d4f5797820afe93
SHA256: 1ee79fcffa2eb0ab49d81338f286af8b8f5c8c3218f76dbac0b6983f9037aa69

Qortal-1.3.7.exe

MD5: 003633ba43f90db6ca946db02108d9c0
SHA1: 83e83064a64d556502276ff2ee1344e0a7609ff3
SHA256: d27c80963b6143e5eabe4c8c2afbcce23140cc54683c96cb6f538833254afa82

VirusTotal report for Qortal-1.3.7.exe

qortal-1.3.7.zip

Contains bare minimum of:

  • built qortal.jar
  • log4j2.properties from git repo
  • start.sh from git repo
  • stop.sh from git repo
  • printf "{\n}\n" > settings.json

All timestamps set to same date-time as commit, obtained via git show --no-patch --format=%cI
Packed with 7z a -r -tzip qortal-1.3.7.zip qortal/

MD5: 2df8fc678a3562ac86a117494e2c4f4d
SHA1: ccd10d77555b197642ea40e2bfd1f41fcbd9008c
SHA256: d8c071ab0419fee8da13f0c89f9f945d29d646c7f5ba0e92146263fe2e00ee36

db-v1.3.7-171850.zip

This is a 'bootstrap' database containing blockchain up to block height 171850, for Qortal core version v1.3.7+ ONLY.

This is to avoid the time/hassle of synchronizing your node from scratch.

WARNING: If you have any active, or on-going, trades then these will be lost if you replace your DB!
However, see text above about how to export your trade-bot entries/minting keys first.

It has no minting accounts added, so if you have a minting account you need to re-add this via UI or API.
It has an initial list of various community-run peers to help connect your node to the network.

The ZIP file contains:

  • db/blockchain.data (4.9GB)
  • db/blockchain.properties (107B)
  • db/blockchain.script (33K)

Delete/rename/move your old db folder first!

For Windows users, unpack into %LOCALAPPDATA%\Qortal\ folder.
Consider using 7zip if Windows built-in ZIP doesn't work.

For other users, unpack while in the same folder as qortal.jar.

In both cases, you should end up with a db folder with the actual files inside.

MD5: a2531d4604d7d01378ab24c261bce054
SHA1: 794cd39c61fdd67abf7cb34e1a873cf50143b0d0
SHA256: 6ff3fb68cdec15311eb6d9f38c5490d2100b37030997af5c7ef45cc5f3a15830

Translations-fixed qortal.jar

Special JAR rebuilt with fixed translations (Russian, German, Simplified Chinese) based on commit 62ae49b.
To use this, shutdown your core then replace your existing qortal.jar with the above download.

If built using OpenJDK 11:
MD5: 6d96c5169396bcf59c54612057095b5b
SHA1: ce7ee27bce09a973501ce8188c19eafcfd0a558b
SHA256: d7b501ae5f25180ddfec9a102d8bf4dc6bd04dea4707fe43f129357afc3ed149