plugeth/rpc
Felix Lange 90cd8ae9f2 rpc/api: don't crash for unknown blocks
Most eth RPC calls that work with blocks crashed when the block was not
found because they called Hash on a nil block. This is a regression
introduced in cdc2662c40 (#1779).

While here, remove the insane conversions in get*CountBy*. There is no
need to construct a complete BlockRes and converting
int->int64->*big.Int->[]byte->hexnum->string to format the length of a
slice as hex.
2015-09-22 23:59:26 +02:00
..
api rpc/api: don't crash for unknown blocks 2015-09-22 23:59:26 +02:00
codec support for user agents 2015-08-12 12:22:16 +02:00
comms rpc/comms: fix #1795, ensure IPC path exists before binding 2015-09-11 17:03:31 +03:00
shared Merge pull request #1724 from Gustav-Simonsson/get_work 2015-08-29 10:54:10 +02:00
useragent support for user agents 2015-08-12 12:22:16 +02:00
jeth.go bugfix console error handling 2015-08-26 11:33:02 +02:00
xeth.go rpc: update the xeth over RPC API to use the success/failure messages 2015-08-17 14:04:20 +03:00