aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
Commit message (Collapse)AuthorAgeFilesLines
* cmd/utils: fix bug when checking for flag value conflicts (#17803)Ryan Schneider2018-10-081-1/+4
|
* all: new p2p node representation (#17643)Felix Lange2018-09-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Package p2p/enode provides a generalized representation of p2p nodes which can contain arbitrary information in key/value pairs. It is also the new home for the node database. The "v4" identity scheme is also moved here from p2p/enr to remove the dependency on Ethereum crypto from that package. Record signature handling is changed significantly. The identity scheme registry is removed and acceptable schemes must be passed to any method that needs identity. This means records must now be validated explicitly after decoding. The enode API is designed to make signature handling easy and safe: most APIs around the codebase work with enode.Node, which is a wrapper around a valid record. Going from enr.Record to enode.Node requires a valid signature. * p2p/discover: port to p2p/enode This ports the discovery code to the new node representation in p2p/enode. The wire protocol is unchanged, this can be considered a refactoring change. The Kademlia table can now deal with nodes using an arbitrary identity scheme. This requires a few incompatible API changes: - Table.Lookup is not available anymore. It used to take a public key as argument because v4 protocol requires one. Its replacement is LookupRandom. - Table.Resolve takes *enode.Node instead of NodeID. This is also for v4 protocol compatibility because nodes cannot be looked up by ID alone. - Types Node and NodeID are gone. Further commits in the series will be fixes all over the the codebase to deal with those removals. * p2p: port to p2p/enode and discovery changes This adapts package p2p to the changes in p2p/discover. All uses of discover.Node and discover.NodeID are replaced by their equivalents from p2p/enode. New API is added to retrieve the enode.Node instance of a peer. The behavior of Server.Self with discovery disabled is improved. It now tries much harder to report a working IP address, falling back to 127.0.0.1 if no suitable address can be determined through other means. These changes were needed for tests of other packages later in the series. * p2p/simulations, p2p/testing: port to p2p/enode No surprises here, mostly replacements of discover.Node, discover.NodeID with their new equivalents. The 'interesting' API changes are: - testing.ProtocolSession tracks complete nodes, not just their IDs. - adapters.NodeConfig has a new method to create a complete node. These changes were needed to make swarm tests work. Note that the NodeID change makes the code incompatible with old simulation snapshots. * whisper/whisperv5, whisper/whisperv6: port to p2p/enode This port was easy because whisper uses []byte for node IDs and URL strings in the API. * eth: port to p2p/enode Again, easy to port because eth uses strings for node IDs and doesn't care about node information in any way. * les: port to p2p/enode Apart from replacing discover.NodeID with enode.ID, most changes are in the server pool code. It now deals with complete nodes instead of (Pubkey, IP, Port) triples. The database format is unchanged for now, but we should probably change it to use the node database later. * node: port to p2p/enode This change simply replaces discover.Node and discover.NodeID with their new equivalents. * swarm/network: port to p2p/enode Swarm has its own node address representation, BzzAddr, containing both an overlay address (the hash of a secp256k1 public key) and an underlay address (enode:// URL). There are no changes to the BzzAddr format in this commit, but certain operations such as creating a BzzAddr from a node ID are now impossible because node IDs aren't public keys anymore. Most swarm-related changes in the series remove uses of NewAddrFromNodeID, replacing it with NewAddr which takes a complete node as argument. ToOverlayAddr is removed because we can just use the node ID directly.
* all: protect self-mined block during reorg (#17656)gary rong2018-09-201-1/+1
|
* core/vm: add switches to select evm+ewasm interpreters (#17687)Guillaume Ballet2018-09-201-0/+19
| | | | | Interpreter initialization is left to the PRs implementing them. Options for external interpreters are passed after a colon in the `--vm.ewasm` and `--vm.evm` switches.
* cmd/utils: typos in {Miner, MinerLegacy}GasPriceFlag (#17588)TColl2018-09-101-2/+2
|
* whisper: add light mode check to handshake (#16725)b00ris2018-09-051-0/+7
|
* cmd, core, eth, miner, params: configurable gas floor and ceilPéter Szilágyi2018-08-291-11/+16
|
* consensus, miner: stale block mining support (#17506)gary rong2018-08-281-2/+9
| | | | | | | | | | * consensus, miner: stale block supporting * consensus, miner: refactor seal signature * cmd, consensus, eth: add miner noverify flag * cmd, consensus, miner: polish
* cmd, eth: clean up miner startup API, drop noop config fieldPéter Szilágyi2018-08-231-6/+0
|
* cmd, eth: apply default miner recommit setting (#17479)gary rong2018-08-221-1/+1
|
* cmd, core, miner: add --txpool.locals and priority miningPéter Szilágyi2018-08-221-0/+14
|
* cmd, eth, miner: make recommit configurable (#17444)gary rong2018-08-221-7/+15
| | | | | | | | | | | | * cmd, eth, miner: make recommit configurable * cmd, eth, les, miner: polish a bit * miner: filter duplicate sealing work * cmd: remove uncessary conversion * miner: avoid microptimization in favor of cleaner code
* cmd: polish miner flags, deprecate olds, add upgrade pathPéter Szilágyi2018-08-151-37/+67
|
* cmd, consensus/ethash, eth: miner push notificationsPéter Szilágyi2018-08-101-4/+10
|
* build: rename swarm deb package to ethereum-swarm; change swarm deb version ↵Anton Evangelatov2018-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | from 1.8.x to 0.3.x (#16988) * build: add support for different package and binary names * build: bump up copyright date * build: change default PackageName to empty string * build, internal, swarm: enhance build/release process * build: hack ethereum-swarm as a "depends" in deb package * build/ci: remove redundant variables * build, cmd, mobile, params, swarm: remove VERSION file; rename Version to VersionMeta; * internal: remove VERSION() method which reads VERSION file * build: fix VersionFilePath to Version * Makefile: remove clean_go_build_cache.sh until it works * Makefile: revert removal of clean_go_build_cache.sh
* cmd: prevent accidental invalid commands (#17248)a e r t h2018-07-261-2/+1
| | | | | | * cmd: stop parsing bootnodes if one is invalid * cmd/geth: require valid command as argument (or no arg)
* cmd/utils: fix comment typo (#17249)Sarlor2018-07-261-1/+1
| | | cmd: Comment error
* cmd, dashboard, log: log collection and exploration (#17097)Kurkó Mihály2018-07-111-2/+2
| | | | | | | | | | | | * cmd, dashboard, internal, log, node: logging feature * cmd, dashboard, internal, log: requested changes * dashboard, vendor: gofmt, govendor, use vendored file watcher * dashboard, log: gofmt -s -w, goimports * dashboard, log: gosimple
* cmd: typo fixed, isntance -> instance (#17149)Wenbiao Zheng2018-07-091-1/+1
|
* cmd/geth: export metrics to InfluxDB (#16979)Anton Evangelatov2018-07-021-4/+62
| | | | | | | | * cmd/geth: add flags for metrics export * cmd/geth: update usage fields for metrics flags * metrics/influxdb: update reporter logger to adhere to geth logging convention
* cmd/utils: fix NetworkId default when -dev is set (#16833)Jeremy Schlatter2018-06-141-0/+3
| | | | | | | | | Prior to this change, when geth was started with `geth -dev -rpc`, it would report a network id of `1` in response to the `net_version` RPC request. But the actual network id it used to verify transactions was `1337`. This change causes geth instead respond with `1337` to the `net_version` RPC when geth is started with `geth -dev -rpc`.
* core/rawdb: separate raw database access to own package (#16666)Péter Szilágyi2018-05-071-4/+3
|
* cmd/utils: point users to --syncmode under DEPRECATED (#16572)Martin Klepsch2018-04-271-2/+2
| | | Indicate that --light and --fast options are replaced by --syncmode
* cmd/utils: fix help template issue for subcommands (#16351)Zhenguo Niu2018-04-181-1/+1
|
* whisper: switch all remaining components from v5 to v6Guillaume Ballet2018-03-261-1/+1
|\
| * whisper: some components are still using v5, switch to v6Guillaume Ballet2018-03-221-1/+1
| |
* | cmd: export preimages in RLP, support GZIP, uniform with block exportPéter Szilágyi2018-03-261-3/+91
|/
* cmd/utils: fix maxpeers vs lightpeers logic (#16125)Felföldi Zsolt2018-03-091-0/+3
|
* cmd, dashboard: use webpack dev server, remove custom assets (#16263)Kurkó Mihály2018-03-081-6/+0
| | | | | | * cmd, dashboard: remove custom assets, webpack dev server * dashboard: yarn commands, small fixes
* utils: fix #16138 by checking if vhosts flag is set (#16141)Martin Holst Swende2018-03-051-3/+4
| | | | | | | | * utils: fix #16138 by checking if vhosts flag is set * utils,node: fix defaults for rpcvhosts * node,utils: address review concerns
* cmd, console: support all termination signalsPéter Szilágyi2018-02-211-2/+3
|
* rpc: dns rebind protection (#15962)Martin Holst Swende2018-02-121-0/+7
| | | | | | | | | | | | | | | | * 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
* core, trie: intermediate mempool between trie and database (#15857)Péter Szilágyi2018-02-062-16/+57
| | | This commit reduces database I/O by not writing every state trie to disk.
* les: limit LES peer count and improve peer configuration logic (#16010)Felföldi Zsolt2018-02-051-3/+23
| | | | | | * les: limit number of LES connections * eth, cmd/utils: light vs max peer configuration logic
* utils: fix #16006 by not lowering OS ulimitMartin Holst Swende2018-02-021-3/+5
|
* cmd, params: update discovery v5 bootnodes (#15954)Felföldi Zsolt2018-01-251-1/+1
|
* p2p, p2p/discover, p2p/discv5: implement UDP port sharing (#15200)Felföldi Zsolt2018-01-221-10/+0
| | | | | | | | | | | | | | | This commit affects p2p/discv5 "topic discovery" by running it on the same UDP port where the old discovery works. This is realized by giving an "unhandled" packet channel to the old v4 discovery packet handler where all invalid packets are sent. These packets are then processed by v5. v5 packets are always invalid when interpreted by v4 and vice versa. This is ensured by adding one to the first byte of the packet hash in v5 packets. DiscoveryV5Bootnodes is also changed to point to new bootnodes that are implementing the changed packet format with modified hash. Existing and new v5 bootnodes are both running on different ports ATM.
* dashboard: deep state update, version in footer (#15837)Kurkó Mihály2018-01-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * dashboard: footer, deep state update * dashboard: resolve asset path * dashboard: remove bundle.js * dashboard: prevent state update on every reconnection * dashboard: fix linter issue * dashboard, cmd: minor UI fix, include commit hash * remove geth binary * dashboard: gitCommit renamed to commit * dashboard: move the geth version to the right, make commit optional * dashboard: commit limited to 7 characters * dashboard: limit commit length on client side * dashboard: run go generate
* common/fdlimit: Move fdlimit files to separate package (#15850)Ricardo Domingos2018-01-125-218/+3
| | | | | | | | | | | | | | * common/fdlimit: Move fdlimit files to separate package When go-ethereum is used as a library the calling program need to set the FD limit. This commit extract fdlimit files to a separate package so it can be used outside of go-ethereum. * common/fdlimit: Remove FdLimit from functions signature * common/fdlimit: Rename fdlimit functions
* cmd/utils: handle git commit a bit safer for user specified strings (#15790)Evangelos Pappas2018-01-041-1/+1
| | | | | | * cmd/utils/flags.go: Applying a String len guard for the gitCommit param of the NewApp() * cmd/utils: remove redundant clause in if condition
* all: switch gas limits from big.Int to uint64Péter Szilágyi2018-01-031-2/+2
|
* cmd/utils: add check on fd hard limit, skip test if below target (#15684)lash2017-12-214-1/+37
| | | | | | | | | | * cmd/utils: Add check on hard limit, skip test if below target * cmd/utils: Cross platform compatible fd limit test * cmd/utils: Remove syscall.Rlimit in test * cmd/utils: comment fd utility method
* cmd/utils, eth: init etherbase from within eth (#15528)Péter Szilágyi2017-12-101-9/+6
|
* cmd/utils: bootstrap nodes in config file were not respectedMaximilian Meister2017-11-261-0/+2
| | | | Signed-off-by: Maximilian Meister <mmeister@suse.de>
* cmd/utils: disallow --lightserv in light mode (#15514)Paul Litvak2017-11-241-4/+32
| | | | | | | | * Disallow --lightserv in light mode * Reformatted * cmd/utils: reduce nesting levels a bit
* cmd, consensus, eth: split ethash related config to it own (#15520)gary rong2017-11-241-15/+19
| | | | | | | | | | * cmd, consensus, eth: split ethash related config to it own * eth, consensus: minor polish * eth, consenus, console: compress pow testing config field to single one * consensus, eth: document pow mode
* cmd, dashboard: dashboard using React, Material-UI, Recharts (#15393)Kurkó Mihály2017-11-151-0/+41
| | | | | | | | | | | | * cmd, dashboard: dashboard using React, Material-UI, Recharts * cmd, dashboard, metrics: initial proof of concept dashboard * dashboard: delete blobs * dashboard: gofmt -s -w . * dashboard: minor text and code polishes
* cmd, consensus, core, miner: instatx clique for --dev (#15323)Péter Szilágyi2017-10-241-13/+33
| | | | | | | | * cmd, consensus, core, miner: instatx clique for --dev * cmd, consensus, clique: support configurable --dev block times * cmd, core: allow --dev to use persistent storage too
* cmd, eth: separate out FakePeer for future reusePéter Szilágyi2017-10-101-7/+14
|
* cmd/geth: fix --password typoayeowch2017-09-271-1/+1
|
* core, eth/downloader: commit block data using batches (#15115)Felix Lange2017-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ethdb: add Putter interface and Has method * ethdb: improve docs and add IdealBatchSize * ethdb: remove memory batch lock Batches are not safe for concurrent use. * core: use ethdb.Putter for Write* functions This covers the easy cases. * core/state: simplify StateSync * trie: optimize local node check * ethdb: add ValueSize to Batch * core: optimize HasHeader check This avoids one random database read get the block number. For many uses of HasHeader, the expectation is that it's actually there. Using Has avoids a load + decode of the value. * core: write fast sync block data in batches Collect writes into batches up to the ideal size instead of issuing many small, concurrent writes. * eth/downloader: commit larger state batches Collect nodes into a batch up to the ideal size instead of committing whenever a node is received. * core: optimize HasBlock check This avoids a random database read to get the number. * core: use numberCache in HasHeader numberCache has higher capacity, increasing the odds of finding the header without a database lookup. * core: write imported block data using a batch Restore batch writes of state and add blocks, tx entries, receipts to the same batch. The change also simplifies the miner. This commit also removes posting of logs when a forked block is imported. * core: fix DB write error handling * ethdb: use RLock for Has * core: fix HasBlock comment
* eth: use maxpeers from p2p layer instead of extra configPéter Szilágyi2017-09-061-4/+0
|
* cmd/geth: fix --nousb typo (#15040)Oli Bye2017-08-251-1/+1
|
* core, light: send chain events using event.Feed (#14865)Miya Chen2017-08-181-2/+1
|
* cmd: add makecache cmd, use caches during import cmdPéter Szilágyi2017-08-041-1/+4
|
* cmd, core, eth: journal local transactions to disk (#14784)Péter Szilágyi2017-07-281-0/+16
| | | | | | | | | | * core: reduce txpool event loop goroutines and sync structs * cmd, core, eth: journal local transactions to disk * core: journal replacement pending transactions too * core: separate transaction journal from pool
* cmd, core: add --txpool.nolocals to disable local price exemptionsPéter Szilágyi2017-07-051-0/+7
|
* whisper: move flags from whisper package to utilsBas van Kervel2017-06-211-4/+18
|
* whisperv5: integrate whisper and add whisper RPC simulatorBas van Kervel2017-06-151-7/+14
|
* cmd, core, eth: configurable txpool parametersPéter Szilágyi2017-05-291-29/+91
|
* cmd/geth: reorganise help section for new cli flag handlingBas van Kervel2017-05-251-10/+14
|
* cmd, core, eth, miner: remove txpool gas price limits (#14442)Péter Szilágyi2017-05-171-1/+1
|
* cmd, node: support different bootnodes, fix default light portPéter Szilágyi2017-05-101-5/+24
|
* Merge pull request #14418 from karalabe/rinkeby-flagPéter Szilágyi2017-05-041-13/+34
|\ | | | | cmd, core, params: add --rinkeby flag for fast connectivity
| * cmd, core, params: add --rinkeby flag for fast connectivityPéter Szilágyi2017-05-041-13/+34
| |
* | cmd/geth: reorganise console/attach commands/flagsBas van Kervel2017-05-031-1/+1
|/
* cmd/geth, cmd/utils: init/removedb on light/full dbs simultaneouslyPéter Szilágyi2017-05-031-10/+4
|
* cmd/geth: reorganise account/wallet command/flagsBas van Kervel2017-04-281-1/+25
|
* whisper: switching to v5 + minor refactoring (#14387)gluk2562017-04-281-1/+1
|
* cmd, eth, les, mobile: make networkid uint64 everywherePéter Szilágyi2017-04-251-2/+2
|
* cmd, node: add --nosub and node.Config.NoUSB to disable hw walletsPéter Szilágyi2017-04-201-0/+7
|
* cmd/utils, node: remove unused solc references and improve RPC config (#14324)bas-vk2017-04-131-16/+7
| | | | | 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 Lange2017-04-122-249/+354
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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, les, eth, eth/gasprice: using new gas price oracle (#13853)Felföldi Zsolt2017-04-061-33/+9
| | | | | | | | | | | | * cmd, les, eth, eth/gasprice: using new gas price oracle * eth/gasprice: renamed source file * eth/gasprice: added security checks for gpo params * eth/gasprice: fixed naming issues * eth/gasprice: max limit, maxEmpty
* core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-051-5/+5
| | | | | This commit adds pluggable consensus engines to go-ethereum. In short, it introduces a generic consensus interface, and refactors the entire codebase to use this interface.
* core: refactor genesis handlingFelix Lange2017-03-231-73/+18
| | | | | | | | | | | | | | | | | | | | | | | | This commit solves several issues concerning the genesis block: * Genesis/ChainConfig loading was handled by cmd/geth code. This left library users in the cold. They could specify a JSON-encoded string and overwrite the config, but didn't get any of the additional checks performed by geth. * Decoding and writing of genesis JSON was conflated in WriteGenesisBlock. This made it a lot harder to embed the genesis block into the forthcoming config file loader. This commit changes things so there is a single Genesis type that represents genesis blocks. All uses of Write*Genesis* are changed to use the new type instead. * If the chain config supplied by the user was incompatible with the current chain (i.e. the chain had already advanced beyond a scheduled fork), it got overwritten. This is not an issue in practice because previous forks have always had the highest total difficulty. It might matter in the future though. The new code reverts the local chain to the point of the fork when upgrading configuration. The change to genesis block data removes compression library dependencies from package core.
* all: finish integrating Go ethash, delete C++ vendorPéter Szilágyi2017-03-091-7/+8
|
* cmd, eth, les, node, pow: disk caching and progress reportsPéter Szilágyi2017-03-091-1/+60
|
* all: swap out the C++ ethash to the pure Go one (mining todo)Péter Szilágyi2017-03-091-4/+3
|
* * cmd/geth: add --nocompaction flag + multiple import filesMartin Holst Swende2017-03-081-1/+4
| | | | | | | | | | * main,import: Add --nocompaction flag + multiple import files * geth/import: documentation * import: Added more info to err message * fix :P
* Logger updates 3 (#3730)Péter Szilágyi2017-03-022-13/+12
| | | | | | | | * accounts, cmd, eth, ethdb: port logs over to new system * ethdb: drop concept of cache distribution between dbs * eth: fix some log nitpicks to make them nicer
* cmd/utils, core, params: fork all teh things for dev mode (#3697)Jeffrey Wilcke2017-03-011-0/+2
|
* common: move big integer math to common/math (#3699)Felix Lange2017-02-273-50/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * common: remove CurrencyToString Move denomination values to params instead. * common: delete dead code * common: move big integer operations to common/math This commit consolidates all big integer operations into common/math and adds tests and documentation. There should be no change in semantics for BigPow, BigMin, BigMax, S256, U256, Exp and their behaviour is now locked in by tests. The BigD, BytesToBig and Bytes2Big functions don't provide additional value, all uses are replaced by new(big.Int).SetBytes(). BigToBytes is now called PaddedBigBytes, its minimum output size parameter is now specified as the number of bytes instead of bits. The single use of this function is in the EVM's MSTORE instruction. Big and String2Big are replaced by ParseBig, which is slightly stricter. It previously accepted leading zeros for hexadecimal inputs but treated decimal inputs as octal if a leading zero digit was present. ParseUint64 is used in places where String2Big was used to decode a uint64. The new functions MustParseBig and MustParseUint64 are now used in many places where parsing errors were previously ignored. * common: delete unused big integer variables * accounts/abi: replace uses of BytesToBig with use of encoding/binary * common: remove BytesToBig * common: remove Bytes2Big * common: remove BigTrue * cmd/utils: add BigFlag and use it for error-checked integer flags While here, remove environment variable processing for DirectoryFlag because we don't use it. * core: add missing error checks in genesis block parser * common: remove String2Big * cmd/evm: use utils.BigFlag * common/math: check for 256 bit overflow in ParseBig This is supposed to prevent silent overflow/truncation of values in the genesis block JSON. Without this check, a genesis block that set a balance larger than 256 bits would lead to weird behaviour in the VM. * cmd/utils: fixup import
* cmd, whisper/mailserver: revert to utils.FatalfPéter Szilágyi2017-02-232-22/+21
|
* accounts, cmd: port packages over to the new logging systemPéter Szilágyi2017-02-231-9/+0
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-232-38/+36
|
* accounts, cmd, eth, internal, miner, node: wallets and HD APIsPéter Szilágyi2017-02-131-1/+1
|
* accounts, cmd, eth, internal, mobile, node: split account backendsPéter Szilágyi2017-02-131-7/+13
|
* les, cmd/util: disable topic discovery with --nodiscoverZsolt Felfoldi2017-01-271-2/+6
|
* Merge pull request #3579 from bas-vk/natspecPéter Szilágyi2017-01-171-5/+0
|\ | | | | cmd,eth,les,internal: remove natspec support
| * cmd,eth,les,internal: remove natspec supportBas van Kervel2017-01-171-5/+0
| |
* | cmd/geth, core: add support for recording SHA3 preimages (#3543)Nick Johnson2017-01-171-1/+7
|/
* core: remove support for Olympic networkBas van Kervel2017-01-121-31/+3
|
* Merge pull request #3546 from fjl/deps-updatePéter Szilágyi2017-01-111-4/+1
|\ | | | | vendor: update dependencies
| * vendor: update all dependencies except Azure SDKFelix Lange2017-01-111-4/+1
| | | | | | | | | | The Azure SDK doesn't support Go 1.5 anymore. We can't upgrade it until Go 1.8 comes out.
* | cmd/utils: fix comma-separated --bootnodesFelix Lange2017-01-111-4/+4
|/
* all: fix ineffectual assignments and remove uses of crypto.Sha3Felix Lange2017-01-091-6/+1
| | | | | go get github.com/gordonklaus/ineffassign ineffassign .
* logger, pow/dagger, pow/ezp: delete dead codeFelix Lange2017-01-071-1/+0
|
* all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-071-1/+1
|
* Merge pull request #3518 from fjl/ethclient-dependency-cleanupPéter Szilágyi2017-01-061-17/+14
|\ | | | | core/types: dependency cleanup
| * params: avoid importing p2p/discover for bootnodesFelix Lange2017-01-061-17/+14
| | | | | | | | | | params is imported by leaf-ish library packages and should not pull in the p2p stack.
* | Merge pull request #3515 from bas-vk/exportropstenPéter Szilágyi2017-01-051-0/+8
|\ \ | |/ |/| core,cmd/utils: bugfix for ropsten dump imports
| * core,cmd/utils: bugfix for ropsten dump importsBas van Kervel2017-01-051-0/+8
| |
* | cmd/utils: disallow `--fakepow` for live operation (#3512)Péter Szilágyi2017-01-051-1/+0
|/
* cmd/utils, eth, les: bubble --fakepow flag into eth/les tooPéter Szilágyi2017-01-041-0/+1
|
* cmd/utils, eth: Add gzip support for chain dump and restoreNick Johnson2016-12-141-3/+28
|
* cmd/utils: update helpscreen's testnet description (#3377)Luca Zeug2016-11-291-1/+1
|
* cmd: drop DAO related choice flags since ETC divergedPéter Szilágyi2016-11-291-16/+0
|
* cmd/bzzd: swarm daemon fixes (#3359)Viktor Trón2016-11-281-1/+1
| | | | | | | | | | | | * cmd/bzzd: add missing p2p/discovery flags * cmd/bzzd: fix two bugs crashing bzzd if bootnodes flag given * cmd/bzzd: make no swap default, renamed flag bzznoswap->bzzswap * internal/web3ext: correct methods for bzz IPC module * cmd/bzzd: ethapi param not mandatory. Warning if no blockchain * cmd/bzzd: correct default IPC modules in help string * cmd/utils: fix help description for networkId - add Ropsten * cmd/bzz, swarm/api, swarm/network: add swarm networkId flag * cmd/bzzd: change nosync flag to sync and BootTFlag
* cmd, ethstats, les, mobile, params: native netstats (#3336)Péter Szilágyi2016-11-252-69/+27
|
* Merge pull request #3325 from fjl/p2p-netrestrictFelix Lange2016-11-251-0/+15
|\ | | | | Prevent relay of invalid IPs, add --netrestrict
| * cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrictFelix Lange2016-11-231-0/+15
| |
* | cmd/utils, internal/web3ext: removed httpGetJeffrey Wilcke2016-11-251-1/+1
| |
* | cmd/utils, VERSION: 1.5.4 unstableFelix Lange2016-11-251-4/+4
| |
* | cmd/utils: 1.5.3 stablev1.5.3Felix Lange2016-11-251-4/+4
| |
* | core: implemented new ropsten testnetJeffrey Wilcke2016-11-231-23/+9
| |
* | cmd/geth, core, light, mobile: removed state account StartingNonceJeffrey Wilcke2016-11-231-3/+0
|/ | | | All account's nonce start at 0.
* cmd/utils, VERSION: 1.5.3 unstable (#3306)Nick Johnson2016-11-181-2/+2
|
* cmd/utils: Set version string to stable (#3304)Nick Johnson2016-11-181-1/+1
|
* cmd/utils, VERSION: 1.5.2 unstableFelix Lange2016-11-171-4/+4
|
* utils: bump stableJeffrey Wilcke2016-11-161-4/+4
|
* cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272)Péter Szilágyi2016-11-161-49/+28
|
* cmd/utils: remove jit flag handling (#3273)Felix Lange2016-11-161-14/+0
| | | | The jit config options are not handled, but random selection still took place, printing confusing messages.
* utils: unstable 1.5.1Jeffrey Wilcke2016-11-151-4/+4
|
* utils: stable 1.5.0Jeffrey Wilcke2016-11-151-4/+4
|
* core, core/types: refactored tx chain id checking (#3257)Jeffrey Wilcke2016-11-151-0/+7
|\ | | | | | | | | | | | | | | * core, core/types: refactored tx chain id checking Refactored explicit chain id checking in to the Sender deriviation method * cmd/utils, params: define chain ids
| * cmd/utils, params: define chain idsJeffrey Wilcke2016-11-151-0/+7
| |
* | cmd/utils, mobile: place bootnodes in LGPL packagesPéter Szilágyi2016-11-152-55/+3
| |
* | mobile: port wrappers to EIP155 and EIP158 forkPéter Szilágyi2016-11-151-20/+0
| |
* | cmd, mobile, node, p2p: surface the discovery V5 bootnodesPéter Szilágyi2016-11-152-2/+36
| |
* | cmd/utils, mobile: update to reprice HF and light clientPéter Szilágyi2016-11-141-6/+10
| |
* | mobile: initial wrappers for mobile supportPéter Szilágyi2016-11-142-8/+26
|/
* cmd/utils: set temporary HF numberJeffrey Wilcke2016-11-131-13/+28
|
* core/types, params: EIP#155Jeffrey Wilcke2016-11-131-0/+4
|
* core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-131-15/+16
| | | | | | | | | | | | | | | This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
* all: update license informationFelix Lange2016-11-091-1/+1
|
* p2p/discv5: added new topic discovery packageZsolt Felfoldi2016-11-091-6/+11
|
* cmd, eth: added light client and light server modeszsfelfoldi2016-11-091-5/+53
|
* Merge pull request #3195 from karalabe/fix-testnet-fastsyncPéter Szilágyi2016-10-291-19/+35
|\ | | | | cmd/utils, core, params: explicitly pick reprice fork for fast sync
| * cmd, params: only set default fork configs for test and mainnetPéter Szilágyi2016-10-291-25/+34
| |
| * cmd/utils, core, params: explicitly pick reprice fork for fast syncPéter Szilágyi2016-10-291-0/+7
| |
* | whisper: project restructured, version 5 introduced (#3022)gluk2562016-10-291-1/+1
|/ | | | | | | whisper: project restructured, version 5 introduced This commits adds a draft version of the new shh v5 protocol. The new version is not on by default, --shh still selects version 2.
* Godeps, vendor: convert dependency management to trash (#3198)Péter Szilágyi2016-10-291-5/+0
| | | | | | | | | | | | | | | | | | | | | | | This commit converts the dependency management from Godeps to the vendor folder, also switching the tool from godep to trash. Since the upstream tool lacks a few features proposed via a few PRs, until those PRs are merged in (if), use github.com/karalabe/trash. You can update dependencies via trash --update. All dependencies have been updated to their latest version. Parts of the build system are reworked to drop old notions of Godeps and invocation of the go vet command so that it doesn't run against the vendor folder, as that will just blow up during vetting. The conversion drops OpenCL (and hence GPU mining support) from ethash and our codebase. The short reasoning is that there's noone to maintain and having opencl libs in our deps messes up builds as go install ./... tries to build them, failing with unsatisfied link errors for the C OpenCL deps. golang.org/x/net/context is not vendored in. We expect it to be fetched by the user (i.e. using go get). To keep ci.go builds reproducible the package is "vendored" in build/_vendor.
* cmd, core/state: allow configurable trie cache generationsPéter Szilágyi2016-10-191-5/+15
|
* core, core/vm: added gas price variance tableJeffrey Wilcke2016-10-151-0/+7
| | | | | | | | | | | | | This implements 1b & 1c of EIP150 by adding a new GasTable which must be returned from the RuleSet config method. This table is used to determine the gas prices for the current epoch. Please note that when the CreateBySuicide gas price is set it is assumed that we're in the new epoch phase. In addition this PR will serve as temporary basis while refactorisation in being done in the EVM64 PR, which will substentially overhaul the gas price code.
* Merge pull request #2914 from fjl/node-coinhabitFelix Lange2016-09-292-34/+46
|\ | | | | cmd/utils, node: make datadir reusable for bzzd
| * common, node: move datadir defaults into package nodeFelix Lange2016-09-162-10/+20
| |
| * node: ensure datadir can be co-inhabited by different instancesFelix Lange2016-09-161-24/+26
| | | | | | | | | | This change ensures that nodes started with different Name but same DataDir values don't use the same nodekey and IPC socket.
* | cmd/utils: don't check for stderr redirect on windowsFelix Lange2016-09-261-4/+11
|/ | | | | | | | The redirect check did not work on Go 1.6 and below because Stat returned an error for stdout and stderr. In Go 1.7 Stat works on stdout but doesn't return anything meaningful, causing cmd/geth test failures because the message is printed to stderr only. Fix it by printing to stdout only.
* cmd, eth: drop the blockchain version from cli/eth configsPéter Szilágyi2016-09-151-6/+0
|
* cmd/evm, cmd/geth, cmd/utils: move version handling to cmd/utilsFelix Lange2016-09-052-11/+77
|
* contracts/release: move package release to contracts/Felix Lange2016-08-301-1/+1
| | | | | | This change also deletes generator.go, moving the only interesting line in it into release.go. The binding has been regenerated with abigen from develop and solc v0.3.6.
* cmd/utils: removed DAO oppose / support messageJeffrey Wilcke2016-08-221-17/+0
|
* cmd/utils, node: create account manager in package nodeFelix Lange2016-08-171-85/+50
| | | | | | | | | | | | | | | 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.
* rpc: add new client, use it everywhereFelix Lange2016-07-231-55/+0
| | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum.
* cmd/utils, eth: display the user's current fork, minor text tweakPéter Szilágyi2016-07-161-1/+19
|
* cmd, core, eth, miner, params, tests: finalize the DAO forkPéter Szilágyi2016-07-151-4/+5
|
* cmd, core, miner: add extradata validation to consensus rulesPéter Szilágyi2016-07-151-27/+26
|
* cmd, core, eth, params: implement flags to control dao fork blocksPéter Szilágyi2016-07-151-36/+40
|
* Merge pull request #2159 from zsfelfoldi/light-backendPéter Szilágyi2016-06-301-0/+7
|\ | | | | eth: separate common and full node-specific API and backend service
| * eth: separate common and full node-specific API and backend servicezsfelfoldi2016-06-161-0/+7
| |
* | Revert "test, cmd/evm, core, core/vm: illegal code hash implementation"Péter Szilágyi2016-06-291-16/+0
| | | | | | | | This reverts commit 7a5b571c671e70e0e4807cf971c15e2d1e09d33d.
* | Revert "core: add voting and result tracking for the dao soft-fork"Péter Szilágyi2016-06-291-7/+7
| | | | | | | | This reverts commit c4de28938ff8c688c4444c8b3e8e28a52cbc62ff.
* | Revert "core: update DAO soft-fork number, clean up the code"Péter Szilágyi2016-06-291-7/+16
| | | | | | | | This reverts commit ba784bdf36f2daf7827ec1ec864f3393ba8d86a0.
* | core: update DAO soft-fork number, clean up the codePéter Szilágyi2016-06-231-16/+7
| |
* | core: add voting and result tracking for the dao soft-forkPéter Szilágyi2016-06-231-7/+7
| |
* | test, cmd/evm, core, core/vm: illegal code hash implementationJeffrey Wilcke2016-06-221-0/+16
| | | | | | | | | | | | | | | | This implements a generic approach to enabling soft forks by allowing anyone to put in hashes of contracts that should not be interacted from. This will help "The DAO" in their endevour to stop any whithdrawals from any DAO contract by convincing the mining community to accept their code hash.
* | cmd/utils: add space between "to" and filenameTosh Camille2016-06-151-5/+5
|/
* Merge pull request #2455 from zsfelfoldi/chaindbJeffrey Wilcke2016-06-131-1/+1
|\ | | | | core: improved chain db performance by using sequential keys
| * core: improved chainDb using sequential keyszsfelfoldi2016-06-071-1/+1
| |
* | cmd/geth: codegansta/cli package renamed to urfave/cliBas van Kervel2016-06-093-3/+3
|/
* cmd, console: split off the console into a reusable packagePéter Szilágyi2016-05-303-400/+18
|
* cmd/utils: fix build on *BSDFelix Lange2016-05-092-1/+55
|
* cmd/utils: flush trace and CPU profile data when force-quttingFelix Lange2016-05-061-4/+2
| | | | Also reduce log messages a little bit.
* release, all: integrate the release service into gethPéter Szilágyi2016-05-021-8/+6
|
* common/versions, cmd/utils: add geth version contractGustav Simonsson2016-05-021-0/+7
|
* cmd: add a `--fakepow` flag to help benchmarking database changesPéter Szilágyi2016-04-211-3/+10
|
* all: fix go vet warningsFelix Lange2016-04-151-6/+3
|
* all: update license informationFelix Lange2016-04-152-14/+14
|
* cmd/utils: strip excessive whitespace from api command line argumentsBas van Kervel2016-04-141-2/+12
|
* cmd/utils: fix accounts merge error on console unlockPéter Szilágyi2016-04-121-3/+2
|
* cmd/utils: fix --password on WindowsFelix Lange2016-04-121-9/+14
| | | | | Text files created on Windows typically have \r\n line endings. Trim them when reading password files.
* accounts: streamline APIFelix Lange2016-04-121-11/+7
| | | | | | - Manager.Accounts no longer returns an error. - Manager methods take Account instead of common.Address. - All uses of Account with unkeyed fields are converted.
* accounts, crypto: move keystore to package accountsFelix Lange2016-04-121-12/+7
| | | | | | | | | | The account management API was originally implemented as a thin layer around crypto.KeyStore, on the grounds that several kinds of key stores would be implemented later on. It turns out that this won't happen so KeyStore is a superflous abstraction. In this commit crypto.KeyStore and everything related to it moves to package accounts and is unexported.
* cmd/geth, cmd/utils: improve input handlingFelix Lange2016-04-123-54/+103
| | | | | | | | | | | | | | | | | | | These changes make prompting behave consistently on all platforms: * The input buffer is now global. Buffering was previously set up for each prompt, which can cause weird behaviour, e.g. when running "geth account update <input.txt" where input.txt contains three lines. In this case, the first password prompt would fill up the buffer with all lines and then use only the first one. * Print the "unsupported terminal" warning only once. Now that stdin prompting has global state, we can use it to track the warning there. * Work around small liner issues, particularly on Windows. Prompting didn't work under most of the third-party terminal emulators on Windows because liner assumes line editing is always available.
* Merge pull request #2359 from bas-vk/rpc-optional-argsJeffrey Wilcke2016-04-122-105/+80
|\ | | | | rpc: several fixes and support for optional arguments
| * rpc: various fixes/enhancementsBas van Kervel2016-04-122-105/+80
| | | | | | | | | | | | | | | | 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
* | Merge pull request #2431 from bas-vk/js-preloadJeffrey Wilcke2016-04-121-0/+4
|\ \ | | | | | | cmd/geth: add JS preload parameter
| * | cmd/geth: add JS preload parameterBas van Kervel2016-04-111-0/+4
| |/
* / cmd/utils: bugfix where database is opened multiple timesBas van Kervel2016-04-071-7/+11
|/
* Merge pull request #2378 from obscuren/enable-jit-a-bJeffrey Wilcke2016-04-041-1/+13
|\ | | | | cmd/utils, miner: A/B testing JIT VM. Disabled for miners
| * cmd/utils, miner: A/B testing JIT VM. Disabled for minersJeffrey Wilcke2016-04-011-1/+13
| | | | | | | | | | | | | | | | | | | | This PR introduces a 10% probability that you'll run the client with the JIT enabled testing the new client and helps us potentially catch errors when reported. This feature is **disabled** for miners (disabling the JIT completely). The JIT can however be force for miners if they enable both --jitvm and --forcejit.
* | cmd/utils: fix geth startup with empty databaseFelix Lange2016-04-021-14/+13
|/
* core: added basic chain configurationJeffrey Wilcke2016-04-011-19/+53
| | | | | | | | | Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings.
* Merge pull request #2141 from obscuren/evm-initJeffrey Wilcke2016-03-241-11/+2
|\ | | | | core, core/vm, tests: changed the initialisation behaviour of the EVM
| * core, eth, cmd: temporary work around for enabling the jitJeffrey Wilcke2016-03-241-0/+2
| | | | | | | | | | This commit serves as a temporary workaround for enabling the jit until the block customisation PR is merged in.
| * core: Added EVM configuration optionsJeffrey Wilcke2016-03-241-11/+0
| | | | | | | | | | The EVM is now initialised with an additional configured object that allows you to turn on debugging options.
* | Merge pull request #2371 from hiddentao/fix_prompt_passwd_inputJeffrey Wilcke2016-03-241-0/+1
|\ \ | | | | | | Strip extraneous carriage return from end of entered password
| * | cmd/utils: removed password line endings when not using liner.Ramesh Nair2016-03-231-0/+1
| |/
* | Merge pull request #2259 from bas-vk/httpJeffrey Wilcke2016-03-231-1/+1
|\ \ | |/ |/| rpc/http: improve request handling
| * rpc/http: improve request handlingBas van Kervel2016-03-231-1/+1
| |
* | cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panicFelix Lange2016-03-121-1/+2
|/ | | | | Go 1.6 only prints stacks for the current goroutine by default, but for this panic we want to see all of them.
* cmd, eth, ethdb, node: prioritise chaindata for resources, bump cachePéter Szilágyi2016-03-094-2/+146
|
* console: allow optional password on the command lineBas van Kervel2016-03-081-9/+15
|
* cmd/utils: add --keystoreKobi Gurkan2016-03-081-2/+17
|
* cmd/utils, params: homestead blockJeffrey Wilcke2016-02-291-0/+2
|
* cmd/utils: lower the min accepted gas price for relay and GPO to 20 shannonJeffrey Wilcke2016-02-291-2/+2
|
* Merge pull request #2175 from karalabe/refactor-http-rpcPéter Szilágyi2016-02-132-176/+39
|\ | | | | cmd, common, node, rpc: move HTTP RPC into node, drop singleton aspect
| * cmd, node, rpc: readd inproc RPC client, expose via nodePéter Szilágyi2016-02-091-1/+0
| |
| * cmd, common, node, rpc: rework naming convention to canonical onePéter Szilágyi2016-02-092-27/+27
| |
| * cmd, node, rpc: move websockets into node, break singletonPéter Szilágyi2016-02-052-143/+15
| |
| * cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspectPéter Szilágyi2016-02-051-28/+20
| |
* | cmd/utils: fix jspath flag typoIsidoro Ghezzi2016-02-051-1/+1
|/
* cmd, common, node, rpc: move IPC into the node itselfPéter Szilágyi2016-02-042-62/+13
|
* internal/debug: APIs for profiling and tracingFelix Lange2016-01-281-54/+6
| | | | | | 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-264-143/+587
|
* core, eth, node, rpc: port the admin and debug APIPéter Szilágyi2015-12-151-1/+1
|
* rpc: new RPC implementation with pub/sub supportBas van Kervel2015-12-142-5/+121
|
* cmd/utils: restore starting geth without any accounts and etherbaseFelix Lange2015-12-011-19/+13
| | | | Also remove some duplication around address/index parsing.
* cmd, eth, node, rpc, xeth: use single-instance servicesPéter Szilágyi2015-11-271-3/+7
|
* cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacksPéter Szilágyi2015-11-273-130/+327
|
* cmd/geth, cmd/utils: removed legaleseJeffrey Wilcke2015-11-192-51/+0
| | | | Removed the legalese confirmation dialog. This closes #1992
* core, eth, rpc: split out block validator and state processorJeffrey Wilcke2015-11-181-2/+0
| | | | | | | | | | | | This removes the burden on a single object to take care of all validation and state processing. Now instead the validation is done by the `core.BlockValidator` (`types.Validator`) that takes care of both header and uncle validation through the `ValidateBlock` method and state validation through the `ValidateState` method. The state processing is done by a new object `core.StateProcessor` (`types.Processor`) and accepts a new state as input and uses that to process the given block's transactions (and uncles for rewords) to calculate the state root for the next block (P_n + 1).
* cmd/geth, cmd/utils: surface the light KDF flag to the CLIPéter Szilágyi2015-11-101-2/+2
|
* Merge pull request #1949 from karalabe/update-command-usageJeffrey Wilcke2015-10-301-67/+52
|\ | | | | cmd/geth, cmd/utils, eth: group CLI flags by purpose
| * cmd/geth, cmd/utils, eth: group CLI flags by purposePéter Szilágyi2015-10-301-67/+52
| |
* | cmd/utils, rpc/comms: stop XEth when IPC connection endsFelix Lange2015-10-301-7/+4
|/ | | | | | | | | | | There are a bunch of changes required to make this work: - in miner: allow unregistering agents, fix RemoteAgent.Stop - in eth/filters: make FilterSystem.Stop not crash - in rpc/comms: move listen loop to platform-independent code Fixes #1930. I ran the shell loop there for a few minutes and didn't see any changes in the memory profile.
* cmd/utils, crypto: add --lightkdf flag for lighter KDFDrake Burroughs2015-10-291-1/+11
|
* rpc api: eth_getNatSpeczelig2015-10-271-2/+8
| | | | | | | | * xeth, rpc: implement eth_getNatSpec for tx confirmations * rename silly docserver -> httpclient * eth/backend: httpclient now accessible via eth.Ethereum init-d via config.DocRoot * cmd: introduce separate CLI flag for DocRoot (defaults to homedir) * common/path: delete unused assetpath func, separate HomeDir func
* console:zelig2015-10-222-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lines with leading space are ommitted from history * exit processed even with whitespace around * all whitespace lines (not only empty ones) are ignored add 7 missing commands to admin api autocomplete registrar: methods now return proper error if reg addresses are not set. fixes #1457 rpc/console: fix personal.newAccount() regression. Now all comms accept interactive password registrar: add registrar tests for errors crypto: catch AES decryption error on presale wallet import + fix error msg format. fixes #1580 CLI: improve error message when starting a second instance of geth. fixes #1564 cli/accounts: unlock multiple accounts. fixes #1785 * make unlocking multiple accounts work with inline <() fd * passwdfile now correctly read only once * improve logs * fix CLI help text for unlocking fix regression with docRoot / admin API * docRoot/jspath passed to rpc/api ParseApis, which passes onto adminApi * docRoot field for JS console in order to pass when RPC is (re)started * improve flag desc for jspath common/docserver: catch http errors from response fix rpc/api tests common/natspec: fix end to end test (skipped because takes 8s) registrar: fix major regression: * deploy registrars on frontier * register HashsReg and UrlHint in GlobalRegistrar. * set all 3 contract addresses in code * zero out addresses first in tests
* Merge pull request #1883 from obscuren/jit-vm-optimisationsJeffrey Wilcke2015-10-221-0/+3
|\ | | | | core/vm: JIT segmentation
| * core/vm: added JIT segmenting / optimisationsJeffrey Wilcke2015-10-171-0/+3
| | | | | | | | | | * multi-push segments * static jumps segments
* | eth: clean out light node notions from ethPéter Szilágyi2015-10-191-35/+4
| |
* | cmd, eth: support switching client modes of operationPéter Szilágyi2015-10-191-3/+21
|/
* Merge pull request #1869 from Gustav-Simonsson/gpu_minerJeffrey Wilcke2015-10-161-0/+6
|\ | | | | all: Add GPU mining, disabled by default
| * all: Add GPU mining, disabled by defaultGustav Simonsson2015-10-071-0/+6
| |
* | Merge pull request #1888 from obscuren/testnetJeffrey Wilcke2015-10-091-0/+18
|\ \ | | | | | | cmd, core, eth: added official testnet
| * | cmd, core, eth: added official testnetJeffrey Wilcke2015-10-091-0/+18
| | |
* | | cmd: properly initialize Olympic for all subcommandsPéter Szilágyi2015-10-072-14/+16
|/ /
* / cmd/geth, cmd/utils, core, rpc: renamed to blockchainJeffrey Wilcke2015-10-042-8/+8
|/ | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted.
* common: fix #1818, secondary datadir paths to fall back toPéter Szilágyi2015-10-011-3/+13
|
* all: move common.Database to package ethdbFelix Lange2015-09-151-1/+1
|
* cmd/geth, cmd/utils, eth: added dev mode flagJeffrey Wilcke2015-09-091-1/+32
| | | | | | | | | | | | Dev mode enabled some debugging flags such as: * VM debugging mode * Simpler proof of work * Whisper enabled by default * Datadir to a tmp datadir * Maxpeers set to 0 * Gas price of 0 * Random listen port
* eth: port the synchronisation algo to eth/62Péter Szilágyi2015-08-251-1/+1
|
* eth, eth/downloader: handle header requests, table driven proto testsPéter Szilágyi2015-08-241-0/+17
|
* Merge pull request #1635 from bas-vk/useragentJeffrey Wilcke2015-08-141-9/+16
|\ | | | | support for user agents
| * support for user agentsBas van Kervel2015-08-121-9/+16
| |
* | cmd/evm, core/vm, tests: changed DisableVm to EnableVmJeffrey Wilcke2015-08-121-1/+1
|/
* Merge pull request #1604 from obscuren/db-mergeJeffrey Wilcke2015-08-091-12/+6
|\ | | | | core, eth, trie, xeth: merged state, chain, extra databases in one
| * core, eth, trie, xeth: merged state, chain, extra databases in oneJeffrey Wilcke2015-08-081-12/+6
| |