cli entry point for joining validator set

Former-commit-id: 6d6852983c30ab74287f34374243d18047899e4c [formerly 26ced5a3e73e9f07b73dd5d60548cbdd5d282162]
Former-commit-id: c09a2c28ec94700eabeeba1e3511988d442eff53
This commit is contained in:
Terence Tsao
2018-02-24 09:58:10 -08:00
parent 395ef980a8
commit c96a1845b4

View File

@@ -19,6 +19,18 @@ var (
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",
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 withdrawl at any time. This feature is a work in progress.
`,
},
},
}
)
@@ -30,3 +42,7 @@ func shardingClient(ctx *cli.Context) error {
c.Wait()
return nil
}
func joinValidatorSet(ctx *cli.Context) error {
return nil
}