From fe32ecd440361db90663715721d143a4fd82da5c Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 18 Nov 2023 09:42:19 -0300 Subject: [PATCH] nip11: "restricted_writes". --- nip11/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nip11/types.go b/nip11/types.go index e784be3..ae3ad2b 100644 --- a/nip11/types.go +++ b/nip11/types.go @@ -31,6 +31,7 @@ type RelayLimitationDocument struct { MinPowDifficulty int `json:"min_pow_difficulty,omitempty"` AuthRequired bool `json:"auth_required"` PaymentRequired bool `json:"payment_required"` + RestrictedWrites bool `json:"restricted_writes"` } type RelayFeesDocument struct {