intkey Family CLIs

intkey

1
2
3
4
5
6
7
8
usage: intkey [-h] [-v] {generate,load,populate,create_batch,workload} ...

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         enable more verbose output

subcommands:
  {generate,load,populate,create_batch,workload}

intkey generate

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
usage: intkey generate [-h] [-v] [-o OUTPUT] [-c COUNT] [-B BATCH_MAX_SIZE]
                       [-P POOL_SIZE]

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         enable more verbose output
  -o OUTPUT, --output OUTPUT
                        location of output file
  -c COUNT, --count COUNT
                        number of batches
  -B BATCH_MAX_SIZE, --batch-max-size BATCH_MAX_SIZE
                        max size of the batch
  -P POOL_SIZE, --pool-size POOL_SIZE
                        size of the word pool

    deprecated:
     use create_batch, which combines
     the populate and generate commands.
    

intkey load

1
2
3
4
5
6
7
8
usage: intkey load [-h] [-v] [-f FILENAME] [-U URL]

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         enable more verbose output
  -f FILENAME, --filename FILENAME
                        location of input file
  -U URL, --url URL     url for the REST API

intkey populate

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
usage: intkey populate [-h] [-v] [-o OUTPUT] [-P POOL_SIZE]

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         enable more verbose output
  -o OUTPUT, --output OUTPUT
                        location of output file
  -P POOL_SIZE, --pool-size POOL_SIZE
                        size of the word pool

    deprecated:
     use create_batch, which combines
     the populate and generate commands.
    

intkey create_batch

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
usage: intkey create_batch [-h] [-v] [-o] [-c] [-B] [-P]

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         enable more verbose output
  -o , --output         location of output file
  -c , --count          number of batches
  -B , --batch-max-size 
                        max size of the batch
  -P , --pool-size      size of the word pool

    details:
     create sample batch of intkey transactions.
     populates state with intkey word/value pairs
     then generates inc and dec transactions.
    

intkey workload

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
usage: intkey workload [-h] [-v] [--rate RATE] [-d DISPLAY_FREQUENCY]
                       [-u URLS]

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         enable more verbose output
  --rate RATE           Batch rate in batches per second. Should be greater
                        then 0.
  -d DISPLAY_FREQUENCY, --display-frequency DISPLAY_FREQUENCY
                        time in seconds between display of batches rate
                        updates.
  -u URLS, --urls URLS  comma separated urls of the REST API to connect to.

tp_intkey_python

1
2
3
4
5
6
7
8
usage: tp_intkey_python [-h] [-v] [endpoint]

positional arguments:
  endpoint       Endpoint for the validator connection

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  Increase output sent to stderr