add option to enable compression for gRPC-server (#133)

* add grpc server compression

* change compression config defaults

* fix review issue

* add note about compression in readme

* add compression section to server config doc
This commit is contained in:
Vadim Vlasov
2023-02-10 17:27:52 +08:00
committed by GitHub
parent fc36e63ea6
commit 8649cc03aa
7 changed files with 116 additions and 2 deletions

View File

@@ -59,6 +59,11 @@ port: 2449
tls:
enabled: false
compression:
grpc:
server:
enabled: false
proxy:
host: 0.0.0.0
port: 8545
@@ -103,6 +108,7 @@ Which sets the following:
- gRPC access through 0.0.0.0:2449
** TLS security is disabled (_please don't use in production!_)
** compression is disabled for gRPC server (enabled by default)
- JSON RPC access through 0.0.0.0:8545 (both HTTP and WebsScket)
** proxy requests to Ethereum and Kovan upstreams
** request path for Ethereum Mainnet is `/eth`, `/kovan` for Kovan Testnet, and `/btc` for bitcoin