ソールからビルドすると /catapult-server/_build/bin に以下のツールができます。

  • catapult.tools.address
  • catapult.tools.benchmark
  • catapult.tools.health
  • catapult.tools.nemgen
  • catapult.tools.network
  • catapult.tools.statusgen

それぞれ -h オプションでヘルプが表示されます。

Copyright (c) Jaguar0625, gimre, BloodyRookie, Tech Bureau, Corp.
catapult version: 0.9.2.1 a303d59b [master] (sha3)

  • catapult.tools.address

Address Tool アドレス生成ツール

Address Tool options:

  -h [ --help ]     print help message
このヘルプを表示

  -l [ --loggingConfigurationPath ] arg
                    the path to the logging configuration file
ログ設定ファイルを指定

  -g [ --generate ] arg (=3)
                    number of random keys to generate
生成する鍵の数(デフォルトは3つ)

  -p [ --public ] arg
                    show address associated with public key
公開鍵からアドレスを表示

  -s [ --secret ] arg
                    show address and public key associated with private key
秘密鍵からアドレスを表示

  -n [ --network ] arg (=mijin)
                    network, possible values: mijin (default), mijin-test
ネットワークタイプを指定:mijin , mijin-test(デフォルトはmijin)

  -w [ --useLowEntropySource ]
                    true if a low entropy source should be used for randomness (unsafe)
ランダム値に低エントロピーソースを利用(安全ではない)

  • catapult.tools.benchmark

ベンチマークツール Benchmark Tool

Benchmark Tool options:
  -h [ --help ]     print help message
  -l [ --loggingConfigurationPath ] arg
                    the path to the logging configuration file

  -t [ --num threads ] arg (=0)
                    the number of threads
スレッドの数


  -p [ --num partitions ] arg (=0)
                    the number of partitions
パーティションの数

  -o [ --ops / partition ] arg (=1000)
                    the number of operations per partition
パーティションごとのオペレーション数

  -s [ --data size ] arg (=148)
                    the size of the data to generate
生成するデータサイズ(デフォルトは148)

  • catapult.tools.health

Catapult Block Chain Health Tool ヘルスツール

Catapult Block Chain Health Tool options:
  -h [ --help ]     print help message
  -l [ --loggingConfigurationPath ] arg
                    the path to the logging configuration file
  -r [ --resources ] arg (=..)
                    the path to the resources directory
  --clientPrivateKey arg
                    client private key to use when connecting to the network
ネットワークに接続するときのクライアントの秘密鍵

  • catapult.tools.nemgen

Nemesis Block Generator Tool ネメシスブロックジェネレーター(初期ブロック生成)

Nemesis Block Generator Tool options:
  -h [ --help ]     print help message
  -l [ --loggingConfigurationPath ] arg
                    the path to the logging configuration file
  -r [ --resources ] arg (=..)
                    the path to the resources directory
リソースディレクトリ

  -p [ --nemesisProperties ] arg
                    the path to the nemesis properties file
nemesis設定ファル

  -s [ --summary ] arg
                    the path to summary output file (default: <bindir>/summary.txt)
サマリーファイル出力先

  -n [ --no-summary ]
                    don't generate summary file
サマリーファイルを生成しない

  -t [ --useTemporaryCacheDatabase ]
                    true if a temporary cache database should be created and destroyed
一時的なキャッシュデータベースを利用

  • catapult.tools.network

Catapult Block Chain Network Tool ネットワークツール

Catapult Block Chain Network Tool options:
  -h [ --help ]     print help message
  -l [ --loggingConfigurationPath ] arg
                    the path to the logging configuration file
  -r [ --resources ] arg (=..)
                    the path to the resources directory
  --clientPrivateKey arg
                    client private key to use when connecting to the network

  • catapult.tools.statusgen

Status Generator ステータスジェネレーター

Status Generator options:
  -h [ --help ]     print help message
  -l [ --loggingConfigurationPath ] arg
                    the path to the logging configuration file

Comments