Crates.io | aranya-daemon |
lib.rs | aranya-daemon |
version | 0.2.0 |
source | src |
created_at | 2024-10-16 21:47:07.679565 |
updated_at | 2024-11-12 19:33:53.589283 |
description | Daemon process for syncing with Aranya peers and maintaining the DAG |
homepage | |
repository | https://github.com/aranya-project/aranya |
max_upload_size | |
id | 1412384 |
size | 206,261 |
The Aranya Daemon is a long-running executable that is used to maintain the state of Aranya after adding commands to the graph or syncing commands from other peers by interacting directly with the Aranya Core library. See here for details on the Aranya functionality available through the daemon.
The daemon's responsibilities include:
Note: The Aranya Daemon supports a single user. As such, device and user may be used interchangeably throughout the code base.
Create a config file for the daemon before running it. Refer to this documentation on the JSON config file parameters: config.
An example daemon configuration file can be found here.
Build and run the daemon crate:
$ cargo build --bin daemon --release
$ ./target/release/daemon <path to config>