Files
zeekayandHanzo Dev 15d4ed2eb5 A validator syncs the whole primary network
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]>
2026-09-03 13:46:48 -07:00

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}}"
}