You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary or problem description
Switching between networks with neo-cli has always been a hassle because
it automatically reads from config.json
most plugins equally have a config.json in which a Network field is defined that must match the global config.json
This means that every time you wish to switch you must update the global config.json and all plugin config files, or duplicate the whole setup in another directory. Compare this to neo-go where you can specify a config file and the rest just works.
Do you have any solution you want to propose?
I want to propose 2 command line options
--config-file allows you to override which file is loaded as the global config
--ignore-plugin-network allows you to ignore the Network field check e.g.
Summary or problem description
Switching between networks with
neo-cli
has always been a hassle becauseconfig.json
config.json
in which aNetwork
field is defined that must match the globalconfig.json
This means that every time you wish to switch you must update the global
config.json
and all plugin config files, or duplicate the whole setup in another directory. Compare this toneo-go
where you can specify a config file and the rest just works.Do you have any solution you want to propose?
I want to propose 2 command line options
--config-file
allows you to override which file is loaded as the global config--ignore-plugin-network
allows you to ignore theNetwork
field check e.g.neo/src/Plugins/ApplicationLogs/LogReader.cs
Lines 72 to 73 in efbdc94
If the options are omitted the old behaviour will be used.
Where in the software does this update applies to?
The text was updated successfully, but these errors were encountered: