lnd.xprv/cmd/lncli
Olaoluwa Osuntokun 0453078213
cmd/lncli: increase lightning gRPC block size to 50MB
In this commit, we increase the gRPC block size from 4MB to 50MB.
Recently, the output of `lncli describegraph` has hit the block size cap
due to the expansion of the mainnet graph. Without this attempts to
fetch the graph returns an error of:
```
[lncli] rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4246753 vs. 4194304)
```

With this commit, we give ourselves some breathing room. It's important
to note that the max message size limit is a _client side_ setting. As a
result, any developers driving `lnd` with gRPC will also need to raise
their block size limit as well if they wish to fetch the graph over
gRPC.
2018-12-25 13:23:14 -06:00
..
autopilotrpc_active.go lncli: add lncli autopilot commands 2018-12-13 13:02:40 +01:00
autopilotrpc_default.go lncli: add lncli autopilot commands 2018-12-13 13:02:40 +01:00
commands.go Add listunspent RPC call 2018-12-11 15:26:38 +01:00
main.go cmd/lncli: increase lightning gRPC block size to 50MB 2018-12-25 13:23:14 -06:00