1 parent 09b9939 commit 25d2045Copy full SHA for 25d2045
1 file changed
req.go
@@ -48,6 +48,10 @@ example:
48
Name: "jq",
49
Usage: "filter returned events with jq expression",
50
},
51
+ &cli.BoolFlag{
52
+ Name: "no-verify",
53
+ Usage: "skip event signature verification from relays",
54
+ },
55
&cli.StringFlag{
56
Name: "only-missing",
57
Usage: "use nip77 negentropy to only fetch events that aren't present in the given jsonl file",
@@ -104,6 +108,10 @@ example:
104
108
),
105
109
ArgsUsage: "[relay...]",
106
110
Action: func(ctx context.Context, c *cli.Command) error {
111
+ if c.Bool("no-verify") {
112
+ sys.Pool.RelayOptions.AssumeValid = true
113
+ }
114
+
107
115
negentropy := c.Bool("ids-only") || c.IsSet("only-missing")
116
if negentropy {
117
if c.Bool("paginate") || c.Bool("stream") || c.Bool("outbox") {
0 commit comments