mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
The CLI set --partial-sync-primary-network on every validator it brought up, and defaulted the flag to true. luxd no longer has the mode: the primary network's chains are one validator set, and a node that syncs only the P-Chain casts no vote on the rest. The flag, the template line that emitted it, and the remote-config round trip that read it back are gone. Co-authored-by: Hanzo Dev <[email protected]>
34 lines
897 B
Cheetah
34 lines
897 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}}",
|
|
{{- if .BootstrapNodes }}
|
|
"bootstrap-nodes": "{{ .BootstrapNodes }}",
|
|
{{- else }}
|
|
{{- if .BootstrapIDs }}
|
|
"bootstrap-ids": "{{ .BootstrapIDs }}",
|
|
{{- end }}
|
|
{{- if .BootstrapIPs }}
|
|
"bootstrap-ips": "{{ .BootstrapIPs }}",
|
|
{{- end }}
|
|
{{- 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 .TrackChains }}
|
|
"track-chains": "{{ .TrackChains }}",
|
|
{{- end }}
|
|
"db-dir": "{{.DBDir}}",
|
|
"log-dir": "{{.LogDir}}"
|
|
}
|