This adds a new "stagenet" network (with network settings), along with a "localdev" (replacing the previous compile-time option for local devnet).
Other changes here:
network_config is now completely removed from cryptonote_config and lives in its own top-level "networks.h" and network_config subdirectory (with one file per network type).
arg_descriptor was horrible and cleaning it up was easier than shoehoring stagenet-dependent options into the existing mess.
--l2-provider required a single argument, comma-separated list; it now also allows being specified multiple times, to be consistent with other multi-value options.
This adds a new "stagenet" network (with network settings), along with a "localdev" (replacing the previous compile-time option for local devnet).
Other changes here:
network_config
subdirectory (with one file per network type).--l2-provider
required a single argument, comma-separated list; it now also allows being specified multiple times, to be consistent with other multi-value options.More details in individual commit messages.