Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | p2p: add network simulation framework (#14982) | Lewis Marshall | 2017-09-25 | 3 | -5/+63 |
| | | | | | | 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. | ||||
* | node: fix instance dir locking and improve error message | Felix Lange | 2017-08-18 | 2 | -24/+30 |
| | | | | | | The lock file was ineffective because opening leveldb storage in read-only mode doesn't really take the lock. Fix it by including a dedicated flock library (which is actually split out of goleveldb). | ||||
* | accounts, console, internal: support trezor hardware wallet | Péter Szilágyi | 2017-08-09 | 1 | -0/+7 |
| | |||||
* | node: fix megacheck warnings | Egon Elbre | 2017-08-07 | 2 | -4/+2 |
| | |||||
* | node: fix doc typo | Agustin Armellini Fischer | 2017-08-06 | 1 | -1/+1 |
| | |||||
* | node: Rename TrusterNodes (#14827) | Chase Wright | 2017-07-18 | 2 | -3/+3 |
| | | | | | | * node: Rename TrusterNodes * node: Rename TrusterNodes | ||||
* | node: don't return non-nil database on error | Felix Lange | 2017-06-23 | 1 | -1/+5 |
| | |||||
* | cmd, node: support different bootnodes, fix default light port | Péter Szilágyi | 2017-05-10 | 1 | -3/+4 |
| | |||||
* | node: fixes deadlock on Wait() | Victor Farazdagi | 2017-04-25 | 1 | -0/+1 |
| | |||||
* | cmd, node: add --nosub and node.Config.NoUSB to disable hw wallets | Péter Szilágyi | 2017-04-20 | 1 | -4/+9 |
| | |||||
* | cmd/utils, node: remove unused solc references and improve RPC config (#14324) | bas-vk | 2017-04-13 | 3 | -10/+20 |
| | | | | | 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. | ||||
* | cmd/geth: add --config file flag (#13875) | Felix Lange | 2017-04-12 | 6 | -115/+58 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | cmd/geth, node: surface geth architecture into version (#13866) | Péter Szilágyi | 2017-04-06 | 2 | -2/+2 |
| | |||||
* | cmd, eth, les, node, pow: disk caching and progress reports | Péter Szilágyi | 2017-03-09 | 1 | -0/+7 |
| | |||||
* | all: blidly swap out glog to our log15, logs need rework | Péter Szilágyi | 2017-02-23 | 2 | -23/+22 |
| | |||||
* | accounts, cmd, internal, node: implement HD wallet self-derivation | Péter Szilágyi | 2017-02-13 | 1 | -18/+1 |
| | |||||
* | accounts, cmd, internal, mobile, node: canonical account URLs | Péter Szilágyi | 2017-02-13 | 1 | -3/+3 |
| | |||||
* | accounts, cmd, eth, internal, miner, node: wallets and HD APIs | Péter Szilágyi | 2017-02-13 | 1 | -5/+25 |
| | |||||
* | accounts/usbwallet: initial support for Ledger wallets | Péter Szilágyi | 2017-02-13 | 1 | -2/+12 |
| | |||||
* | accounts, cmd, eth, internal, mobile, node: split account backends | Péter Szilágyi | 2017-02-13 | 1 | -6/+7 |
| | |||||
* | all: fix ineffectual assignments and remove uses of crypto.Sha3 | Felix Lange | 2017-01-09 | 1 | -2/+1 |
| | | | | | go get github.com/gordonklaus/ineffassign ineffassign . | ||||
* | build, node: fix go vet nits | Felix Lange | 2017-01-09 | 1 | -1/+1 |
| | |||||
* | node: fix pointer dereference issue in StartRPC (#3532) | Victor Farazdagi | 2017-01-08 | 1 | -1/+1 |
| | |||||
* | all: fix spelling errors | Péter Szilágyi | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | logger, pow/dagger, pow/ezp: delete dead code | Felix Lange | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | all: fix issues reported by honnef.co/go/simple/cmd/gosimple | Felix Lange | 2017-01-07 | 2 | -3/+3 |
| | |||||
* | all: gofmt -w -s | Felix Lange | 2017-01-06 | 1 | -6/+6 |
| | |||||
* | rpc: remove HexNumber, replace all uses with hexutil types | Felix Lange | 2016-12-20 | 1 | -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 method | Bas van Kervel | 2016-11-29 | 1 | -3/+3 |
| | |||||
* | cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrict | Felix Lange | 2016-11-23 | 2 | -0/+6 |
| | |||||
* | node: Remove redundant filepath.Join in parsePersistentNodes (#3300) | FrankWang | 2016-11-18 | 1 | -2/+1 |
| | |||||
* | cmd, mobile, node, p2p: surface the discovery V5 bootnodes | Péter Szilágyi | 2016-11-15 | 2 | -18/+27 |
| | |||||
* | node: add InstanceDir method | Felix Lange | 2016-11-11 | 2 | -2/+15 |
| | |||||
* | p2p/discv5: added new topic discovery package | Zsolt Felfoldi | 2016-11-09 | 2 | -0/+6 |
| | |||||
* | common, node: move datadir defaults into package node | Felix Lange | 2016-09-16 | 3 | -5/+65 |
| | |||||
* | node: ensure datadir can be co-inhabited by different instances | Felix Lange | 2016-09-16 | 7 | -129/+350 |
| | | | | | This change ensures that nodes started with different Name but same DataDir values don't use the same nodekey and IPC socket. | ||||
* | cmd/utils, node: create account manager in package node | Felix Lange | 2016-08-17 | 3 | -11/+89 |
| | | | | | | | | | | | | | | | The account manager was previously created by packge cmd/utils as part of flag processing and then passed down into eth.Ethereum through its config struct. Since we are starting to create nodes which do not have eth.Ethereum as a registered service, the code was rearranged to register the account manager as its own service. Making it a service is ugly though and it doesn't really fix the root cause: creating nodes without eth.Ethereum requires duplicating lots of code. This commit splits utils.MakeSystemNode into three functions, making creation of other node/service configurations easier. It also moves the account manager into Node so it can be used by those configurations without requiring package eth. | ||||
* | Merge pull request #2740 from Firescar96/removepeer | Felix Lange | 2016-07-29 | 1 | -0/+16 |
|\ | | | | | node, p2p, internal: Add ability to remove peers via admin interface | ||||
| * | node, p2p, internal: Add ability to remove peers via admin interface | Firescar96 | 2016-07-15 | 1 | -0/+16 |
| | | |||||
* | | rpc: add new client, use it everywhere | Felix Lange | 2016-07-23 | 2 | -20/+20 |
|/ | | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum. | ||||
* | node, p2p: move network config out of Server | Felix Lange | 2016-05-18 | 1 | -5/+3 |
| | | | | This silences a go vet message about copying p2p.Server in package node. | ||||
* | node: start RPC/WS interface on localhost by default | Bas van Kervel | 2016-05-06 | 1 | -2/+10 |
| | |||||
* | release, all: integrate the release service into geth | Péter Szilágyi | 2016-05-02 | 2 | -3/+2 |
| | |||||
* | common/versions, cmd/utils: add geth version contract | Gustav Simonsson | 2016-05-02 | 1 | -0/+1 |
| | |||||
* | all: update license information | Felix Lange | 2016-04-15 | 1 | -1/+1 |
| | |||||
* | rpc: various fixes/enhancements | Bas van Kervel | 2016-04-12 | 4 | -13/+60 |
| | | | | | | | | 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 | ||||
* | rpc: add pub/sub support | Bas van Kervel | 2016-04-02 | 1 | -1/+1 |
| | |||||
* | cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache | Péter Szilágyi | 2016-03-09 | 2 | -4/+4 |
| | |||||
* | all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -1/+1 |
| | | | | As we aren't really using the standarized SHA-3 | ||||
* | cmd, node, rpc: readd inproc RPC client, expose via node | Péter Szilágyi | 2016-02-09 | 3 | -9/+60 |
| | |||||
* | cmd, common, node, rpc: rework naming convention to canonical one | Péter Szilágyi | 2016-02-09 | 4 | -67/+67 |
| | |||||
* | cmd, node, rpc: move websockets into node, break singleton | Péter Szilágyi | 2016-02-05 | 3 | -46/+122 |
| | |||||
* | cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspect | Péter Szilágyi | 2016-02-05 | 3 | -75/+190 |
| | |||||
* | cmd, common, node, rpc: move IPC into the node itself | Péter Szilágyi | 2016-02-04 | 7 | -21/+269 |
| | |||||
* | internal/debug: APIs for profiling and tracing | Felix Lange | 2016-01-28 | 2 | -28/+3 |
| | | | | | | 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 layer | Bas van Kervel | 2016-01-26 | 5 | -20/+106 |
| | |||||
* | node, rpc/api: add debug_vmodule, move admin_verbosity to debug_verbosity | Felix Lange | 2016-01-21 | 1 | -0/+5 |
| | |||||
* | core, eth, node, rpc: port the admin and debug API | Péter Szilágyi | 2015-12-15 | 2 | -3/+271 |
| | |||||
* | rpc: new RPC implementation with pub/sub support | Bas van Kervel | 2015-12-14 | 4 | -0/+22 |
| | |||||
* | cmd, eth, node, rpc, xeth: use single-instance services | Péter Szilágyi | 2015-11-27 | 7 | -268/+300 |
| | |||||
* | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks | Péter Szilágyi | 2015-11-27 | 5 | -56/+223 |
| | |||||
* | cmd: drop blocktest command, create gethrpctest program | Péter Szilágyi | 2015-11-27 | 1 | -33/+0 |
| | |||||
* | node: customizable protocol and service stacks | Péter Szilágyi | 2015-11-27 | 9 | -0/+1313 |
| | |||||
* | Moved node to ethereum | obscuren | 2014-03-22 | 4 | -448/+0 |
| | |||||
* | Major re-organisation. | obscuren | 2014-03-22 | 4 | -0/+448 |
The Ethereum node and Gui are now separated. |