2023-09-12 19:14:08 +00:00
|
|
|
//go:build gowaku_no_rln
|
|
|
|
// +build gowaku_no_rln
|
2023-08-18 21:24:04 +00:00
|
|
|
|
|
|
|
package rlngenerate
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
|
|
|
|
cli "github.com/urfave/cli/v2"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Command generates a key file used to generate the node's peerID, encrypted with an optional password
|
|
|
|
var Command = cli.Command{
|
|
|
|
Name: "generate-rln-credentials",
|
|
|
|
Usage: "Generate credentials for usage with RLN",
|
|
|
|
Action: func(cCtx *cli.Context) error {
|
|
|
|
return errors.New("not available. Execute `make RLN=true` to add RLN support to go-waku")
|
|
|
|
},
|
|
|
|
}
|