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. If this is too low, packets get dropped when network latency is high. If it's too high, there is obvious delay in operations.

interval_peers_reachable

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

mining_target

Number of leading zeroes when a new block in blockchain is created.

max_task_buffer

Maximum size of task buffer in bytes.

max_send_queue

Maximum number of packets in queue before next task is added. This must not be higher than 0 if TCP tunneling is used.

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.

tcp_allowed_ports

Array of accessible TCP ports. Remote peers will be able to access these.

tcp_ports_description

Description of ports, eg. “8055 - web, 22002 - ssh”

config.txt · Last modified: 2020/01/15 10:52 by xor