/russian/

itle='2017-05-25 15:15:51 +0800'>2017-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.