lnd: allow large GRPC messages

This commit is contained in:
Andras Banki-Horvath
2022-01-10 23:11:42 +01:00
parent 996be217b9
commit eeea141e01
3 changed files with 9 additions and 2 deletions

View File

@@ -14,4 +14,8 @@ var (
regexp.MustCompile("^/v1/channels/transaction-stream$"),
regexp.MustCompile("^/v2/router/htlcinterceptor$"),
}
// MaxGrpcMsgSize is used when we configure both server and clients to
// allow sending/receiving at most 200 MiB GRPC messages.
MaxGrpcMsgSize = 200 * 1024 * 1024
)