aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
Commit message (Collapse)AuthorAgeFilesLines
* 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-217-293/+424
|
* cmd/evm, core/vm: add --nomemory, --nostack to evm (#14617)Martin Holst Swende2017-06-213-16/+37
|
* cmd/geth: fixed a minor typo in the commentsnecaremus2017-06-161-1/+1
|
* cmd/evm: add --prestate, --sender, --json flags for fuzzing (#14476)Martin Holst Swende2017-06-073-16/+146
|
* cmd/swarm: fix error handling in 'swarm up' (#14557)Lewis Marshall2017-06-061-13/+22
| | | | | | The error returned by client.Upload was previously being ignored due to becoming out of scope outside the if statement. This has been fixed by instead defining a function which returns the hash and error (rather than trying to set the hash in each branch of the if statement).
* cmd/puppeth: fix improper key validation for remotesPéter Szilágyi2017-05-302-3/+2
|
* cmd, core, eth: configurable txpool parametersPéter Szilágyi2017-05-293-29/+110
|
* cmd/geth: reorganise help section for new cli flag handlingBas van Kervel2017-05-253-12/+70
|
* Merge pull request #14336 from obscuren/metropolis-preparationFelix Lange2017-05-252-0/+44
|\ | | | | consensus, core/*, params: metropolis preparation refactor
| * cmd/evm: added mem/cpu profilingJeffrey Wilcke2017-05-232-0/+44
| |
* | cmd/faucet: fix a few typosPéter Szilágyi2017-05-241-1/+1
| |
* | cmd/geth: reintroduce wallet import subcommandBas van Kervel2017-05-231-15/+30
| |
* | cmd/swarm: Add --httpaddr flag (#14475)Lewis Marshall2017-05-221-0/+8
|/ | | | | Fixes #14474. Signed-off-by: Lewis Marshall <lewis@lmars.net>
* cmd, core, eth, miner: remove txpool gas price limits (#14442)Péter Szilágyi2017-05-171-1/+1
|
* cmd/puppeth: v4/v5 boot separation, signer gas configs (#14453)Péter Szilágyi2017-05-134-8/+73
|
* cmd, node: support different bootnodes, fix default light portPéter Szilágyi2017-05-103-5/+28
|
* Merge pull request #14418 from karalabe/rinkeby-flagPéter Szilágyi2017-05-043-15/+38
|\ | | | | cmd, core, params: add --rinkeby flag for fast connectivity
| * cmd, core, params: add --rinkeby flag for fast connectivityPéter Szilágyi2017-05-043-15/+38
| |
* | Merge pull request #14413 from bas-vk/cli-chain-mngtPéter Szilágyi2017-05-048-94/+129
|\ \ | | | | | | Migrate remaining flags/command to new style
| * | 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-033-67/+79
| | |
| * | cmd/geth: reorganise chain commands/flagsBas van Kervel2017-05-031-20/+41
| |/
* | cmd/faucet: fix period to days conversionPéter Szilágyi2017-05-041-4/+5
| |
* | cmd/faucet, cmd/puppeth: support multi-tiered faucetPéter Szilágyi2017-05-045-30/+92
|/
* cmd/geth, cmd/utils: init/removedb on light/full dbs simultaneouslyPéter Szilágyi2017-05-032-42/+45
|
* cmd/puppeth, vendor: update ssh, manage server keys (#14398)Péter Szilágyi2017-05-035-19/+75
|
* cmd/geth: reorganise account/wallet command/flagsBas van Kervel2017-04-283-70/+95
|
* whisper: switching to v5 + minor refactoring (#14387)gluk2562017-04-282-4/+5
|
* whisper: message format refactoring (#14335)gluk2562017-04-271-14/+17
| | | | | | | | | | | | | | * whisper: salt removed from AES encryption * whisper: padding format updated * whisper: padding test added * whisper: padding refactored, tests fixed * whisper: padding test updated * whisper: wnode bugfix * whisper: send/receive protocol updated * whisper: minor update * whisper: bugfix in test * whisper: updated parameter names and comments * whisper: functions renamed * whisper: minor refactoring
* cmd, eth, les, mobile: make networkid uint64 everywherePéter Szilágyi2017-04-253-5/+5
|
* cmd/bootnode: stop after generating/writing nodekeyBas van Kervel2017-04-241-0/+1
|
* Merge pull request #14339 from karalabe/faucet-block-banned-usersPéter Szilágyi2017-04-205-29/+109
|\ | | | | cmd/faucet: further user validations and bot protection
| * cmd: integrate invisible recaptcha into puppethPéter Szilágyi2017-04-174-19/+52
| |
| * cmd/faucet: fix websocket double close/reopenPéter Szilágyi2017-04-172-2/+2
| |
| * cmd/faucet: add optional recaptcha validation supportPéter Szilágyi2017-04-173-13/+49
| |
| * cmd/faucet: double check user against the GH websitePéter Szilágyi2017-04-161-1/+12
| |
* | cmd, node: add --nosub and node.Config.NoUSB to disable hw walletsPéter Szilágyi2017-04-203-0/+9
|/
* Merge remote-tracking branch 'fjl/license-update-1.6'Péter Szilágyi2017-04-145-12/+12
|\
| * all: update license informationFelix Lange2017-04-145-12/+12
| |
* | cmd/geth: update flag groups in the geth command usagePéter Szilágyi2017-04-132-5/+14
|/
* swarm/api: better name resolver handling (#3754)holisticode2017-04-131-0/+2
| | | Fixes #3608
* cmd/utils, node: remove unused solc references and improve RPC config (#14324)bas-vk2017-04-133-23/+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.
* Merge pull request #14320 from karalabe/rlpdump-single-flagPéter Szilágyi2017-04-121-0/+4
|\ | | | | cmd/rlpdump: support dumping only the first entity
| * cmd/rlpdump: support dumping only the first entityPéter Szilágyi2017-04-121-0/+4
| |
* | cmd/geth: add --config file flag (#13875)Felix Lange2017-04-1212-390/+613
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/puppeth: format dashboard html, update syncmode flagsPéter Szilágyi2017-04-121-249/+249
|/
* cmd/swarm: add --password (#3748)Victor Farazdagi2017-04-121-6/+18
|
* cmd/puppeth: your Ethereum private network manager (#13854)Péter Szilágyi2017-04-1121-0/+4011
|
* eth: accept transactions when starting CPU mining (#13882)Péter Szilágyi2017-04-101-1/+1
|
* whisper: big refactoring (#13852)gluk2562017-04-101-38/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * whisper: GetMessages fixed; size restriction updated * whisper: made PoW and MaxMsgSize customizable * whisper: test added * whisper: sym key management changed * whisper: identity management refactored * whisper: API refactoring (Post and Filter) * whisper: big refactoring complete * whisper: spelling fix * whisper: variable topic size allowed for a filter * whisper: final update * whisper: formatting * whisper: file exchange introduced in wnode * whisper: bugfix * whisper: API updated + new tests * whisper: statistics updated * whisper: wnode server updated * whisper: allowed filtering for variable topic size * whisper: tests added * whisper: resolving merge conflicts * whisper: refactoring (documenting mostly) * whsiper: tests fixed * whisper: down cased error messages * whisper: documenting the API functions * whisper: logging fixed * whisper: fixed wnode parameters * whisper: logs fixed (typos)
* 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
| |
* | swarm/api: refactor and improve HTTP API (#3773)Lewis Marshall2017-04-073-71/+77
| | | | | | | | | | | | | | This PR deprecates the file related RPC calls in favour of an improved HTTP API. The main aim is to expose a simple to use API which can be consumed by thin clients (e.g. curl and HTML forms) without the need for complex logic (e.g. manipulating prefix trie manifests).
* | cmd, les, eth, eth/gasprice: using new gas price oracle (#13853)Felföldi Zsolt2017-04-063-45/+13
| | | | | | | | | | | | | | | | | | | | | | | | * 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/swarm: allow uploading from stdin (#3744)Louis Holbrook2017-04-062-6/+39
|/ | | | | | - intended to be a swarm alternative to termbin.com - added --stdin flag to swarm executable. if set, swarm will read data from stdin and postRaw it.
* cmd/geth, node: surface geth architecture into version (#13866)Péter Szilágyi2017-04-062-3/+6
|
* cmd/swarm, swarm/api/client: add HTTP API client and 'swarm ls' command (#3742)Lewis Marshall2017-04-054-182/+99
| | | | | | | | This adds a swarm ls command which lists files and directories stored in a manifest. Rather than listing all files, it uses "directory prefixes" in case there are a lot of files in a manifest but you just want to traverse it. This also includes some refactoring to the tests and the introduction of a swarm/api/client package to make things easier to test.
* core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-054-9/+17
| | | | | 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.
* Merge pull request #3794 from fjl/core-genesis-refactorPéter Szilágyi2017-03-232-77/+28
|\ | | | | core: refactor genesis handling
| * core: refactor genesis handlingFelix Lange2017-03-232-77/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | swarm/api: support mounting manifests via FUSE (#3690)Zahoor Mohamed2017-03-231-1/+1
|/
* all: finish integrating Go ethash, delete C++ vendorPéter Szilágyi2017-03-094-11/+12
|
* cmd, eth, les, node, pow: disk caching and progress reportsPéter Szilágyi2017-03-093-1/+75
|
* 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-083-6/+27
| | | | | | | | | | * 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-029-60/+56
| | | | | | | | * 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
* Merge pull request #3728 from obscuren/format-tracePéter Szilágyi2017-03-022-43/+44
|\ | | | | core/evm, core/vm: improved evm trace output
| * cmd/evm: removed -sysstat and moved content to -debug flagJeffrey Wilcke2017-03-012-17/+21
| | | | | | | | | | | | Added the ability to directly compile and run ethereum assembly using the evm utility: `evm run <file>`. This is equivalant to `evm compile <file> | evm run`.
| * core/evm, core/vm: improved evm trace outputJeffrey Wilcke2017-03-011-27/+24
| | | | | | | | | | | | | | | | * Improved the standard evm tracer output and renamed it to WriteTrace which now takes an io.Writer to write the logs to. * Added WriteLogs which writes logs to the given writer in a readable format. * evm utility now also prints logs generated during the execution.
* | cmd/disasm, cmd/evm: integrate disasm tool into evm tool. (#3729)Valentin Wüstholz2017-03-012-12/+24
|/
* cmd/evm, core/asm: add EVM assembler (#3686)Jeffrey Wilcke2017-03-014-115/+242
| | | | | The evm compile command implements a simple assembly language that compiles to EVM bytecode.
* cmd/utils, core, params: fork all teh things for dev mode (#3697)Jeffrey Wilcke2017-03-011-0/+2
|
* all: disable log message colors outside of gethFelix Lange2017-02-273-3/+3
| | | | Also tweak behaviour so colors are only enabled when stderr is a terminal.
* core, core/vm, cmd/disasm: unify procedures for disassembling evm code (#3530)Valentin Wüstholz2017-02-271-23/+5
|
* common: move big integer math to common/math (#3699)Felix Lange2017-02-274-62/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/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/ethtest: drop the manual test tool in favor of hivePéter Szilágyi2017-02-231-224/+0
| | | | | | All the state and block tests are ran as part of our CU builds internally, as well as have been added to hive black-box tests. As such, there is no reason for maintaining an extra standalone tool.
* cmd/gethrpctest: ethereum/rpc-tests is deprecatedPéter Szilágyi2017-02-231-161/+0
| | | | | | | | | Only ethereum/rpc-tests used this command, which hasn't been maintained for over a year now, a lot of tests failing. What's left of it was moved underneath hive, which can run the entire test against a black-box geth without special commands. Also a new RPC test suite is being added which is also based on black box tests, not needing special commands any more.
* cmd, whisper/mailserver: revert to utils.FatalfPéter Szilágyi2017-02-2311-133/+113
|
* accounts, cmd: port packages over to the new logging systemPéter Szilágyi2017-02-235-41/+38
|
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-2316-242/+247
|
* Whisper API fixed (#3687)gluk2562017-02-231-33/+25
| | | | | | | | | | | | | | | | | | | | | | * whisper: wnode updated for tests with geth * whisper: updated processing of incoming messages * whisper: symmetric encryption updated * whisper: filter id type changed to enhance security * whisper: allow filter without topic for asymmetric encryption * whisper: POW updated * whisper: logging updated * whisper: spellchecker update * whisper: error handling changed * whisper: JSON field names fixed
* core, core/state, core/vm: remove exported account getters (#3618)Jeffrey Wilcke2017-02-231-7/+11
| | | | Removed exported statedb object accessors, reducing the chance for nasty bugs to creep in. It's also ugly and unnecessary to have these methods.
* cmd/geth: added 'geth bug' command (#3684)Jeffrey Wilcke2017-02-203-0/+155
| | | | | | | | | | | | | * 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
* Merge pull request #3674 from obscuren/gaz64Péter Szilágyi2017-02-152-3/+3
|\ | | | | params: core, core/vm, miner: 64bit gas instructions
| * params: core, core/vm, miner: 64bit gas instructionsJeffrey Wilcke2017-02-142-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | whisper: interface changed to simplify the transition to v5gluk2562017-02-141-2/+3
|/ | | | | | | | | | | | | | | | * whisper: mailserver test introduced, refactoring * whisper: validation test updated * whisper: max number of peers fixed * whisper: verification bug fixed * whisper: esthetic fix * whisper: interface changed to simplify the transition to v5 * whisper: preparation for version switch
* cmd/swarm: handle SIGTERM unix signal for clean exitzelig2017-02-131-0/+10
|
* Revert "params: core, core/vm, miner: 64bit gas instructions (#3514)"Jeffrey Wilcke2017-02-132-3/+3
| | | | This reverts commit 8b57c494908637a5c0e74f8f7a13b3218e026757.
* Merge pull request #3592 from karalabe/hw-walletsPéter Szilágyi2017-02-136-54/+122
|\ | | | | accounts: initial support for Ledger hardware wallets
| * 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-133-14/+14
| |
| * accounts, cmd, eth, internal, miner, node: wallets and HD APIsPéter Szilágyi2017-02-135-10/+15
| |
| * accounts, cmd, eth, internal, mobile, node: split account backendsPéter Szilágyi2017-02-136-39/+65
| |
* | swarm/network: fix chunk integrity checks (#3665)Viktor Trón2017-02-132-0/+48
| | | | | | | | | | | | | | | | | | | | * swarm/network: integrity on incoming known chunks * swarm/network: fix integrity check for incoming chunks * swarm/storage: imrpoved integrity checking on chunks * dbstore panics on corrupt chunk entry an prompts user to run cleandb * memstore adds logging for garbage collection * dbstore refactor item delete. correct partial deletes in Get * cmd/swarm: added cleandb subcommand
* | whisper: add tests for mailserver (#3631)gluk2562017-02-131-1/+6
|/
* cmd/swarm: manifest manipulation commands (#3645)Zahoor Mohamed2017-02-133-0/+423
|
* Merge pull request #3648 from bas-vk/abigenPéter Szilágyi2017-02-101-1/+3
|\ | | | | cmd/abigen: parse contract name as abi identifier
| * cmd/abigen: parse contract name as abi identifierBas van Kervel2017-02-071-1/+3
| |
* | params: core, core/vm, miner: 64bit gas instructions (#3514)Jeffrey Wilcke2017-02-022-3/+3
|/ | | | | | | | | | | | | | | | 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
* Merge pull request #3607 from zsfelfoldi/light-fix2Felix Lange2017-02-011-2/+6
|\ | | | | les: fix private net issues, enable adding peers manually again
| * les, cmd/util: disable topic discovery with --nodiscoverZsolt Felfoldi2017-01-271-2/+6
| |
* | cmd/wnode, whisper: add whisper CLI tool and mail server (#3580)gluk2562017-01-311-0/+537
| |
* | Merge pull request #3615 from nolash/bzzpathfix_real5Péter Szilágyi2017-01-301-2/+3
|\ \ | | | | | | cmd/swarm, swarm/api: bzzr improve + networkid prio
| * | cmd/swarm, swarm/api: bzzr improve + networkid prionolash2017-01-271-2/+3
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #3444 fixes #3494 networkid override Added comments to explain why test against 0 appears twice * Command line overrides saved config, saved config overrides system default --- fixes #3476 bzzr get with path Finally a hopefully clean commit for this PR Added check for empty path to avoid SIGSEGV in path parser and resolver Added requested tests for empty path and non-existing manifest. However signature for StartHTTPServer had changed. Now it's hacked as so: StartHttpServer(api.API, &Server{Addr: "127.0.0.1:8504", CorsString: ""}) * Parse url before resolve when path and ENS is supplied, example * swarm/api/http proxy server test for retrieval of subpath through get * Removed nil entry assignment on subtrie leaf in recursive key retrieval * Cleaned up path-or-no-path condition in proxy server get handler * swarm: processed with gofmt refers to lash/go-ethereum@90daa7a * swarm: Added public access method Parse alias to parse * swarm: processed with gofmt References nolash/go-ethereum@2ec3fd7 * Rename parse to Parse, removed alias
* / cmd/geth, cmd/swarm: Fix to close file handler appropriatelyShintaro Kaneko2017-01-302-0/+2
|/
* cmd/evm: added debug flag (back) (#3554)Martin Holst Swende2017-01-231-0/+2
| | | | | | * evm: added debug flag (back) * cmd/evm: gofmt
* Merge pull request #3579 from bas-vk/natspecPéter Szilágyi2017-01-173-7/+0
|\ | | | | cmd,eth,les,internal: remove natspec support
| * cmd,eth,les,internal: remove natspec supportBas van Kervel2017-01-173-7/+0
| |
* | cmd/geth, core: add support for recording SHA3 preimages (#3543)Nick Johnson2017-01-173-1/+9
|/
* core: remove support for Olympic networkBas van Kervel2017-01-123-33/+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
|/
* Merge pull request #3535 from fjl/all-ineffassignPéter Szilágyi2017-01-102-7/+3
|\ | | | | all: fix ineffectual assignments
| * all: fix ineffectual assignments and remove uses of crypto.Sha3Felix Lange2017-01-092-7/+3
| | | | | | | | | | go get github.com/gordonklaus/ineffassign ineffassign .
* | cmd/swarm: uploader uses HTTP PUT for directories (#3488)Viktor Trón2017-01-091-26/+56
|/
* cmd/disasm: fix array-out-of-bounds error (#3491)Valentin Wüstholz2017-01-081-4/+8
|
* all: fix spelling errorsPéter Szilágyi2017-01-071-1/+1
|
* logger, pow/dagger, pow/ezp: delete dead codeFelix Lange2017-01-072-2/+0
|
* all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-073-11/+6
|
* all: gofmt -w -sFelix Lange2017-01-061-3/+3
|
* Merge pull request #3518 from fjl/ethclient-dependency-cleanupPéter Szilágyi2017-01-062-18/+15
|\ | | | | core/types: dependency cleanup
| * core/vm: move Log to core/typesFelix Lange2017-01-061-1/+1
| | | | | | | | | | | | | | | | This significantly reduces the dependency closure of ethclient, which no longer depends on core/vm as of this change. All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too, the constructor simply returned a literal.
| * 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.
* | swarm/api/http: add support for CORS headers (#3388)Maran2017-01-051-10/+16
| |
* | 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
| |
* | core/vm: improved EVM run loop & instruction calling (#3378)Jeffrey Wilcke2017-01-051-12/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The run loop, which previously contained custom opcode executes have been removed and has been simplified to a few checks. Each operation consists of 4 elements: execution function, gas cost function, stack validation function and memory size function. The execution function implements the operation's runtime behaviour, the gas cost function implements the operation gas costs function and greatly depends on the memory and stack, the stack validation function validates the stack and makes sure that enough items can be popped off and pushed on and the memory size function calculates the memory required for the operation and returns it. This commit also allows the EVM to go unmetered. This is helpful for offline operations such as contract calls.
* | 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/disasm: fix off-by-one error and improve error handling (#3482)Valentin Wüstholz2016-12-221-2/+7
|
* Merge pull request #3421 from ethersphere/s/swarm-cmdPéter Szilágyi2016-12-143-59/+173
|\ | | | | cmd/swarm: one command with subcommands
| * cmd/swarm: testnet bootnodes IP address changezelig2016-12-141-5/+5
| |
| * cmd/swarm: improve uploader output and add defaultpath optionzelig2016-12-132-22/+68
| |
| * cmd/swarm: ethapi not requiredzelig2016-12-131-6/+4
| |
| * cmd/swarm: trim trailing slash from bzzapi urlzelig2016-12-131-1/+1
| |
| * cmd/swarm: add default bootnodes for testnet 3zelig2016-12-131-6/+13
| |
| * swarm/network, cmd/swarm: swarm default network id is 3 (to match Ropsten)zelig2016-12-131-1/+1
| |
| * cmd/swarm: subsume cmd/bzz* as subcommands under swarmzelig2016-12-133-27/+90
| | | | | | | | cmd/swarm: subsume cmd/bzz* under cmd/swarm as subcommands
* | Merge pull request #3427 from Arachnid/gzipdumpPéter Szilágyi2016-12-141-3/+28
|\ \ | | | | | | cmd/utils, eth: Add gzip support for chain dump and restore
| * | cmd/utils, eth: Add gzip support for chain dump and restoreNick Johnson2016-12-141-3/+28
| |/
* / cmd/geth: drop legacy android codePéter Szilágyi2016-12-143-126/+0
|/
* core, core/vm: implemented a generic environment (#3348)Jeffrey Wilcke2016-12-061-114/+25
| | | | | | | | Environment is now a struct (not an interface). This reduces a lot of tech-debt throughout the codebase where a virtual machine environment had to be implemented in order to test or run it. The new environment is suitable to be used en the json tests, core consensus and light client.
* cmd/geth: tidied up the source (#3385)Péter Szilágyi2016-11-303-133/+174
| | | cmd/geth: tidied up the source
* 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-293-88/+17
|
* cmd/bzzd: swarm daemon fixes (#3359)Viktor Trón2016-11-282-19/+34
| | | | | | | | | | | | * 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-255-79/+59
|
* Merge pull request #3325 from fjl/p2p-netrestrictFelix Lange2016-11-254-2/+29
|\ | | | | Prevent relay of invalid IPs, add --netrestrict
| * cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrictFelix Lange2016-11-234-2/+29
| |
* | 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 stableFelix Lange2016-11-251-4/+4
| |
* | core: implemented new ropsten testnetJeffrey Wilcke2016-11-232-25/+12
| |
* | cmd/geth, core, light, mobile: removed state account StartingNonceJeffrey Wilcke2016-11-233-11/+0
| | | | | | | | All account's nonce start at 0.
* | cmd/bzzup: trim directory in the manifest entry path (#3299)Aron Fischer2016-11-181-2/+2
|/
* 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-143-13/+44
|/
* tests: updatedJeffrey Wilcke2016-11-141-1/+2
|
* 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-134-36/+36
| | | | | | | | | | | | | | | 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>
* cmd/bzzhash: add swarm hashing toolFelix Lange2016-11-111-0/+49
|
* cmd/bzzup: add swarm upload toolFelix Lange2016-11-111-0/+161
|
* cmd/bzzd: add swarm server daemonFelix Lange2016-11-111-0/+246
|
* cmd/v5test: delete the v5test toolFelix Lange2016-11-111-101/+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
|
* all: update license informationFelix Lange2016-11-092-2/+2
|
* p2p/discv5: added new topic discovery packageZsolt Felfoldi2016-11-095-37/+125
|
* cmd, eth: added light client and light server modeszsfelfoldi2016-11-094-6/+88
|
* all: remove weird filesFelix Lange2016-10-309-108/+0
|
* Merge pull request #3195 from karalabe/fix-testnet-fastsyncPéter Szilágyi2016-10-292-24/+40
|\ | | | | 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-292-30/+39
| |
| * 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-292-2/+2
|/ | | | | | | 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.
* cmd/evm: Allow stdin and files as sources of bytecode (#3172)Nick Johnson2016-10-291-4/+32
| | | | | | | | * cmd/evm: Allow stdin and files as sources of bytecode * cmd/evm: Print and exit instead of panicing * cmd/evm: fix compile and vet errors
* Godeps, vendor: convert dependency management to trash (#3198)Péter Szilágyi2016-10-293-49/+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-194-7/+24
|
* 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
|
* core, core/vm: added gas price variance tableJeffrey Wilcke2016-10-153-1/+12
| | | | | | | | | | | | | 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.
* core/state: implement reverts by journaling all changesFelix Lange2016-10-061-16/+16
| | | | | | | | | | This commit replaces the deep-copy based state revert mechanism with a linear complexity journal. This commit also hides several internal StateDB methods to limit the number of ways in which calling code can use the journal incorrectly. As usual consultation and bug fixes to the initial implementation were provided by @karalabe, @obscuren and @Arachnid. Thank you!
* cmd, core, internal, light, tests: avoid hashing the code in the VMPéter Szilágyi2016-10-011-1/+4
|
* Merge pull request #2914 from fjl/node-coinhabitFelix Lange2016-09-298-72/+96
|\ | | | | cmd/utils, node: make datadir reusable for bzzd
| * common, node: move datadir defaults into package nodeFelix Lange2016-09-163-15/+24
| |
| * node: ensure datadir can be co-inhabited by different instancesFelix Lange2016-09-167-57/+72
| | | | | | | | | | 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-153-8/+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-056-75/+120
|
* contracts/release: move package release to contracts/Felix Lange2016-08-302-2/+2
| | | | | | 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)
* Merge pull request #2928 from obscuren/remove-dao-messageFelix Lange2016-08-221-17/+0
|\ | | | | cmd/utils: removed DAO oppose / support message
| * cmd/utils: removed DAO oppose / support messageJeffrey Wilcke2016-08-221-17/+0
| |
* | Merge pull request #2927 from obscuren/licensePéter Szilágyi2016-08-222-0/+25
|\ \ | | | | | | cmd/geth: added copyright and license information
| * | 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.
* / core/vm: Refactor tracing to make Tracer the main interfaceNick Johnson2016-08-221-8/+4
|/ | | | | | | | | | | | | | | | | | | | | | | | | | This CL makes several refactors: - Define a Tracer interface, implementing the `CaptureState` method - Add the VM environment as the first argument of `Tracer.CaptureState` - Rename existing functionality `StructLogger` an make it an implementation of `Tracer` - Delete `StructLogCollector` and make `StructLogger` collect the logs directly - Change all callers to use the new `StructLogger` where necessary and extract logs from that. - Deletes the apparently obsolete and likely nonfunctional 'TraceCall' from the eth API. Callers that only wish accumulated logs can use the `StructLogger` implementation straightforwardly. Callers that wish to efficiently capture VM traces and operate on them without excessive copying can now implement the `Tracer` interface to receive VM state at each step and do with it as they wish. This CL also removes the accumulation of logs from the vm.Environment; this was necessary as part of the refactor, but also simplifies it by removing a responsibility that doesn't directly belong to the Environment.
* common/compiler: simplify solc wrapperFelix Lange2016-08-171-12/+1
| | | | | | | | | | | | | Support for legacy version 0.9.x is gone. The compiler version is no longer cached. Compilation results (and the version) are read directly from stdout using the --combined-json flag. As a workaround for ethereum/solidity#651, source code is written to a temporary file before compilation. Integration of solc in package ethapi and cmd/abigen is now much simpler because the compiler wrapper is no longer passed around as a pointer. Fixes #2806, accidentally
* cmd/utils, node: create account manager in package nodeFelix Lange2016-08-175-148/+109
| | | | | | | | | | | | | | | 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-233-86/+27
| | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum.
* Merge pull request #2821 from Arachnid/discover-enodeFelix Lange2016-07-201-12/+16
|\ | | | | cmd/bootnode: Add support for outputting a node's ID on the command line
| * cmd/bootnode: Add support for outputting a node's ID on the command lineNick Johnson2016-07-151-12/+16
| |
* | 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-152-7/+8
| |
* | core, params, tests: add DAO hard-fork balance movesPéter Szilágyi2016-07-151-2/+2
| |
* | cmd, core, miner: add extradata validation to consensus rulesPéter Szilágyi2016-07-153-212/+138
| |
* | 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-154-44/+348
|/
* 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-302-2/+2
|
* Merge pull request #2159 from zsfelfoldi/light-backendPéter Szilágyi2016-06-303-4/+15
|\ | | | | eth: separate common and full node-specific API and backend service
| * eth: separate common and full node-specific API and backend servicezsfelfoldi2016-06-163-4/+15
| |
* | 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 "test, cmd/evm, core, core/vm: illegal code hash implementation"Péter Szilágyi2016-06-292-17/+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-293-9/+16
|/ / | | | | | | This reverts commit ba784bdf36f2daf7827ec1ec864f3393ba8d86a0.
* | core: update DAO soft-fork number, clean up the codePéter Szilágyi2016-06-233-16/+9
| |
* | 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-222-0/+17
| | | | | | | | | | | | | | | | 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.
* | Merge pull request #2693 from obscuren/evm-bin-createPéter Szilágyi2016-06-151-11/+34
|\ \ | | | | | | cmd/evm: added --create flag indicating the exec code is to be created
| * | cmd/evm: added --create flag indicating the exec code is to be createdJeffrey Wilcke2016-06-141-11/+34
| |/ | | | | | | | | | | | | | | | | | | This fixes an issue if you wanted to test out code deployment rather than running a piece of code with an argument. This solves it by adding a --create flag that indicates the Create function should be used rather than the Call function. This also adds a statedb.commit call so that the proper state can be dumped when requested using the --dump flag.
* / cmd/utils: add space between "to" and filenameTosh Camille2016-06-151-5/+5
|/
* Merge pull request #2455 from zsfelfoldi/chaindbJeffrey Wilcke2016-06-132-2/+2
|\ | | | | core: improved chain db performance by using sequential keys
| * core: improved chainDb using sequential keyszsfelfoldi2016-06-072-2/+2
| |