TestRPCConfig returns a configuration for testing the RPC server
()
| 443 | |
| 444 | // TestRPCConfig returns a configuration for testing the RPC server |
| 445 | func TestRPCConfig() *RPCConfig { |
| 446 | cfg := DefaultRPCConfig() |
| 447 | cfg.ListenAddress = "tcp://127.0.0.1:36657" |
| 448 | cfg.GRPCListenAddress = "tcp://127.0.0.1:36658" |
| 449 | cfg.Unsafe = true |
| 450 | return cfg |
| 451 | } |
| 452 | |
| 453 | // ValidateBasic performs basic validation (checking param bounds, etc.) and |
| 454 | // returns an error if any check fails. |
no test coverage detected