erigon-pulse/rpc
Alex Prut 86dd1f91dd all: simplify nested complexity and if blocks ending with a return statement (#21854)
Changes:

    Simplify nested complexity
    If an if blocks ends with a return statement then remove the else nesting.

Most of the changes has also been reported in golint https://goreportcard.com/report/github.com/ethereum/go-ethereum#golint
# Conflicts:
#	cmd/utils/flags.go
#	console/bridge.go
#	crypto/bls12381/g2.go
#	les/benchmark.go
#	les/lespay/server/balance.go
#	les/lespay/server/balance_tracker.go
#	les/lespay/server/prioritypool.go
#	les/odr_requests.go
#	les/serverpool.go
#	les/serverpool_test.go
#	p2p/nodestate/nodestate_test.go
#	trie/committer.go
2021-03-08 12:34:16 +01:00
..
testdata rpc: fix issue with null JSON-RPC messages (#21497) 2020-09-11 16:04:59 +02:00
allow_list_test.go Granular rpc control (Allow list for RPC daemon) (#1341) 2020-11-10 10:08:42 +01:00
allow_list.go Granular rpc control (Allow list for RPC daemon) (#1341) 2020-11-10 10:08:42 +01:00
client_example_test.go rpc: make ExampleClientSubscription work with the geth API (#19483) 2020-05-20 15:26:22 +03:00
client_test.go linters 2020-08-15 22:22:05 +02:00
client.go all: simplify nested complexity and if blocks ending with a return statement (#21854) 2021-03-08 12:34:16 +01:00
constants_unix_nocgo.go accounts, p2p, rpc: make CGO_ENABLED=0 build again (#19593) 2019-05-26 01:07:10 +03:00
constants_unix.go accounts, p2p, rpc: make CGO_ENABLED=0 build again (#19593) 2019-05-26 01:07:10 +03:00
doc.go rpc: remove 'exported or builtin' restriction for parameters (#20332) 2019-12-03 13:44:56 +01:00
endpoints.go trie, rpc, cmd/geth: fix tests on 32-bit and windows + minor rpc fixes (#21871) 2021-03-08 12:28:54 +01:00
errors.go internal/ethapi: return revert reason for eth_call (#21083) 2020-06-15 19:38:13 +03:00
handler.go Granular rpc control (Allow list for RPC daemon) (#1341) 2020-11-10 10:08:42 +01:00
helpers.go Rpcdaemon as lib (#940) 2020-08-19 12:46:20 +01:00
http_test.go rpc: add explicit 200 response for empty HTTP GET (#20952) 2020-05-20 15:26:22 +03:00
http.go Account range testing (#938) 2020-08-19 07:33:49 +01:00
inproc.go rpc, p2p/simulations: use github.com/gorilla/websocket (#20289) 2019-12-03 13:37:18 +01:00
ipc_js.go all: update author list and licenses 2019-07-22 12:17:27 +03:00
ipc_unix.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
ipc_windows.go all: import "context" instead of "golang.org/x/net/context" 2017-03-22 20:49:15 +01:00
ipc.go rpc, p2p/simulations: use github.com/gorilla/websocket (#20289) 2019-12-03 13:37:18 +01:00
json.go rpc: fix issue with null JSON-RPC messages (#21497) 2020-09-11 16:04:59 +02:00
metrics.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
server_test.go internal/ethapi: return revert reason for eth_call (#21083) 2020-06-15 19:38:13 +03:00
server.go Granular rpc control (Allow list for RPC daemon) (#1341) 2020-11-10 10:08:42 +01:00
service.go rpc: remove 'exported or builtin' restriction for parameters (#20332) 2019-12-03 13:44:56 +01:00
stdio.go rpc, p2p/simulations: use github.com/gorilla/websocket (#20289) 2019-12-03 13:37:18 +01:00
subscription_test.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
subscription.go rpc: remove silly use of ReadVarint in subscription ID generator (#21391) 2020-08-12 12:44:18 +02:00
testservice_test.go internal/ethapi: return revert reason for eth_call (#21083) 2020-06-15 19:38:13 +03:00
types_test.go RPC method fixes (#1007) 2020-08-29 22:28:09 +01:00
types.go Ethstats (#1338) 2020-11-06 08:59:50 +01:00
websocket_test.go geth 1.9.13 (#469) 2020-04-19 18:31:47 +01:00
websocket.go node: support expressive origin rules in ws.origins (#21481) 2021-03-08 12:28:31 +01:00