User Tools

Site Tools


config

Config

Config file location is in config/settings.cfg. All parameters are mandatory.

tracker_ip

Tracker's host IP.

tracker_port

Tracker's host port.

download_directory

Directory where downloaded encrypted files are stored.

block_directory

Directory where local block is stored.

keys_directory

Directory where shared RSA keys are stored.

finalized_directory

Directory where downloaded decrypted files are stored.

interval_retry

Interval in seconds at which packets sending happens.

interval_peers_reachable

Interval in seconds at which peer's availability is checked.

max_task_buffer

Maximum size of task buffer in bytes.

max_send_queue

Maximum number of packets in queue before next task is added.

max_send_retry

Maximum number of retries when sending a single packet.

max_peer_unreachable

Maximum number of attempts to contact peer before it's removed.

max_chunk_size

Maximum size of a file chunk.

max_upload_kbytes

Maximum number of sent kBytes per second.

max_download_kbytes

Maximum number of received kBytes per second.

pipe_read

Named pipe used for reading API commands.

pipe_write

Named pipe used for writing API commands.

config.txt · Last modified: 2019/07/14 13:22 by xor