Jordan Hrycaj 9cc6e5a3aa
Aristo resume off line syncing on pre loaded database (#2203)
* Update some docu & messages

* Remove cruft from the ledger modules

* Must not overwrite genesis data on an initialised database

why:
  This will overwrite the global state of the Aristo single state DB.
  Otherwise resuming at the last synced state becomes impossible.

* Provide latest block number from journal

why:
  This relates the global state of the DB directly to the corresponding
  block number.

* Implemented unit test providing DB pre-load and resume
2024-05-22 13:41:14 +00:00

272 B

  • Re-implement getOldestJournalBlockNumber() and getLatestJournalBlockNumber() (from the core_apps module) via the CoreDb base api. Currently this api is bypassed (via the backend() directive). The functionality is directly provided by the Aristo backend.