mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-05-11 19:19:58 +02:00
nip11: "restricted_writes".
This commit is contained in:
parent
0cfaa0da0a
commit
fe32ecd440
@ -31,6 +31,7 @@ type RelayLimitationDocument struct {
|
|||||||
MinPowDifficulty int `json:"min_pow_difficulty,omitempty"`
|
MinPowDifficulty int `json:"min_pow_difficulty,omitempty"`
|
||||||
AuthRequired bool `json:"auth_required"`
|
AuthRequired bool `json:"auth_required"`
|
||||||
PaymentRequired bool `json:"payment_required"`
|
PaymentRequired bool `json:"payment_required"`
|
||||||
|
RestrictedWrites bool `json:"restricted_writes"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type RelayFeesDocument struct {
|
type RelayFeesDocument struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user