aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
Commit message (Collapse)AuthorAgeFilesLines
* core: remove unused gas return in ApplyTransaction (#20065)Rob Mulholand2019-09-131-1/+1
|
* all: make unit tests work with Go 1.13 (#20053)Felix Lange2019-09-112-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of these changes are related to the Go 1.13 changes to test binary flag handling. * cmd/geth: make attach tests more reliable This makes the test wait for the endpoint to come up by polling it instead of waiting for two seconds. * tests: fix test binary flags for Go 1.13 Calling flag.Parse during package initialization is prohibited as of Go 1.13 and causes test failures. Call it in TestMain instead. * crypto/ecies: remove useless -dump flag in tests * p2p/simulations: fix test binary flags for Go 1.13 Calling flag.Parse during package initialization is prohibited as of Go 1.13 and causes test failures. Call it in TestMain instead. * build: remove workaround for ./... vendor matching This workaround was necessary for Go 1.8. The Go 1.9 release changed the expansion rules to exclude vendored packages. * Makefile: use relative path for GOBIN This makes the "Run ./build/bin/..." line look nicer. * les: fix test binary flags for Go 1.13 Calling flag.Parse during package initialization is prohibited as of Go 1.13 and causes test failures. Call it in TestMain instead.
* retesteth: enable maxResults in AccountRange (#20020)winsvega2019-09-021-1/+1
|
* Merge pull request #20004 from karalabe/istanbul-overridePéter Szilágyi2019-08-232-0/+5
|\ | | | | cmd, core, eth, les: support --override.istanbul
| * acmd, core, eth, les: support --override.istanbulPéter Szilágyi2019-08-232-0/+5
| |
* | retesteth: implement istanbul supportMartin Holst Swende2019-08-231-0/+7
|/
* cmd/geth: set up cache and metrics when starting node (#19911)gary rong2019-08-152-40/+46
|
* all: replace passPHRASE with passWORD in user interactions (#19932)SjonHortensius2019-08-122-39/+39
| | | | | | | | | * Ref #19906 - replace passPHRASE with passWORD in any user interactions this skips doccomments and variablenames to minimize impact. It does however include a rename of the `ethkey` `changepassphrase` parameter * console: fix JavaScript error capitalization
* cmd/geth: skip 4GB memory bump for devnetPéter Szilágyi2019-07-231-1/+1
|
* cmd, contracts, eth, p2p, signer, whisper: fixed ineffectual assignments ↵Christian Muehlhaeuser2019-07-221-3/+3
| | | | | (#19869) Fixed assigning values to variables we don't end up using.
* cmd/geth, core/rawdb: add missing error checks (#19871)Christian Muehlhaeuser2019-07-221-0/+3
| | | | | | | | * Added missing error checks Add error handling where we assign err a value, but don't check for it being nil. * core/rawdb: tiny style nit
* eth: add debug_accountRange (#17438)jwasinger2019-07-131-2/+2
| | | | This adds the debug_accountRange method which returns all accounts in the state for a given block and transaction index.
* cmd, eth, les: make les flags conform to dotted stylePéter Szilágyi2019-07-102-10/+14
|
* cmd: encapsulate les relative cli optionsrjl4934564422019-07-101-2/+7
|
* cmd, eth, les: fix up ultra light config integrationPéter Szilágyi2019-07-103-6/+6
|
* cmd/geth: wrong memory size sanitizing on OpenBSD (#19793)Guillaume Ballet2019-07-051-5/+10
|
* cmd, eth, les, param: drop --override.constantinoplePéter Szilágyi2019-07-022-5/+0
|
* all: on-chain oracle checkpoint syncing (#19543)gary rong2019-06-281-8/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * all: implement simple checkpoint syncing cmd, les, node: remove callback mechanism cmd, node: remove callback definition les: simplify the registrar les: expose checkpoint rpc services in the light client les, light: don't store untrusted receipt cmd, contracts, les: discard stale checkpoint cmd, contracts/registrar: loose restriction of registeration cmd, contracts: add replay-protection all: off-chain multi-signature contract params: deploy checkpoint contract for rinkeby cmd/registrar: add raw signing mode for registrar cmd/registrar, contracts/registrar, les: fixed messages * cmd/registrar, contracts/registrar: fix lints * accounts/abi/bind, les: address comments * cmd, contracts, les, light, params: minor checkpoint sync cleanups * cmd, eth, les, light: move checkpoint config to config file * cmd, eth, les, params: address comments * eth, les, params: address comments * cmd: polish up the checkpoint admin CLI * cmd, contracts, params: deploy new version contract * cmd/checkpoint-admin: add another flag for clef mode signing * cmd, contracts, les: rename and regen checkpoint oracle with abigen
* core/state, cmd/geth: streaming json output for dump command (#15475)Martin Holst Swende2019-06-241-3/+18
| | | | | | | | | | | | * core/state, cmd/geth: streaming json output dump cmd + optional code+storage * dump: add option to continue even if preimages are missing * core, evm: lint nits * cmd: use local flags for dump, omit empty code/storage * core/state: fix state dump test
* cmd, graphql, node: graphql flag polishes, les integrationPéter Szilágyi2019-06-202-11/+11
|
* cmd: Add retesteth command (to support execution and generation of tests via ↵ledgerwatch2019-06-053-0/+1038
| | | | | | | | | | | | | | | | | | retesteth) (#19631) * Add retesteth command * Remove label and insert full version * mineBlock - break the inner loop when the block is full * Fixes for touched non-reward accounts, gas limit issues * Not fail when SendTx has transaction with incorrect RLP * Fix linter (unnecessary conversion) * retesteth: add usage string to flag
* accounts/scwallet: flag to specify path to smartcard daemon (#19439)Guillaume Ballet2019-05-312-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * accounts/scwallet: Add a switch to enable smartcard support * accounts: change the meaning of the switch * disable card support in windows until tested * only activate account if pcscd socket file is present * the switch is now the path to the socket file * accounts/scwallet: holiman's review feedback * accounts/scwallet: send the path to go-pcsclite * accounts/scwallet: add default, per platform path * accounts/scwallet: fix error log warning * accounts/scwallet: update pcsc lib to latest * accounts/scwallet: use default path from pcsclite * scwallet: forgot to change switch name * cmd: minor style cleanups (error handling first, then happy path)
* cmd/geth, core/rawdb: seamless freezer consistency, friendly removedbPéter Szilágyi2019-05-164-275/+52
|
* core, cmd, vendor: fixes and database inspection tool (#15)gary rong2019-05-164-14/+296
| | | | | | | | | | | | | | | | | | | | | | * core, eth: some fixes for freezer * vendor, core/rawdb, cmd/geth: add db inspector * core, cmd/utils: check ancient store path forceily * cmd/geth, common, core/rawdb: a few fixes * cmd/geth: support windows file rename and fix rename error * core: support ancient plugin * core, cmd: streaming file copy * cmd, consensus, core, tests: keep genesis in leveldb * core: write txlookup during ancient init * core: bump database version
* cmd, core, eth, les, node: chain freezer on top of db reworkPéter Szilágyi2019-05-163-2/+7
|
* core, eth, trie: bloom filter for trie node dedup during fast sync (#19489)Péter Szilágyi2019-05-131-4/+10
| | | | | | | | | | | | * core, eth, trie: bloom filter for trie node dedup during fast sync * eth/downloader, trie: address review comments * core, ethdb, trie: restart fast-sync bloom construction now and again * eth/downloader: initialize fast sync bloom on startup * eth: reenable eth/62 until we properly remove it
* cmd, internal/build, docker: advertise commit date in unstable build ↵C. Brown2019-05-084-4/+8
| | | | | | | | | | | | | | versions (#19522) * add-date-to unstable * fields-insteadof-split * internal/build: support building with missing git * docker: add git history back to support commit date in version * internal/build: use PR commits hashes for PR builds
* accounts, cmd, internal, signer: add note about backing up the keystore (#19432)Kurkó Mihály2019-05-072-3/+19
| | | | | | | | | | | | * accounts: add note about backing up the keystore * cmd, accounts: move the printout to accountCreate * internal, signer: add info when new account is created via rpc * cmd, internal, signer: split logs * cmd/geth: make account new output a bit more verbose
* Merge pull request #19438 from karalabe/ledger-new-derivation-pathPéter Szilágyi2019-04-251-3/+5
|\ | | | | accounts: switch Ledger derivation path to canonical one
| * accounts: switch Ledger derivation path to canonical onePéter Szilágyi2019-04-101-3/+5
| |
* | Merge pull request #18168 from karalabe/trie-better-cache-size-estimationPéter Szilágyi2019-04-181-0/+14
|\ \ | | | | | | trie: approximate the wasted cache metaspace closer
| * | cmd: special case default cache allowance (4GB mainnet, 128MB ligh)Péter Szilágyi2019-04-121-0/+14
| |/
* / eth, les, light: enforce CHT checkpoints on fast-sync tooPéter Szilágyi2019-04-171-1/+1
|/
* eth, les, geth: implement cli-configurable global gas cap for RPC calls (#19401)Martin Holst Swende2019-04-082-3/+5
| | | | | | | | * eth, les, geth: implement cli-configurable global gas cap for RPC calls * graphql, ethapi: place gas cap in DoCall * ethapi: reformat log message
* cmd: nuke geth bug, nobody is using it anywayPéter Szilágyi2019-04-052-114/+0
|
* cmd/geth, internal, node, vendor: nuke geth monitorPéter Szilágyi2019-04-052-353/+0
|
* accounts, cmd, internal: disable unlock account on open HTTP (#17037)gary rong2019-04-043-12/+31
| | | | | | | | | | * cmd, accounts, internal, node, rpc, signer: insecure unlock protect * all: strict unlock API by rpc * cmd/geth: check before printing warning log * accounts, cmd/geth, internal: tiny polishes
* all: simplify timestamps to uint64 (#19372)Martin Holst Swende2019-04-031-1/+1
| | | | | | | | | | | | | | * all: simplify timestamps to uint64 * tests: update definitions * clef, faucet, mobile: leftover uint64 fixups * ethash: fix tests * graphql: update schema for timestamp * ethash: remove unused variable
* cmd, core, eth: support disabling the concurrent state prefetcherPéter Szilágyi2019-04-012-0/+2
|
* core: split out detailed trie access metrics from insertion time (#19316)Péter Szilágyi2019-03-252-11/+4
| | | | | | * core: split out detailed trie access metrics from insertion time * cmd, core, metrics: support expensive optional metrics
* cmd, core, eth, trie: get rid of trie cache generations (#19262)Péter Szilágyi2019-03-143-6/+0
| | | | | | * cmd, core, eth, trie: get rid of trie cache generations * core, trie: get rid of remainder of cache gen boilerplate
* all: clean up and proerly abstract database accessPéter Szilágyi2019-03-062-22/+17
|
* les, les/flowcontrol: improved request serving and flow control (#18230)Felföldi Zsolt2019-02-262-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This change - implements concurrent LES request serving even for a single peer. - replaces the request cost estimation method with a cost table based on benchmarks which gives much more consistent results. Until now the allowed number of light peers was just a guess which probably contributed a lot to the fluctuating quality of available service. Everything related to request cost is implemented in a single object, the 'cost tracker'. It uses a fixed cost table with a global 'correction factor'. Benchmark code is included and can be run at any time to adapt costs to low-level implementation changes. - reimplements flowcontrol.ClientManager in a cleaner and more efficient way, with added capabilities: There is now control over bandwidth, which allows using the flow control parameters for client prioritization. Target utilization over 100 percent is now supported to model concurrent request processing. Total serving bandwidth is reduced during block processing to prevent database contention. - implements an RPC API for the LES servers allowing server operators to assign priority bandwidth to certain clients and change prioritized status even while the client is connected. The new API is meant for cases where server operators charge for LES using an off-protocol mechanism. - adds a unit test for the new client manager. - adds an end-to-end test using the network simulator that tests bandwidth control functions through the new API.
* cmd: prefer nil slices over zero-length slices (#19077)Matthew Halpern2019-02-152-4/+4
|
* cmd, node, p2p/simulations: fix node account manager leak (#19004)Janoš Guljaš2019-02-073-5/+19
| | | | | | | | | | | | | | | | | | * node: close AccountsManager in new Close method * p2p/simulations, p2p/simulations/adapters: handle node close on shutdown * node: move node ephemeralKeystore cleanup to stop method * node: call Stop in Node.Close method * cmd/geth: close node.Node created with makeFullNode in cli commands * node: close Node instances in tests * cmd/geth, node: minor code style fixes * cmd, console, miner, mobile: proper node Close() termination
* accounts, eth, clique, signer: support for external signer API (#18079)Martin Holst Swende2019-02-052-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | * accounts, eth, clique: implement external backend + move sighash calc to backend * signer: implement account_Version on external API * accounts/external: enable ipc, add copyright * accounts, internal, signer: formatting * node: go fmt * flags: disallow --dev in combo with --externalsigner * accounts: remove clique-specific signing method, replace with more generic * accounts, consensus: formatting + fix error in tests * signer/core: remove (test-) import cycle * clique: remove unused import * accounts: remove CliqueHash and avoid dependency on package crypto * consensus/clique: unduplicate header encoding
* cmd, core, params: add support for GoerliPéter Szilágyi2019-02-042-0/+2
|
* cmd,eth: 16400 Add an option to stop geth once in sync. WIP for light mode ↵lhendre2019-01-302-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#17321) * cmd, eth: Added in the flag to step geth once sync based on input * cmd, eth: 16400 Add an option to stop geth once in sync. * cmd: 16400 Add an option to stop geth once in sync. WIP * cmd/geth/main, les/fletcher: added in light mode support * cmd/geth/main, les/fletcher: Cleaned Comments and code for light mode * cmd: 16400 Fixed formatting issue and cleaned code * cmd, eth, les: 16400 Fixed formatting issues * cmd, eth, les: Performed gofmt to update formatting * cmd, eth, les: Fixed bugs resulting formatting * cmd/geth, eth/, les: switched to downloader event * eth: Fixed styling and gen_config * eth/: Fix nil error in config file * cmd/geth: Updated countdown log * les/fetcher.go: Removed depcreated channel * eth/downloader.go: Removed deprecated select * cmd/geth, cmd/utils: Fixed minor issues * eth: Reverted config files to proper format * eth: Fixed typo in config file * cmd/geth, eth/down: Updated code to use header time stamp * eth/downloader: Changed the time threshold to 10 minutes * cmd/geth, eth/downloader: Updated downloading event to pass latest header * cmd/geth: Updated main to use right timer object * cmd/geth: Removed unused failed event * cmd/geth: added in correct time field with type assertion * cmd/geth, cmd/utils: Updated flag to use boolean * cmd/geth, cmd/utils, eth/downloader: Cleaned up code based on recommendations * cmd/geth: Removed unneeded import * cmd/geth, eth/downloader: fixed event field and suggested changes * cmd/geth, cmd/utils: Updated flag and linting issue
* cmd/utils: allow for multiple influxdb tags (#18520)Anton Evangelatov2019-01-292-4/+4
| | | | | This PR is replacing the metrics.influxdb.host.tag cmd-line flag with metrics.influxdb.tags - a comma-separated key/value tags, that are passed to the InfluxDB reporter, so that we can index measurements with multiple tags, and not just one host tag. This will be useful for Swarm, where we want to index measurements not just with the host tag, but also with bzzkey and git commit version (for long-running deployments).
* les: implement ultralight client (#16904)b00ris2019-01-242-0/+5
| | | | For more information about this light client mode, read https://hackmd.io/s/HJy7jjZpm
* GraphQL master FF for review (#18445)Kris Shinn2019-01-212-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial work on a graphql API * Added receipts, and more transaction fields. * Finish receipts, add logs * Add transactionCount to block * Add types and . * Update Block type to be compatible with ethql * Rename nonce to transactionCount in Account, to be compatible with ethql * Update transaction, receipt and log to match ethql * Add query operator, for a range of blocks * Added ommerCount to Block * Add transactionAt and ommerAt to Block * Added sendRawTransaction mutation * Add Call and EstimateGas to graphQL API * Refactored to use hexutil.Bytes instead of HexBytes * Replace BigNum with hexutil.Big * Refactor call and estimateGas to use ethapi struct type * Replace ethgraphql.Address with common.Address * Replace ethgraphql.Hash with common.Hash * Converted most quantities to Long instead of Int * Add support for logs * Fix bug in runFilter * Restructured Transaction to work primarily with headers, so uncle data is reported properly * Add gasPrice API * Add protocolVersion API * Add syncing API * Moved schema into its own source file * Move some single use args types into anonymous structs * Add doc-comments * Fixed backend fetching to use context * Added (very) basic tests * Add documentation to the graphql schema * Fix reversion for formatting of big numbers * Correct spelling error * s/BigInt/Long/ * Update common/types.go * Fixes in response to review * Fix lint error * Updated calls on private functions * Fix typo in graphql.go * Rollback ethapi breaking changes for graphql support Co-Authored-By: Arachnid <arachnid@notdot.net>
* cmd/geth: update cli copyright years (#18455)dragonvslinux2019-01-162-2/+2
| | | | | | | | | | * Update copyright 2018 -> 2019 * Update copyright 2018 -> 2019
* cmd/geth: support dumpconfig optionally saving to file (#18327)Sean2019-01-071-3/+12
| | | | | | * Changed dumpConfig function to optionally save to file * Added O_TRUNC flag to file open and cleaned up code
* cmd/geth, core, eth: implement Constantinople override flag (#18273)Martin Holst Swende2018-12-112-1/+5
| | | | | | | | * geth/core/eth: implement constantinople override flag * les: implemnent constantinople override flag for les clients * cmd/geth, eth, les: fix typo, move flag to experimentals
* cmd, eth: Add support for `--whitelist <blocknum>=<hash>,...` flagRyan Schneider2018-12-102-0/+2
| | | | | * Rejects peers that respond with a different hash for any of the passed in block numbers. * Meant for emergency situations when the network forks unexpectedly.
* cmd, core, eth, light, trie: add trie read caching layerPéter Szilágyi2018-11-152-0/+2
|
* cmd/geth: don't set GOMAXPROCS by default (#17148)Wenbiao Zheng2018-10-161-3/+0
| | | | This is no longer needed because Go uses all CPUs by default. The change allows setting GOMAXPROCS in environment if needed.
* core/vm: add switches to select evm+ewasm interpreters (#17687)Guillaume Ballet2018-09-202-0/+4
| | | | | 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/geth: typo export -> import (#17703)Wenbiao Zheng2018-09-191-2/+2
|
* whisper: add light mode check to handshake (#16725)b00ris2018-09-052-0/+4
|
* cmd, core, eth, miner, params: configurable gas floor and ceilPéter Szilágyi2018-08-292-1/+2
|
* consensus, miner: stale block mining support (#17506)gary rong2018-08-282-0/+2
| | | | | | | | | | * 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-14/+6
|
* cmd, core, miner: add --txpool.locals and priority miningPéter Szilágyi2018-08-222-0/+2
|
* cmd, eth, miner: make recommit configurable (#17444)gary rong2018-08-222-0/+2
| | | | | | | | | | | | * 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-153-22/+34
|
* cmd, consensus/ethash, eth: miner push notificationsPéter Szilágyi2018-08-102-1/+3
|
* consensus/ethash: move remote agent logic to ethash internal (#15853)gary rong2018-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * consensus/ethash: start remote ggoroutine to handle remote mining * consensus/ethash: expose remote miner api * consensus/ethash: expose submitHashrate api * miner, ethash: push empty block to sealer without waiting execution * consensus, internal: add getHashrate API for ethash * consensus: add three method for consensus interface * miner: expose consensus engine running status to miner * eth, miner: specify etherbase when miner created * miner: commit new work when consensus engine is started * consensus, miner: fix some logics * all: delete useless interfaces * consensus: polish a bit
* build: rename swarm deb package to ethereum-swarm; change swarm deb version ↵Anton Evangelatov2018-07-303-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* core: report progress on log chain exports (#17066)Raghav Sood2018-07-261-1/+2
| | | | | | * core/blockchain: export progress * core: polish up chain export progress report a bit
* cmd: prevent accidental invalid commands (#17248)a e r t h2018-07-261-0/+3
| | | | | | * cmd: stop parsing bootnodes if one is invalid * cmd/geth: require valid command as argument (or no arg)
* cmd/geth: clean up call to SelfDerive (#16970)Wenbiao Zheng2018-07-241-3/+3
|
* cmd/geth: fix golint issue (#17176)Roc Yu2018-07-161-3/+3
|
* cmd, dashboard, log: log collection and exploration (#17097)Kurkó Mihály2018-07-111-1/+6
| | | | | | | | | | | | * 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/geth: fix usage formatting (#17136)Wenbiao Zheng2018-07-091-1/+2
|
* cmd/geth: fixed comment typo (#17140)LeoLiao2018-07-091-1/+1
|
* cmd/geth: export metrics to InfluxDB (#16979)Anton Evangelatov2018-07-022-1/+25
| | | | | | | | * 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/geth: remove the tail "," from genesis config (#17028)nobody2018-06-211-1/+1
| | | remove the tail "," from genesis config, which will cause genesis config parse error .
* cmd/geth: cap cache allowancerjl4934564422018-06-041-0/+20
|
* cmd: various golint fixes (#16700)kiel barry2018-05-092-5/+5
| | | | | | | | * cmd: various golint fixes * cmd: update to pr change request * cmd: update to pr change request
* core/rawdb: separate raw database access to own package (#16666)Péter Szilágyi2018-05-071-3/+3
|
* cmd/geth, mobile: add memsize to pprof server (#16532)Felix Lange2018-04-231-0/+2
| | | | | | | | * cmd/geth, mobile: add memsize to pprof server This is a temporary change, to be reverted before the next release. * cmd/geth: fix variable name
* cmd/geth: update the copyright year in the geth command usage (#16537)Vie2018-04-232-2/+2
|
* all: fix various typos (#16533)Wuxiang2018-04-191-1/+1
| | | | | | | | * fix typo * fix typo * fix typo
* cmd/geth: update template for 'geth bug' command (#16350)Zhenguo Niu2018-04-061-10/+14
|
* cmd/geth: remove relOracle variable (#16434)Nguyen Sy Thanh Son2018-04-041-3/+0
|
* 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-262-116/+63
| |
* | cmd: implement preimage dump and import cmdsrjl4934564422018-03-262-0/+115
|/
* cmd, ethdb, vendor: integrate leveldb iostats (#16277)Kurkó Mihály2018-03-081-0/+13
| | | | | | | | | | | | * cmd, dashboard, ethdb, vendor: send iostats to dashboard * ethdb: change names * ethdb: handle parsing errors * ethdb: handle iostats syntax error * ethdb: r -> w
* cmd, dashboard: use webpack dev server, remove custom assets (#16263)Kurkó Mihály2018-03-081-1/+0
| | | | | | * cmd, dashboard: remove custom assets, webpack dev server * dashboard: yarn commands, small fixes
* cmd/geth: fix broken links to JavaScript-Console wiki in cmd line help (#16183)Domino Valdano2018-02-261-3/+3
| | | | | | * Fixed broken link to JavaScript-Console wiki in cmd line help * cmd/geth: Added missing r in 'JavaScript'
* cmd, console: support all termination signalsPéter Szilágyi2018-02-211-1/+2
|
* main: add gc flags to import-commandMartin Holst Swende2018-02-151-0/+3
|
* rpc: dns rebind protection (#15962)Martin Holst Swende2018-02-122-0/+2
| | | | | | | | | | | | | | | | * 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-063-3/+10
| | | This commit reduces database I/O by not writing every state trie to disk.
* accounts/abi/bind: support event filtering in abigenPéter Szilágyi2018-01-241-17/+0
|
* dashboard: deep state update, version in footer (#15837)Kurkó Mihály2018-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* cmd/geth: user friendly light miner errorPéter Szilágyi2018-01-121-1/+4
|
* cmd/geth: remove trailing newline in license command (#15782)Péter Szilágyi2018-01-021-2/+1
|
* cmd/geth: add support for geth --rinkeby attachSorin Neacsu2017-12-161-2/+6
|
* cmd/geth: add support for geth attach --testnet (#15597)Sorin Neacsu2017-12-051-2/+10
|
* cmd/geth: fix geth attach --datadir=... (#15517)Maximilian Meister2017-11-281-1/+6
|
* cmd/geth: make geth account new faster with many keys (#15529)Martin Holst Swende2017-11-211-4/+17
|
* cmd, dashboard: dashboard using React, Material-UI, Recharts (#15393)Kurkó Mihály2017-11-153-7/+33
| | | | | | | | | | | | * 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-244-11/+17
| | | | | | | | * 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-145/+18
|
* cmd: Added support for copying data to another DB instanceNick Johnson2017-10-102-1/+196
|
* Merge pull request #14885 from karalabe/trezor-boomPéter Szilágyi2017-08-141-6/+12
|\ | | | | accounts, console, internal: support trezor hardware wallet
| * accounts: refactor API for generalized USB walletsPéter Szilágyi2017-08-091-1/+3
| |
| * accounts, console, internal: support trezor hardware walletPéter Szilágyi2017-08-091-6/+10
| |
* | cmd/geth, cmd/swarm: sort commands and flags by name (#3462)Maximilian Meister2017-08-111-0/+2
|/
* cmd: add makecache cmd, use caches during import cmdPéter Szilágyi2017-08-042-26/+38
|
* common: EIP55-compliant Address.Hex() (#14815)Felix Lange2017-07-311-6/+6
|\ | | | | | | | | This patch updates the Address type in common/types.go so that the Hex function provides an EIP55-compliant output string. The implementation is pretty lightweight; on my laptop the benchmark gives 1100ns/op, with the majority of that value due to the Keccak hash.
| * cmd/geth: update tests for EIP55-compliant Address.Hex()Jim McDonald2017-07-161-6/+6
| |
* | cmd, core, eth: journal local transactions to disk (#14784)Péter Szilágyi2017-07-282-0/+4
|/ | | | | | | | | | * 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
* Merge pull request #14737 from holiman/txpool_localaccountsPéter Szilágyi2017-07-102-0/+2
|\ | | | | Txpool localaccounts
| * cmd, core: add --txpool.nolocals to disable local price exemptionsPéter Szilágyi2017-07-052-0/+2
| |
* | params: remove redundant consts, disable metro on AllProtocolChangesPéter Szilágyi2017-07-041-1/+1
|/
* core/state: access trie through Database interface, track errors (#14589)Felix Lange2017-06-271-1/+1
| | | | | | | | | With this commit, core/state's access to the underlying key/value database is mediated through an interface. Database errors are tracked in StateDB and returned by CommitTo or the new Error method. Motivation for this change: We can remove the light client's duplicated copy of core/state. The light client now supports node iteration, so tracing and storage enumeration can work with the light client (not implemented in this commit).
* Merge pull request #14540 from bas-vk/whisper-apiPéter Szilágyi2017-06-264-12/+40
|\ | | | | whisperv5: integrate whisper and implement API
| * cmd/geth: fix whisper flag group capitalizationPéter Szilágyi2017-06-261-1/+1
| |
| * whisper: use hexutil.UnmarshalFixedText for topic parsingBas van Kervel2017-06-211-1/+1
| |
| * whisper: move flags from whisper package to utilsBas van Kervel2017-06-213-11/+15
| |
| * whisperv5: integrate whisper and add whisper RPC simulatorBas van Kervel2017-06-153-12/+36
| |
* | cmd/geth: corrently init gas price for CLI CPU miningPéter Szilágyi2017-06-221-0/+4
| |
* | swarm/test: add integration test for 'swarm up' (#14353)Lewis Marshall2017-06-215-293/+93
| |
* | cmd/geth: fixed a minor typo in the commentsnecaremus2017-06-161-1/+1
|/
* cmd, core, eth: configurable txpool parametersPéter Szilágyi2017-05-292-0/+19
|
* cmd/geth: reorganise help section for new cli flag handlingBas van Kervel2017-05-252-2/+56
|
* cmd/geth: reintroduce wallet import subcommandBas van Kervel2017-05-231-15/+30
|
* cmd, node: support different bootnodes, fix default light portPéter Szilágyi2017-05-102-0/+4
|
* Merge pull request #14418 from karalabe/rinkeby-flagPéter Szilágyi2017-05-042-2/+4
|\ | | | | cmd, core, params: add --rinkeby flag for fast connectivity
| * cmd, core, params: add --rinkeby flag for fast connectivityPéter Szilágyi2017-05-042-2/+4
| |
* | cmd/geth: migrate dumpconfig command/flagsBas van Kervel2017-05-031-1/+2
| |
* | cmd/geth: migrate bug command/flagsBas van Kervel2017-05-031-1/+2
| |
* | cmd/geth: migrate metric command/flagsBas van Kervel2017-05-031-1/+1
| |
* | cmd/geth: reorganise misc commands/flagsBas van Kervel2017-05-031-4/+4
| |
* | cmd/geth: reorganise console/attach commands/flagsBas van Kervel2017-05-032-66/+78
| |
* | cmd/geth: reorganise chain commands/flagsBas van Kervel2017-05-031-20/+41
|/
* cmd/geth, cmd/utils: init/removedb on light/full dbs simultaneouslyPéter Szilágyi2017-05-031-32/+41
|
* cmd/geth: reorganise account/wallet command/flagsBas van Kervel2017-04-282-69/+70
|
* cmd, node: add --nosub and node.Config.NoUSB to disable hw walletsPéter Szilágyi2017-04-202-0/+2
|
* Merge remote-tracking branch 'fjl/license-update-1.6'Péter Szilágyi2017-04-141-1/+1
|\
| * all: update license informationFelix Lange2017-04-141-1/+1
| |
* | cmd/geth: update flag groups in the geth command usagePéter Szilágyi2017-04-132-5/+14
|/
* cmd/utils, node: remove unused solc references and improve RPC config (#14324)bas-vk2017-04-132-7/+0
| | | | | 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-127-107/+215
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* eth: accept transactions when starting CPU mining (#13882)Péter Szilágyi2017-04-101-1/+1
|
* Merge pull request #13870 from karalabe/miners-fixesPéter Szilágyi2017-04-071-6/+0
|\ | | | | all: clean up various error handling in core and the miner
| * cmd/geth, eth: drop bad block reporting, its offline anywayPéter Szilágyi2017-04-061-6/+0
| |
* | cmd, les, eth, eth/gasprice: using new gas price oracle (#13853)Felföldi Zsolt2017-04-062-12/+4
|/ | | | | | | | | | | | * 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
* cmd/geth, node: surface geth architecture into version (#13866)Péter Szilágyi2017-04-062-3/+6
|
* core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-052-3/+11
| | | | | 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-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | 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-093-4/+4
|
* cmd, eth, les, node, pow: disk caching and progress reportsPéter Szilágyi2017-03-092-0/+15
|
* * cmd/geth: add --nocompaction flag + multiple import filesMartin Holst Swende2017-03-082-5/+23
| | | | | | | | | | * 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-8/+8
| | | | | | | | * 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/geth: drop upgradedb subcommand since it's unfeasiblePéter Szilágyi2017-02-232-61/+0
| | | | | | | This command was meant as a hackish way to upgrade our chain database way back when nobody cared for live updates and the size of the database along with its import times was small. With the current database weighing hundreds of GBs and processing times of many days, this command is just ludicrous.
* cmd, whisper/mailserver: revert to utils.FatalfPéter Szilágyi2017-02-236-74/+54
|
* accounts, cmd: port packages over to the new logging systemPéter Szilágyi2017-02-232-8/+12
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-236-72/+90
|
* cmd/geth: added 'geth bug' command (#3684)Jeffrey Wilcke2017-02-202-0/+109
| | | | | | | | | | | | | * cmd/geth: added 'geth bug' command Added bug command to geth, which will open a browser window with an issue template and some additional system information. * cmd/geth: update bug with better infos * cmd/geth: added browser fallback * cmd/geth: govet yo momma
* params: core, core/vm, miner: 64bit gas instructionsJeffrey Wilcke2017-02-141-1/+1
| | | | | | | | | | | | | | | | | Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test
* Revert "params: core, core/vm, miner: 64bit gas instructions (#3514)"Jeffrey Wilcke2017-02-131-1/+1
| | | | This reverts commit 8b57c494908637a5c0e74f8f7a13b3218e026757.
* accounts: ledger and HD review fixesPéter Szilágyi2017-02-131-2/+3
| | | | | | | | | - Handle a data race where a Ledger drops between list and open - Prolong Ledger tx confirmation window to 30 days from 1 minute - Simplify Ledger chainid-signature calculation and validation - Simplify Ledger USB APDU request chunking algorithm - Silence keystore account cache notifications for manual actions - Only enable self derivations if wallet open succeeds
* accounts/usbwallet: make wallet responsive while Ledger is busyPéter Szilágyi2017-02-131-0/+8
|
* accounts, cmd, internal, node: implement HD wallet self-derivationPéter Szilágyi2017-02-131-2/+30
|
* accounts, cmd, internal, mobile, node: canonical account URLsPéter Szilágyi2017-02-132-13/+13
|
* accounts, cmd, eth, internal, miner, node: wallets and HD APIsPéter Szilágyi2017-02-132-7/+12
|
* accounts, cmd, eth, internal, mobile, node: split account backendsPéter Szilágyi2017-02-133-22/+32
|
* params: core, core/vm, miner: 64bit gas instructions (#3514)Jeffrey Wilcke2017-02-021-1/+1
| | | | | | | | | | | | | | | | Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test
* cmd/geth, cmd/swarm: Fix to close file handler appropriatelyShintaro Kaneko2017-01-301-0/+1
|
* Merge pull request #3579 from bas-vk/natspecPéter Szilágyi2017-01-172-2/+0
|\ | | | | cmd,eth,les,internal: remove natspec support
| * cmd,eth,les,internal: remove natspec supportBas van Kervel2017-01-172-2/+0
| |
* | cmd/geth, core: add support for recording SHA3 preimages (#3543)Nick Johnson2017-01-172-0/+2
|/
* core: remove support for Olympic networkBas van Kervel2017-01-122-2/+0
|
* all: fix ineffectual assignments and remove uses of crypto.Sha3Felix Lange2017-01-091-1/+2
| | | | | 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-4/+4
|
* cmd/geth: drop legacy android codePéter Szilágyi2016-12-143-126/+0
|
* cmd/geth: tidied up the source (#3385)Péter Szilágyi2016-11-303-133/+174
| | | cmd/geth: tidied up the source
* cmd: drop DAO related choice flags since ETC divergedPéter Szilágyi2016-11-292-72/+17
|
* cmd, ethstats, les, mobile, params: native netstats (#3336)Péter Szilágyi2016-11-253-10/+32
|
* Merge pull request #3325 from fjl/p2p-netrestrictFelix Lange2016-11-251-0/+1
|\ | | | | Prevent relay of invalid IPs, add --netrestrict
| * cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrictFelix Lange2016-11-231-0/+1
| |
* | core: implemented new ropsten testnetJeffrey Wilcke2016-11-231-2/+3
| |
* | cmd/geth, core, light, mobile: removed state account StartingNonceJeffrey Wilcke2016-11-232-8/+0
|/ | | | All account's nonce start at 0.
* cmd/geth: improve command help messages (#3227)Kenji Siu2016-11-105-87/+132
|
* cmd/geth: reinstate dropped --cache flagPéter Szilágyi2016-11-101-0/+1
|
* cmd/geth: use a loop in TestDAOForkBlockNewChain (#3222)xiekeyang2016-11-091-84/+68
|
* p2p/discv5: added new topic discovery packageZsolt Felfoldi2016-11-092-29/+2
|
* cmd, eth: added light client and light server modeszsfelfoldi2016-11-093-1/+35
|
* all: remove weird filesFelix Lange2016-10-301-1/+0
|
* cmd, params: only set default fork configs for test and mainnetPéter Szilágyi2016-10-291-5/+5
|
* Godeps, vendor: convert dependency management to trash (#3198)Péter Szilágyi2016-10-292-44/+1
| | | | | | | | | | | | | | | | | | | | | | | 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/geth, code, eth/downloader: tune import logs and mem statsPéter Szilágyi2016-10-211-22/+49
|
* cmd/geth, trie: report on trie cache unloads, also add debug logPéter Szilágyi2016-10-191-1/+2
|
* cmd, core/state: allow configurable trie cache generationsPéter Szilágyi2016-10-193-2/+9
|
* cmd/geth, trie: track and report trie cache missesPéter Szilágyi2016-10-191-4/+14
|
* cmd/geth: compact and print database stats after an importPéter Szilágyi2016-10-181-4/+21
|
* node: ensure datadir can be co-inhabited by different instancesFelix Lange2016-09-165-32/+45
| | | | | This change ensures that nodes started with different Name but same DataDir values don't use the same nodekey and IPC socket.
* cmd, eth: drop the blockchain version from cli/eth configsPéter Szilágyi2016-09-152-2/+0
|
* cmd/geth: fix port clash in genesis testFelix Lange2016-09-051-1/+4
|
* cmd/evm, cmd/geth, cmd/utils: move version handling to cmd/utilsFelix Lange2016-09-053-62/+39
|
* 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/geth: set correct initial nonce on testnet for import/init subcommands ↵Hellsegga2016-08-232-0/+8
| | | | (#2924)
* cmd/geth: added copyright and license informationJeffrey Wilcke2016-08-222-0/+25
| | | | | | As per GNU GPL requirement I've added the copyright and the license information as a subcommand as well as a copyright notice when displaying the help command.
* cmd/utils, node: create account manager in package nodeFelix Lange2016-08-173-43/+47
| | | | | | | | | | | | | | | 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-232-31/+27
| | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum.
* cmd, core, eth, miner, params, tests: finalize the DAO forkPéter Szilágyi2016-07-151-3/+3
|
* cmd, core, miner: add extradata validation to consensus rulesPéter Szilágyi2016-07-152-185/+112
|
* cmd/geth, miner, params: special extradata for DAO fork startPéter Szilágyi2016-07-151-0/+1
|
* core: gracefully handle missing homestead block configPéter Szilágyi2016-07-151-0/+105
|
* cmd, core, eth, params: implement flags to control dao fork blocksPéter Szilágyi2016-07-153-8/+308
|
* cmd/geth: print version on geth start (#2622)Matthew Di Ferrante2016-07-121-0/+2
|
* cmd, common, console, eth, release: drop redundant "full"sPéter Szilágyi2016-06-301-1/+1
|
* Merge pull request #2159 from zsfelfoldi/light-backendPéter Szilágyi2016-06-301-3/+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-3/+7
| |
* | Merge pull request #2750 from sybiload/developPéter Szilágyi2016-06-291-1/+1
|\ \ | | | | | | cmd/geth: fix the import error message
| * | cmd/geth: fix the import error messageYohann LEON2016-06-291-1/+1
| | | | | | | | | | | | cmd/geth: include the error message on import failure
* | | Revert "core: update DAO soft-fork number, clean up the code"Péter Szilágyi2016-06-292-2/+0
|/ / | | | | | | This reverts commit ba784bdf36f2daf7827ec1ec864f3393ba8d86a0.
* / core: update DAO soft-fork number, clean up the codePéter Szilágyi2016-06-232-0/+2
|/
* 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: fix CLI package deprecation warningsPéter Szilágyi2016-06-106-24/+51
| |
* | cmd/geth: codegansta/cli package renamed to urfave/cliBas van Kervel2016-06-096-6/+6
| |
* | cmd/geth: fix the keystore path in the accounts help textPéter Szilágyi2016-06-081-1/+1
| |
* | cmd/geth: truly randomize console test RPC endpointsPéter Szilágyi2016-06-081-4/+12
|/
* cmd/geth: make console tests more robustFelix Lange2016-06-031-18/+28
| | | | | | * use --port 0 to avoid p2p port conflicts * use --maxpeers 0 so it doesn't connect to bootstrap nodes * use geth.expectExit() to wait for termination
* cmd/geth, console: fix reviewer issuesPéter Szilágyi2016-05-313-4/+4
|
* cmd, console: split off the console into a reusable packagePéter Szilágyi2016-05-309-1064/+338
|
* eth: enable bad block reportsFelix Lange2016-05-251-0/+6
| | | | | | | | | | | | We used to have reporting of bad blocks, but it was disabled before the Frontier release. We need it back because users are usually unable to provide the full RLP data of a bad block when it occurs. A shortcoming of this particular implementation is that the origin peer is not tracked for blocks received during eth/63 sync. No origin peer info is still better than no report at all though.
* eth: add new RPC method (personal.) SignAndSendTransactionBas van Kervel2016-05-201-1/+1
|
* cmd/geth: fix console history exclusionFelix Lange2016-05-141-6/+3
| | | | | | Calls to 'personal' API should be excluded from console history because they can be called with an account passphrase as argument. The check for such calls was inverted and didn't work.
* Merge pull request #2549 from karalabe/geth-tester-text-templatesPéter Szilágyi2016-05-111-1/+1
|\ | | | | cmd/geth: use text/templates in the tester, not html
| * cmd/geth: use text/templates in the tester, not htmlPéter Szilágyi2016-05-111-1/+1
| |
* | cmd/geth, internal/web3ext, rpc: surface rpc module, fix shh, fix minerPéter Szilágyi2016-05-111-1/+1
|/
* cmd/geth: fixed to use proper version string for outputJeffrey Wilcke2016-05-031-1/+1
|
* cmd/geth, release: polish and deploy live release contractPéter Szilágyi2016-05-021-1/+1
|
* release, all: integrate the release service into gethPéter Szilágyi2016-05-021-22/+37
|
* Merge pull request #2485 from karalabe/fakepowPéter Szilágyi2016-04-292-2/+6
|\ | | | | cmd: add a `--fakepow` flag to help benchmarking database changes
| * cmd: add a `--fakepow` flag to help benchmarking database changesPéter Szilágyi2016-04-212-2/+6
| |
* | Merge pull request #2478 from fjl/geth-js-tweakFelix Lange2016-04-262-12/+26
|\ \ | |/ |/| cmd/geth, jsre: improve the js command
| * cmd/geth, jsre: improve the js commandFelix Lange2016-04-212-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | geth js stopped the JS runtime after running the first input file and blocked for pending callbacks. This commit makes it process all files and enables quitting with Ctrl-C regardless of callbacks. Error reporting is also improved. If a script fails to load, the error is printed and includes the backtrace. package jsre now ensures that otto is aware of the filename, the backtrace will contain them. Before: $ geth js bad.js; echo "exit $?" ... log messages ... exit 0 After: $ geth js bad.js; echo "exit $?" ... log messages ... Fatal: JavaScript Error: Invalid number of input parameters at web3.js:3109:20 at web3.js:4917:15 at web3.js:4960:5 at web3.js:4984:23 at checkWork (bad.js:11:9) at bad.js:19:1 exit 1
* | VERSION, cmd/geth: bumped versionJeffrey Wilcke2016-04-201-2/+2
|/
* rpc: move web3.js extensions to internal/web3extFelix Lange2016-04-151-1/+2
|
* all: fix go vet warningsFelix Lange2016-04-151-1/+4
|