This directory allows to set up a cached version of the most reliable tor-nodes for faster circuit setup. You will have to let this run on a regular basis on a trusted server. Then the app will have to download the files, put them in a directory, and send the path to this directory to the library.
Currently, you have to do the following:
To create the relevant files, you need to do the following:
- Copy the
authority_``{certificate,identity_key,signing_key}
in thetools/
-directory - run
make
in thetools
-directory - include the
directory-cache
directory into the assets of your app - Pass the path to the
directory-cache
in thecache_dir
argument