threefoldtecharchive / rivine

Blockchain technology for creating custom chains.
Apache License 2.0
22 stars 12 forks source link

Allow custom chains to define their own default api / rpc port #540

Closed LeeSmet closed 5 years ago

GlenDC commented 5 years ago

This is already possible by wrapping the logic of daemon.DefaultConfig(), and overwrite whatever daemon flags you want other defaults for. The initial values of this config are used when registered as flags using (*daemon.Config).RegisterAsFlags.