Anton Kaliaev
e8b4226b17
rpc: refactor lib folder (#4836)
Closes https://github.com/tendermint/tendermint/issues/3857 Moves `lib/` folder to `jsonrpc/`. Renames: **packages** `rpc` package -> `jsonrpc` package `rpcclient` package -> `client` package `rpcserver` package -> `server` package **structs and interfaces** ``` JSONRPCClient to Client JSONRPCRequestBatch to RequestBatch JSONRPCCaller to Caller ``` **functions** ``` StartHTTPServer to Serve StartHTTPAndTLSServer to ServeTLS rpc/jsonrpc/client: rename NewURIClient to NewURI NewJSONRPCClient to New NewJSONRPCClientWithHTTPClient to NewWithHTTPClient NewWSClient to NewWS ``` **misc** - unexpose `ResponseWriterWrapper` - remove unused http_params.go |
5 years ago | |
---|---|---|
.. | ||
block.go | linters: enable stylecheck (#4153) | 5 years ago |
errors.go | replace errors.go with github.com/pkg/errors (2/2) (#3890) | 5 years ago |
proof.go | General Merkle Proof (#2298) | 6 years ago |
proxy.go | rpc: refactor lib folder (#4836) | 5 years ago |
query.go | libs/common: Refactor libs/common 4 (#4237) | 5 years ago |
query_test.go | rpc/client: split out client packages (#4628) | 5 years ago |
validate_test.go | types: change `Commit` to consist of just signatures (#4146) | 5 years ago |
verifier.go | format: add format cmd & goimport repo (#4586) | 5 years ago |
wrapper.go | rpc: refactor lib folder (#4836) | 5 years ago |