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:
Greg Szabo
2018-06-12 11:25:03 -07:00
parent 1b20adcd22
commit 4c5e536b31
15 changed files with 632 additions and 181 deletions
+14
View File
@@ -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
}