Get configuration files 構成ファイルを取得する(編集中)

徒然草2.0

原文:https://docs.cardano.org/projects/cardano-node/en/latest/stake-pool-operations/getConfigFiles_AND_Connect.html

Starting the node and connecting it to the network requires 3 configuration files:
ノードを起動してネットワークに接続するには、3つの構成ファイルが必要です。

topology.json
genesis.json
config.json

You can download the configuration files from:
構成ファイルは次の場所からダウンロードできます。
https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/index.html

From the CLI you can use
CLIから使用できます

For Cardano testnet
カルダノテストネット用

For Cardano testnet(テストネット用)

wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/testnet-config.json
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/testnet-byron-genesis.json
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/testnet-shelley-genesis.json
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/testnet-topology.json

For Mainnet:(メインネット用)

wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/mainnet-config.json
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/mainnet-byron-genesis.json
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/mainnet-shelley-genesis.json
wget https://hydra.iohk.io/job/Cardano/cardano-node/cardano-deployment/latest-finished/download/1/mainnet-topology.json

Starting the the node uses the command cardano-node run and a set of options.
ノードを起動するには、cardano-node runコマンドと一連のオプションを使用します。
Get the complete list of available options with cardano-node run –help
cardano-node run –helpで利用可能なオプションの完全なリストを取得します

–topology FILEPATH The path to a file describing the topology.
–database-path FILEPATH Directory where the state is stored.
–socket-path FILEPATH Path to a cardano-node socket
–host-addr HOST-NAME Optionally limit node to one ipv6 or ipv4 address
–port PORT The port number
–config NODE-CONFIGURATION Configuration file for the cardano-node
–validate-db Validate all on-disk database files
–shutdown-ipc FD Shut down the process when this inherited FD reaches EOF
–shutdown-on-slot-synced SLOT Shut down the process after ChainDB is synced up to the
specified slot
-h,–help Show this help text
To start a passive node:

cardano-node run \
–topology path/to/mainnet-topology.json \
–database-path path/to/db \
–socket-path path/to/db/node.socket \
–host-addr x.x.x.x \
–port 3001 \
–config path/to/mainnet-config.json

コメント

タイトルとURLをコピーしました