Files
2025-07-31 21:28:14 +00:00

31 lines
861 B
Cheetah

{
"http-host": "{{.HTTPHost}}",
"api-admin-enabled": {{.APIAdminEnabled}},
"index-enabled": {{.IndexEnabled}},
"proposervm-use-current-height-bool": {{.ProposerVMUseCurrentHeight}},
"network-id": "{{if .NetworkID}}{{.NetworkID}}{{else}}testnet{{end}}",
"partial-sync-primary-network": "{{ .PartialSync }}",
{{- if .BootstrapIDs }}
"bootstrap-ids": "{{ .BootstrapIDs }}",
{{- end }}
{{- if .BootstrapIPs }}
"bootstrap-ips": "{{ .BootstrapIPs }}",
{{- end }}
{{- if .GenesisPath }}
"genesis-file": "{{ .GenesisPath }}",
{{- end }}
{{- if .UpgradePath }}
"upgrade-file": "{{ .UpgradePath }}",
{{- end }}
{{- if .PublicIP }}
"public-ip": "{{.PublicIP}}",
{{- else }}
"public-ip-resolution-service": "opendns",
{{- end }}
{{- if .TrackSubnets }}
"track-subnets": "{{ .TrackSubnets }}",
{{- end }}
"db-dir": "{{.DBDir}}",
"log-dir": "{{.LogDir}}"
}