cesiumDownloads.php
Distance rule evaluation
The distance rule is computationally too heavy to be handled by the runtime. Therefore it is computed offchain using the distance oracle.
Distance evaluation is operated on a voluntary basis by individual smiths. Since evaluators can lie or make errors, the result considered for applying the distance rule is the median of results published by the different evaluators.
Running distance evaluation
Any smith member authoring blocks can run a distance evaluation oracle. It is better to have a machine more powerful than the reference machine.
The simplest way is to run the oracle on the same machine as Duniter.
Build the oracle:
cargo build --release -p distance-oracle
It will be available at ./target/release/distance-oracle
. Move it to somewhere appropriate.
Add this line to your cron with the command crontab -e
: (add option -u <user>
to edit another user's cron)