multi: fix sever/server typos
Fixed sever/server typos and regenerated rpc.pb.go
This commit is contained in:
parent
b0288d4677
commit
e207f9ad71
@ -45,7 +45,7 @@ func NormalizeAddresses(addrs []string, defaultPort string,
|
|||||||
// EnforceSafeAuthentication enforces "safe" authentication taking into account
|
// EnforceSafeAuthentication enforces "safe" authentication taking into account
|
||||||
// the interfaces that the RPC servers are listening on, and if macaroons are
|
// the interfaces that the RPC servers are listening on, and if macaroons are
|
||||||
// activated or not. To protect users from using dangerous config combinations,
|
// activated or not. To protect users from using dangerous config combinations,
|
||||||
// we'll prevent disabling authentication if the sever is listening on a public
|
// we'll prevent disabling authentication if the server is listening on a public
|
||||||
// interface.
|
// interface.
|
||||||
func EnforceSafeAuthentication(addrs []net.Addr, macaroonsActive bool) error {
|
func EnforceSafeAuthentication(addrs []net.Addr, macaroonsActive bool) error {
|
||||||
// We'll now examine all addresses that this RPC server is listening
|
// We'll now examine all addresses that this RPC server is listening
|
||||||
|
@ -5247,7 +5247,7 @@ type LightningClient interface {
|
|||||||
// returned.
|
// returned.
|
||||||
LookupInvoice(ctx context.Context, in *PaymentHash, opts ...grpc.CallOption) (*Invoice, error)
|
LookupInvoice(ctx context.Context, in *PaymentHash, opts ...grpc.CallOption) (*Invoice, error)
|
||||||
// *
|
// *
|
||||||
// SubscribeInvoices returns a uni-directional stream (sever -> client) for
|
// SubscribeInvoices returns a uni-directional stream (server -> client) for
|
||||||
// notifying the client of newly added/settled invoices. The caller can
|
// notifying the client of newly added/settled invoices. The caller can
|
||||||
// optionally specify the add_index and/or the settle_index. If the add_index
|
// optionally specify the add_index and/or the settle_index. If the add_index
|
||||||
// is specified, then we'll first start by sending add invoice events for all
|
// is specified, then we'll first start by sending add invoice events for all
|
||||||
@ -6024,7 +6024,7 @@ type LightningServer interface {
|
|||||||
// returned.
|
// returned.
|
||||||
LookupInvoice(context.Context, *PaymentHash) (*Invoice, error)
|
LookupInvoice(context.Context, *PaymentHash) (*Invoice, error)
|
||||||
// *
|
// *
|
||||||
// SubscribeInvoices returns a uni-directional stream (sever -> client) for
|
// SubscribeInvoices returns a uni-directional stream (server -> client) for
|
||||||
// notifying the client of newly added/settled invoices. The caller can
|
// notifying the client of newly added/settled invoices. The caller can
|
||||||
// optionally specify the add_index and/or the settle_index. If the add_index
|
// optionally specify the add_index and/or the settle_index. If the add_index
|
||||||
// is specified, then we'll first start by sending add invoice events for all
|
// is specified, then we'll first start by sending add invoice events for all
|
||||||
|
@ -463,7 +463,7 @@ service Lightning {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
SubscribeInvoices returns a uni-directional stream (sever -> client) for
|
SubscribeInvoices returns a uni-directional stream (server -> client) for
|
||||||
notifying the client of newly added/settled invoices. The caller can
|
notifying the client of newly added/settled invoices. The caller can
|
||||||
optionally specify the add_index and/or the settle_index. If the add_index
|
optionally specify the add_index and/or the settle_index. If the add_index
|
||||||
is specified, then we'll first start by sending add invoice events for all
|
is specified, then we'll first start by sending add invoice events for all
|
||||||
|
@ -666,7 +666,7 @@
|
|||||||
},
|
},
|
||||||
"/v1/invoices/subscribe": {
|
"/v1/invoices/subscribe": {
|
||||||
"get": {
|
"get": {
|
||||||
"summary": "*\nSubscribeInvoices returns a uni-directional stream (sever -\u003e client) for\nnotifying the client of newly added/settled invoices. The caller can\noptionally specify the add_index and/or the settle_index. If the add_index\nis specified, then we'll first start by sending add invoice events for all\ninvoices with an add_index greater than the specified value. If the\nsettle_index is specified, the next, we'll send out all settle events for\ninvoices with a settle_index greater than the specified value. One or both\nof these fields can be set. If no fields are set, then we'll only send out\nthe latest add/settle events.",
|
"summary": "*\nSubscribeInvoices returns a uni-directional stream (server -\u003e client) for\nnotifying the client of newly added/settled invoices. The caller can\noptionally specify the add_index and/or the settle_index. If the add_index\nis specified, then we'll first start by sending add invoice events for all\ninvoices with an add_index greater than the specified value. If the\nsettle_index is specified, the next, we'll send out all settle events for\ninvoices with a settle_index greater than the specified value. One or both\nof these fields can be set. If no fields are set, then we'll only send out\nthe latest add/settle events.",
|
||||||
"operationId": "SubscribeInvoices",
|
"operationId": "SubscribeInvoices",
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
|
@ -313,7 +313,7 @@ litecoin.node=ltcd
|
|||||||
; tor.socks=9050
|
; tor.socks=9050
|
||||||
|
|
||||||
; The DNS server as IP:PORT that Tor will use for SRV queries - NOTE must have
|
; The DNS server as IP:PORT that Tor will use for SRV queries - NOTE must have
|
||||||
; TCP resolution enabled. The current active DNS sever for Testnet listening is
|
; TCP resolution enabled. The current active DNS server for Testnet listening is
|
||||||
; nodes.lightning.directory
|
; nodes.lightning.directory
|
||||||
; tor.dns=nodes.lightning.directory
|
; tor.dns=nodes.lightning.directory
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user