Added testnet command and localnet targets
Finished testnet command and introduced localnet targets in Makefile, together with gaiadnode Docker image Fixed function parameter list - now starts with ctx Separated GenTxConfig into a server/config package so both the server package and the mock package can use it Adding server/config to app package gaiadnode Docker image Separated GenTxConfig into a server/config package so both the server package and the mock package can use it Adding server/config to app package Fixes requested by Rigel Removed commented code Global flag fixes
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package config
|
||||
|
||||
//_____________________________________________________________________
|
||||
|
||||
// Configuration structure for command functions that share configuration.
|
||||
// For example: init, init gen-tx and testnet commands need similar input and run the same code
|
||||
|
||||
// Storage for init gen-tx command input parameters
|
||||
type GenTxConfig struct {
|
||||
Name string
|
||||
CliRoot string
|
||||
Overwrite bool
|
||||
IP string
|
||||
}
|
||||
Reference in New Issue
Block a user