aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/server.go
Commit message (Collapse)AuthorAgeFilesLines
* rpc: support subscriptions under custom namespacesBas van Kervel2017-04-251-9/+8
|
* cmd/geth: add --config file flag (#13875)Felix Lange2017-04-121-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p2p/discover, p2p/discv5: add marshaling methods to Node * p2p/netutil: make Netlist decodable from TOML * common/math: encode nil HexOrDecimal256 as 0x0 * cmd/geth: add --config file flag * cmd/geth: add missing license header * eth: prettify Config again, fix tests * eth: use gasprice.Config instead of duplicating its fields * eth/gasprice: hide nil default from dumpconfig output * cmd/geth: hide genesis block in dumpconfig output * node: make tests compile * console: fix tests * cmd/geth: make TOML keys look exactly like Go struct fields * p2p: use discovery by default This makes the zero Config slightly more useful. It also fixes package node tests because Node detects reuse of the datadir through the NodeDatabase. * cmd/geth: make ethstats URL settable through config file * cmd/faucet: fix configuration * cmd/geth: dedup attach tests * eth: add comment for DefaultConfig * eth: pass downloader.SyncMode in Config This removes the FastSync, LightSync flags in favour of a more general SyncMode flag. * cmd/utils: remove jitvm flags * cmd/utils: make mutually exclusive flag error prettier It now reads: Fatal: flags --dev, --testnet can't be used at the same time * p2p: fix typo * node: add DefaultConfig, use it for geth * mobile: add missing NoDiscovery option * cmd/utils: drop MakeNode This exposed a couple of places that needed to be updated to use node.DefaultConfig. * node: fix typo * eth: make fast sync the default mode * cmd/utils: remove IPCApiFlag (unused) * node: remove default IPC path Set it in the frontends instead. * cmd/geth: add --syncmode * cmd/utils: make --ipcdisable and --ipcpath mutually exclusive * cmd/utils: don't enable WS, HTTP when setting addr * cmd/utils: fix --identity
* rpc: honour pending requests before tearing conn down (#3814)Péter Szilágyi2017-03-241-14/+28
|
* all: import "context" instead of "golang.org/x/net/context"Felix Lange2017-03-231-2/+1
| | | | | | | | | | There is no need to depend on the old context package now that the minimum Go version is 1.7. The move to "context" eliminates our weird vendoring setup. Some vendored code still uses golang.org/x/net/context and it is now vendored in the normal way. This change triggered new vet checks around context.WithTimeout which didn't fire with golang.org/x/net/context.
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-7/+7
|
* rpc: refactor subscriptions and filtersBas van Kervel2016-08-171-6/+6
|
* rpc: add new client, use it everywhereFelix Lange2016-07-231-1/+1
| | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum.
* rpc: fix bad method error for batch requestsFelix Lange2016-07-231-1/+6
| | | | | | 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.
* rpc: remove grace period when shutting down the serverFelix Lange2016-07-231-10/+5
| | | | | | | | | The server delayed closing of connections for 3s when stopping. This was supposed to allow for slow handlers, but it didn't really work. When geth quits, it will just exit immediately after quitting the server. Removing the timer makes testing easier because all connections will be closed after Stop returns.
* README, core, rpc: fix various typosFabio Berger2016-06-221-3/+3
|
* cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix minerPéter Szilágyi2016-05-111-2/+3
|
* rpc: remove NotifierContextKeyFelix Lange2016-04-161-7/+4
| | | | | | | Context keys must have a unique type in order to prevent any unintented clashes. The code used int(1) as key. Fix it by implementing the pattern recommended by package context.
* rpc: add pub/sub supportBas van Kervel2016-04-021-121/+107
|
* rpc/http: improve request handlingBas van Kervel2016-03-231-14/+46
|
* cmd, common, node, rpc: rework naming convention to canonical onePéter Szilágyi2016-02-091-2/+2
|
* cmd, eth, rpc: fix some RPC issues with pending blocksPéter Szilágyi2016-02-031-2/+0
|
* rpc: migrated the RPC insterface to a new reflection based RPC layerBas van Kervel2016-01-261-0/+438
|
* Move HTTP transport to sub package of RPCTaylor Gerring2015-01-281-104/+0
|
* Move GetRequestReply to EthereumApiTaylor Gerring2015-01-211-1/+1
| | | | Off of jsonWrapper
* cleanupTaylor Gerring2015-01-131-1/+1
|
* Added license headersTaylor Gerring2015-01-131-0/+16
|
* begin conversion to rpc over httpTaylor Gerring2015-01-131-12/+33
| | | | | Per specification at https://github.com/ethereum/wiki/wiki/Generic-JSON-RPC
* ethpipe => xeth (eXtended ETHereum)obscuren2014-10-311-3/+3
|
* ethlog => loggerobscuren2014-10-311-6/+6
|
* Merge eth-go repository into go-ethereumFelix Lange2014-10-231-2/+2
| | | | mist, etheruem have been moved to cmd/
* WIP RPC interfaceobscuren2014-10-211-0/+67