stub enable/disable storage deal commands
This commit is contained in:
parent
5421d0d1c5
commit
67110ce739
@ -33,6 +33,8 @@ func main() {
|
|||||||
setPriceCmd,
|
setPriceCmd,
|
||||||
workersCmd,
|
workersCmd,
|
||||||
provingCmd,
|
provingCmd,
|
||||||
|
enableCmd,
|
||||||
|
disableCmd,
|
||||||
}
|
}
|
||||||
jaeger := tracing.SetupJaegerTracing("lotus")
|
jaeger := tracing.SetupJaegerTracing("lotus")
|
||||||
defer func() {
|
defer func() {
|
||||||
|
@ -10,6 +10,24 @@ import (
|
|||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
var enableCmd = &cli.Command{
|
||||||
|
Name: "enable",
|
||||||
|
Usage: "Configure the miner to consider storage deal proposals",
|
||||||
|
Flags: []cli.Flag{},
|
||||||
|
Action: func(cctx *cli.Context) error {
|
||||||
|
panic("enable storage deals")
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
var disableCmd = &cli.Command{
|
||||||
|
Name: "disable",
|
||||||
|
Usage: "Configure the miner to reject all storage deal proposals",
|
||||||
|
Flags: []cli.Flag{},
|
||||||
|
Action: func(cctx *cli.Context) error {
|
||||||
|
panic("disable storage deals")
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
var setPriceCmd = &cli.Command{
|
var setPriceCmd = &cli.Command{
|
||||||
Name: "set-price",
|
Name: "set-price",
|
||||||
Usage: "Set price that miner will accept storage deals at (FIL / GiB / Epoch)",
|
Usage: "Set price that miner will accept storage deals at (FIL / GiB / Epoch)",
|
||||||
|
Loading…
Reference in New Issue
Block a user