Remove Subcommand

Former-commit-id: 1b5a00dfc5ada45e3136137f4cfc5fb9c7164055 [formerly 1e099a9438bdb3dd9da0e0178581317f3c9b76ff]
Former-commit-id: d9e3da56fcc91af9e3cafc3d1ea55a92106a71af
This commit is contained in:
nisdas
2018-02-25 18:22:22 +08:00
parent 3259e3616a
commit 420b76a9cd

View File

@@ -14,24 +14,11 @@ var (
Aliases: []string{"shard"},
Usage: "Start a sharding client",
ArgsUsage: "[endpoint]",
Flags: []cli.Flag{utils.DataDirFlag, utils.PasswordFileFlag, utils.NetworkIdFlag, utils.IPCPathFlag,utils.ValidatorSetFlag},
Flags: []cli.Flag{utils.DataDirFlag, utils.PasswordFileFlag, utils.NetworkIdFlag, utils.IPCPathFlag, utils.ValidatorSetFlag},
Category: "SHARDING COMMANDS",
Description: `
Launches a sharding client that connects to a running geth node and proposes collations to a Validator Manager Contract. This feature is a work in progress.
`,
/* Subcommands: []cli.Command{
{
Name: "joinvalidatorset",
Usage: "Join validator set",
Aliases: []string{"validate"},
ArgsUsage: "",
Action: utils.MigrateFlags(joinValidatorSet),
Category: "SHARDING COMMANDS",
Description: `
Participate in validator set, client will deposit 100ETH from user's account into VMC validator set, which can be withdrawn at any time. This feature is a work in progress.
`,
},
},*/
}
)
@@ -43,8 +30,3 @@ func shardingClient(ctx *cli.Context) error {
c.Wait()
return nil
}
/*func joinValidatorSet(ctx *cli.Context) error {
fmt.Println("Testing")
return nil
}*/