Fix #262 distance oracle pool index
-
Fixed #262 (closed): Switched to continuous indexing for naming distance evaluation files to prevent old files from being picked up by the inherent, avoiding unexpected behavior. -
Added crate-level documentation to provide an overview of the distance oracle's purpose and usage. -
Added a landing page for documentation duniter/index.html
. -
Added a prefix check to prevent mismatches between the oracle and runtime versions, avoiding the Smith being penalized for a negligence error. -
Added log for distance-oracle started from the main binary. -
Refactored run
andrun_and_save
oracle main functions:- Split into three thematic functions for better modularity:
- Checks if there is work to do and ensures files can be saved successfully.
- Handles the distance evaluation logic.
- Saves the computed distance to a file and cleans up outdated files.
- Split into three thematic functions for better modularity:
Edited by Benjamin Gallois
Merge request reports
Activity
Filter activity
changed milestone to %runtime-900
added RN-runtime label
assigned to @bgallois
added 2 commits
mentioned in merge request !291 (merged)
requested review from @HugoTrentesaux
added 9 commits
-
e64bfca8...3ef713ee - 3 commits from branch
master
- ac88efdc - fix #262 (closed)
- 259a0bb5 - fix missing log arg
- 23558c1e - refactor oracle
- a5475c1d - update crate docs
- 52d465b6 - fix after rebase
- 6551494b - change file naming to first period block
Toggle commit list-
e64bfca8...3ef713ee - 3 commits from branch
added 1 commit
- 4c0ee21f - TMP change file naming to first period block
Please register or sign in to reply