Farming is the term used to describe the process of renting out hard drive space to the Storj network. This process should not be confused with traditional mining where revenue streams are relatively constant. This is not the case when renting out hard drive space. Users allocate a portion of their available hard drive space and specify a path on their drive to store the network data.
The available space is used to store encrypted shards coming from the network. This means that at no point does the farmer hold the entire customer's file. Furthermore since the file and associated shards are encrypted, it is very unlikely that the farmer could read it anyway.
If someone attempts to access and alter the files that they are storing, the shard will fail the next challenge issued by the owner of the data. This will result in the malicious node being dropped, and the network will select another location to store the shard. And of course, the network doesn’t pay cheating nodes.
Storj Share, the program used to rent out drive space, will allow you to specify how much storage space you want to rent out to the network. For more information on setting up Storj Share please consult the documentation here.
In the case customers upload files to Storj and your node is online and selected as a recipient, you will start getting file chunks hosted and be rewarded for them.
There are a number of variables that influence the number of shards you will receive on your allocated storage;
Size of the shared storage.
Upload and download bandwidth.
Reliability (reputation) and availability (uptime) of your Storj Share node.
Demand for storage
These variables are directly linked to the magnitude of your final reward.