-
Notifications
You must be signed in to change notification settings - Fork 9
Shoestring/make node dir #1495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dusanjp-and-pasomi
wants to merge
14
commits into
symbol:dev
Choose a base branch
from
dusanjp-and-pasomi:shoestring/make_node_dir
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Shoestring/make node dir #1495
dusanjp-and-pasomi
wants to merge
14
commits into
symbol:dev
from
dusanjp-and-pasomi:shoestring/make_node_dir
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setup時に nodeディレクトリを自動生成、nodeディレクトリに node本体を格納します。また、--directory に任意の ディレクトリ名を記述すると、任意の ディレクトリを作成し、任意の ディレクトリに node本体を格納します。 During setup, the node directory is automatically generated and the node body is stored in the node directory. Also, if you specify a directory name in --directory, the directory will be created and the node body will be stored in the directory.
wizardでの setup実行時に、nodeディレクトリを指定して、nodeディレクトリに node本体を格納する様に変更。 又、node証明書の更新時に、nodekeyを保持する様に変更。 When running setup with the wizard, you now specify a node directory and store the node itself in the node directory. Also, when updating the node certificate, the nodekey is now retained.
wizardでの setup時に、metadataを設定した場合でも、"_info": "replace the body of this object with custom fields and objects to personalize your node"が metadataに設定されるが、 これを、metadataが設定された場合に、"_info":"This is nodeMetaData"に変更する。 Even if you set metadata during setup in the wizard, "_info": "replace the body of this object with custom fields and objects to personalize your node" will be set in the metadata, but if metadata is set, change this to "_info": "This is nodeMetaData".
commandの setup記述で、それぞれの引数に、デフォルト値を設定した。 これにより、以下に挙げる引数は、条件に合致する場合は省略可能とした。 また、引数にて該当する ファイルの場所と名前を明示的に記述すると、記述された引数は適用される。 `--ca-key-path ca.key.pem`の場合は、`--ca-key-path`引数を省略可能。 `--config shoestring/shoestring.ini`の場合は、`--config`引数を省略可能。 `--overrides shoestring/overrides.ini`の場合は、`--overrides`引数を省略可能。 `--directory node`の場合は、`--directory`引数を省略可能。 ※1 `--directory`引数で、存在しない ディレクトリを指定した場合は、引数で指定した場所と名前の ディレクトリが新規作成され、そこに node本体が格納される。 `--package mainnet`の場合は、`--package`引数を省略可能。 `--rest-overrides shoestring/rest_overrides.json`の場合は、`--rest-overrides`引数を省略可能。 ※2 `--rest-overrides`引数を省略した場合で、`shoestring/rest_overrides.json`が存在する場合は、`--rest-overrides shoestring/rest_overrides.json`が引数となり、適用される。 ※3 `--rest-overrides`引数を省略した場合で、`shoestring/rest_overrides.json`が存在しない場合は、`--rest_overrides`引数は適用されない。 In the command setup description, a default value is set for each argument. As a result, the arguments listed below can be omitted if the conditions are met. Also, if the location and name of the corresponding file are explicitly stated in the argument, the stated argument will be applied. In the case of `--ca-key-path ca.key.pem`, the `--ca-key-path` argument can be omitted. If you use `--config shoestring/shoestring.ini`, you can omit the `--config` argument. If you use `--overrides shoestring/overrides.ini`, you can omit the `--overrides` argument. If you use `--directory node`, you can omit the `--directory` argument. *1 If you specify a directory that does not exist with the `--directory` argument, a new directory with the location and name specified in the argument will be created, and the node body will be stored there. If you use `--package mainnet`, you can omit the `--package` argument. If you use `--rest-overrides shoestring/rest_overrides.json`, you can omit the `--rest-overrides` argument. *2 If the `--rest-overrides` argument is omitted and `shoestring/rest_overrides.json` exists, `--rest-overrides shoestring/rest_overrides.json` will be the argument and will be applied. *3 If the `--rest-overrides` argument is omitted and `shoestring/rest_overrides.json` does not exist, the `--rest_overrides` argument will not be applied.
以下の 9つの命令fileに デフォルト値を設定しました。 Default values have been set for the following nine command files. announce_transaction.py health.py import_bootstrap.py min_cosignatures_count.py pemtool.py renew_certificates.py renew_voting_keys.py reset_data.py signer.py
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
2025_07_16:13:59_JST
2025_07_20
setup_file_generator.pyの説明
Explanation of setup_file_generator.py