Skip to main content

Client for storing and auditing data. http://storj.io

Project description

BuildLink CoverageLink LicenseLink IssuesLink

Setup

Windows

Download latest windows release from github.

Extarct the zip file to the folder where you wish to have it installed.

$ dataserv-client.exe version

The dataserv-client will automaticlly update when new releases are made.

Ubuntu Linux

Install client

$ sudo apt-get install python3-pip
$ sudo pip3 install dataserv-client
$ dataserv-client version

Update client

$ sudo pip3 install dataserv-client --upgrade
$ dataserv-client version

OSX

Install client

$ brew install python3
$ rehash
$ pip3 install dataserv-client
$ dataserv-client version

Update client

$ pip3 install dataserv-client --upgrade
$ dataserv-client version

Farmer quickstart guide

Configure your farmer node

Optionally set a cold storage payout address. You can set a counterparty wallet address here. All configuration mest be done before starting the node.

dataserv-client config --set_payout_address=<BITCOIN_ADDRESS>

Start your farmer node

Optionally specifiy the path to store data path and available space.

dataserv-client --store_path=<PATH> --max_size=<SIZE_IN_BYTES> farm

Optional max_size syntax

--max_size=1.0K  # 1024^1 bytes
--max_size=1.0KB # 1000^1 bytes
--max_size=1.0M  # 1024^2 bytes
--max_size=1.0MB # 1000^2 bytes
--max_size=1.0G  # 1024^3 bytes
--max_size=1.0GB # 1000^3 bytes
--max_size=1.0T  # 1024^4 bytes
--max_size=1.0TB # 1000^4 bytes
--max_size=1.0P  # 1024^5 bytes
--max_size=1.0PB # 1000^5 bytes

Command line interface usage

Argument ordering

$ dataserv-client <program arguments> COMMAND <command arguments>

Argument ordering example

$ dataserv-client --debug build --rebuild

Show program help, optional arguments and commands

$ dataserv-client --help
usage: dataserv-client [-h] [--url URL] [--max_size MAX_SIZE]
                       [--store_path STORE_PATH] [--config_path CONFIG_PATH]
                       [--debug] [--use_folder_tree]
                       <command> ...

Dataserve client command-line interface.

optional arguments:
  -h, --help            show this help message and exit
  --url URL             Url of the farmer (default:
                        http://status.driveshare.org).
  --max_size MAX_SIZE   Maximum data size in bytes. (default: 1073741824).
  --store_path STORE_PATH
                        Storage path. (default: /home/user/.storj/store).
  --config_path CONFIG_PATH
                        Config path. (default: /home/user/.storj/config.json).
  --debug               Show debug information.
  --use_folder_tree     Use folder tree to store files (always on for fat32
                        store_path).

commands:
  <command>
    version             Show version number.
    register            Register your node on the network.
    ping                Ping master node.
    poll                Let the network know your are online.
    build               Fill the farmer with data up to their max.
    config              Edit and display config.
    farm                Start farmer.

Show command help and optional arguments

$ dataserv-client config --help
usage: dataserv-client config [-h] [--set_wallet SET_WALLET]
                              [--set_payout_address SET_PAYOUT_ADDRESS]

optional arguments:
  -h, --help            show this help message and exit
  --set_wallet SET_WALLET
                        Set node wallet to given hwif.
  --set_payout_address SET_PAYOUT_ADDRESS
                        Root address of wallet used by default.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dataserv-client-2.1.2.tar.gz (18.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page