M. J. Fromberger
75b1b1d6c5
* rpc: simplify the handling of JSON-RPC request and response IDs Replace the ID wrapper interface with plain JSON. Internally, the client libraries use only integer IDs, and the server does not care about the ID structure apart from checking its validity. Basic structure of this change: - Remove the jsonrpcid interface and its helpers. - Unexport the ID field of request and response. - Add helpers for constructing requests and responses. - Fix up usage and tests. |
3 years ago | |
---|---|---|
.. | ||
client | rpc: simplify the handling of JSON-RPC request and response IDs (#7738) | 3 years ago |
server | rpc: simplify the handling of JSON-RPC request and response IDs (#7738) | 3 years ago |
test | rpc: clean up the RPCFunc constructor signature (#7586) | 3 years ago |
types | rpc: simplify the handling of JSON-RPC request and response IDs (#7738) | 3 years ago |
doc.go | rpc: clean up the RPCFunc constructor signature (#7586) | 3 years ago |
jsonrpc_test.go | rpc: clean up unused non-default websocket client options (#7713) | 3 years ago |