Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
8 years ago
Felix Lange
35a7dcb162
all: gofmt -w -s
8 years ago
Felix Lange
cf71f5cd60
rpc: remove HexNumber, replace all uses with hexutil types
...
This change couldn't be automated because HexNumber was used for numbers
of all sizes.
8 years ago
Felix Lange
a3e3235d97
rpc: improve error messages for invalid arguments
...
The message now includes the index of the invalid arg.
8 years ago
Felix Lange
91b7690428
rpc: add new client, use it everywhere
...
The new client implementation supports concurrent requests,
subscriptions and replaces the various ad hoc RPC clients
throughout go-ethereum.
8 years ago
Felix Lange
bb01bea4e2
rpc: fix bad method error for batch requests
...
If a batch request contained an invalid method, the server would reply
with a non-batch error response. Fix this by tracking an error for each
batch element.
8 years ago
Péter Szilágyi
ffaf58f0a9
cmd, console: split off the console into a reusable package
9 years ago
Bas van Kervel
aa9fff3e68
rpc: various fixes/enhancements
...
rpc: be less restrictive on the request id
rpc: improved documentation
console: upgrade web3.js to version 0.16.0
rpc: cache http connections
rpc: rename wsDomains parameter to wsOrigins
9 years ago
Bas van Kervel
f7328c5ecb
rpc: add pub/sub support
9 years ago
Péter Szilágyi
188ab928c3
cmd, common, node, rpc: move IPC into the node itself
9 years ago
Felix Lange
5728dd381d
rpc: fix success response encoding for null return value
...
The "result" field of JSON-RPC 2.0 responses was omitted
if the result was nil, causing exceptions in web3.js.
9 years ago
Bas van Kervel
19b2640e89
rpc: migrated the RPC insterface to a new reflection based RPC layer
9 years ago
Bas van Kervel
eae81465c1
rpc: new RPC implementation with pub/sub support
9 years ago