mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-29 22:21:21 +00:00
Merge pull request #1719 from Slamper/develop
Escape paths in config template
This commit is contained in:
commit
eb4a8e0e7a
@ -81,7 +81,7 @@ fast_sync = {{ .BaseConfig.FastSync }}
|
|||||||
db_backend = "{{ .BaseConfig.DBBackend }}"
|
db_backend = "{{ .BaseConfig.DBBackend }}"
|
||||||
|
|
||||||
# Database directory
|
# Database directory
|
||||||
db_path = "{{ .BaseConfig.DBPath }}"
|
db_path = "{{ js .BaseConfig.DBPath }}"
|
||||||
|
|
||||||
# Output level for logging, including package level options
|
# Output level for logging, including package level options
|
||||||
log_level = "{{ .BaseConfig.LogLevel }}"
|
log_level = "{{ .BaseConfig.LogLevel }}"
|
||||||
@ -89,13 +89,13 @@ log_level = "{{ .BaseConfig.LogLevel }}"
|
|||||||
##### additional base config options #####
|
##### additional base config options #####
|
||||||
|
|
||||||
# Path to the JSON file containing the initial validator set and other meta data
|
# Path to the JSON file containing the initial validator set and other meta data
|
||||||
genesis_file = "{{ .BaseConfig.Genesis }}"
|
genesis_file = "{{ js .BaseConfig.Genesis }}"
|
||||||
|
|
||||||
# Path to the JSON file containing the private key to use as a validator in the consensus protocol
|
# Path to the JSON file containing the private key to use as a validator in the consensus protocol
|
||||||
priv_validator_file = "{{ .BaseConfig.PrivValidator }}"
|
priv_validator_file = "{{ js .BaseConfig.PrivValidator }}"
|
||||||
|
|
||||||
# Path to the JSON file containing the private key to use for node authentication in the p2p protocol
|
# Path to the JSON file containing the private key to use for node authentication in the p2p protocol
|
||||||
node_key_file = "{{ .BaseConfig.NodeKey}}"
|
node_key_file = "{{ js .BaseConfig.NodeKey}}"
|
||||||
|
|
||||||
# Mechanism to connect to the ABCI application: socket | grpc
|
# Mechanism to connect to the ABCI application: socket | grpc
|
||||||
abci = "{{ .BaseConfig.ABCI }}"
|
abci = "{{ .BaseConfig.ABCI }}"
|
||||||
@ -136,7 +136,7 @@ seeds = "{{ .P2P.Seeds }}"
|
|||||||
persistent_peers = "{{ .P2P.PersistentPeers }}"
|
persistent_peers = "{{ .P2P.PersistentPeers }}"
|
||||||
|
|
||||||
# Path to address book
|
# Path to address book
|
||||||
addr_book_file = "{{ .P2P.AddrBook }}"
|
addr_book_file = "{{ js .P2P.AddrBook }}"
|
||||||
|
|
||||||
# Set true for strict address routability rules
|
# Set true for strict address routability rules
|
||||||
addr_book_strict = {{ .P2P.AddrBookStrict }}
|
addr_book_strict = {{ .P2P.AddrBookStrict }}
|
||||||
@ -174,7 +174,7 @@ private_peer_ids = "{{ .P2P.PrivatePeerIDs }}"
|
|||||||
recheck = {{ .Mempool.Recheck }}
|
recheck = {{ .Mempool.Recheck }}
|
||||||
recheck_empty = {{ .Mempool.RecheckEmpty }}
|
recheck_empty = {{ .Mempool.RecheckEmpty }}
|
||||||
broadcast = {{ .Mempool.Broadcast }}
|
broadcast = {{ .Mempool.Broadcast }}
|
||||||
wal_dir = "{{ .Mempool.WalPath }}"
|
wal_dir = "{{ js .Mempool.WalPath }}"
|
||||||
|
|
||||||
# size of the mempool
|
# size of the mempool
|
||||||
size = {{ .Mempool.Size }}
|
size = {{ .Mempool.Size }}
|
||||||
@ -185,7 +185,7 @@ cache_size = {{ .Mempool.CacheSize }}
|
|||||||
##### consensus configuration options #####
|
##### consensus configuration options #####
|
||||||
[consensus]
|
[consensus]
|
||||||
|
|
||||||
wal_file = "{{ .Consensus.WalPath }}"
|
wal_file = "{{ js .Consensus.WalPath }}"
|
||||||
|
|
||||||
# All timeouts are in milliseconds
|
# All timeouts are in milliseconds
|
||||||
timeout_propose = {{ .Consensus.TimeoutPropose }}
|
timeout_propose = {{ .Consensus.TimeoutPropose }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user