aboutsummaryrefslogtreecommitdiffstats
path: root/node/api.go
Commit message (Collapse)AuthorAgeFilesLines
* node: fill StandardCounters as part of debugapi/metrics (#16054)Anton Evangelatov2018-02-271-0/+10
|
* metrics: pull library and introduce ResettingTimer and InfluxDB reporter ↵Anton Evangelatov2018-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | (#15910) * go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter. * vendor: change nonsense/go-metrics to ethersphere/go-metrics * go-metrics: add tests. move ResettingTimer logic from reporter to type. * all, metrics: pull in metrics package in go-ethereum * metrics/test: make sure metrics are enabled for tests * metrics: apply gosimple rules * metrics/exp, internal/debug: init expvar endpoint when starting pprof server * internal/debug: tiny comment formatting fix
* rpc: dns rebind protection (#15962)Martin Holst Swende2018-02-121-2/+10
| | | | | | | | | | | | | | | | * cmd,node,rpc: add allowedHosts to prevent dns rebinding attacks * p2p,node: Fix bug with dumpconfig introduced in r54aeb8e4c0bb9f0e7a6c67258af67df3b266af3d * rpc: add wildcard support for rpcallowedhosts + go fmt * cmd/geth, cmd/utils, node, rpc: ignore direct ip(v4/6) addresses in rpc virtual hostnames check * http, rpc, utils: make vhosts into map, address review concerns * node: change log messages to use geth standard (not sprintf) * rpc: fix spelling
* p2p: add network simulation framework (#14982)Lewis Marshall2017-09-251-1/+41
| | | | | | This commit introduces a network simulation framework which can be used to run simulated networks of devp2p nodes. The intention is to use this for testing protocols, performing benchmarks and visualising emergent network behaviour.
* cmd/utils, node: remove unused solc references and improve RPC config (#14324)bas-vk2017-04-131-6/+16
| | | | | Currently http cors and websocket origins are a comma separated string in the config object. These are replaced with string arrays that are more expressive in case of a config file.
* node: fix pointer dereference issue in StartRPC (#3532)Victor Farazdagi2017-01-081-1/+1
|
* rpc: remove HexNumber, replace all uses with hexutil typesFelix Lange2016-12-201-7/+6
| | | | | This change couldn't be automated because HexNumber was used for numbers of all sizes.
* node: improve error handling for web3_sha3 RPC methodBas van Kervel2016-11-291-3/+3
|
* common, node: move datadir defaults into package nodeFelix Lange2016-09-161-2/+2
|
* node: ensure datadir can be co-inhabited by different instancesFelix Lange2016-09-161-9/+9
| | | | | This change ensures that nodes started with different Name but same DataDir values don't use the same nodekey and IPC socket.
* node, p2p, internal: Add ability to remove peers via admin interfaceFirescar962016-07-151-0/+16
|
* node: start RPC/WS interface on localhost by defaultBas van Kervel2016-05-061-2/+10
|
* rpc: various fixes/enhancementsBas van Kervel2016-04-121-4/+43
| | | | | | | | 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
* all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()Ricardo Catalinas Jiménez2016-02-221-1/+1
| | | | As we aren't really using the standarized SHA-3
* cmd, node, rpc: readd inproc RPC client, expose via nodePéter Szilágyi2016-02-091-1/+1
|
* cmd, node, rpc: move websockets into node, break singletonPéter Szilágyi2016-02-051-33/+16
|
* cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspectPéter Szilágyi2016-02-051-30/+16
|
* internal/debug: APIs for profiling and tracingFelix Lange2016-01-281-27/+1
| | | | | | The debug package provides an RPC wrapper for glog settings and the debugging facilities of the Go runtime. They can be triggered through both command line flags and the IPC listener.
* rpc: migrated the RPC insterface to a new reflection based RPC layerBas van Kervel2016-01-261-16/+97
|
* node, rpc/api: add debug_vmodule, move admin_verbosity to debug_verbosityFelix Lange2016-01-211-0/+5
|
* core, eth, node, rpc: port the admin and debug APIPéter Szilágyi2015-12-151-0/+244