Updated validator config template
This commit is contained in:
@@ -11,15 +11,41 @@ pub(crate) fn config_template() -> &'static str {
|
||||
|
||||
[validator]
|
||||
# Human readable ID of this particular validator.
|
||||
id = "{{ provider.id }}"
|
||||
|
||||
id = "{{ validator.id }}"
|
||||
|
||||
##### advanced configuration options #####
|
||||
|
||||
# nym_home_directory specifies absolute path to the home nym validators directory.
|
||||
# It is expected to use default value and hence .toml file should not redefine this field.
|
||||
nym_root_directory = "{{ validator.nym_root_directory }}"
|
||||
|
||||
|
||||
##### mix mining config options #####
|
||||
|
||||
[mix_mining]
|
||||
|
||||
# Directory server from which the validator will obtain initial topology.
|
||||
directory_server = "{{ mix_mining.directory_server }}"
|
||||
|
||||
# The uniform delay every which validator are running their mix-mining procedure.
|
||||
# The provided value is interpreted as milliseconds.
|
||||
run_delay = {{ mix_mining.run_delay }}
|
||||
|
||||
# During the mix-mining process, test packets are sent through various network
|
||||
# paths. This timeout determines waiting period until it is decided that the packet
|
||||
# did not reach its destination.
|
||||
# The provided value is interpreted as milliseconds.
|
||||
resolution_timeout = {{ mix_mining.resolution_timeout }}
|
||||
|
||||
# How many packets should be sent through each path during the mix-mining procedure.
|
||||
number_of_test_packets = {{ mix_mining.number_of_test_packets }}
|
||||
|
||||
|
||||
##### tendermint config options #####
|
||||
|
||||
[tendermint]
|
||||
|
||||
|
||||
|
||||
##### logging configuration options #####
|
||||
|
||||
@@ -34,6 +60,11 @@ nym_root_directory = "{{ validator.nym_root_directory }}"
|
||||
|
||||
[debug]
|
||||
|
||||
# Directory server to which the server will be reporting their presence data.
|
||||
presence_directory_server = "{{ debug.presence_directory_server }}"
|
||||
|
||||
# Delay between each subsequent presence data being sent.
|
||||
presence_sending_delay = {{ debug.presence_sending_delay }}
|
||||
|
||||
"#
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user