Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ethstats: don't report transaction content, only hash | Péter Szilágyi | 2017-05-30 | 1 | -12/+10 |
| | |||||
* | Merge pull request #14523 from karalabe/txpool-cli-flags | Péter Szilágyi | 2017-05-29 | 10 | -105/+241 |
|\ | | | | | cmd, core, eth: configurable txpool parameters | ||||
| * | cmd, core, eth: configurable txpool parameters | Péter Szilágyi | 2017-05-29 | 10 | -105/+241 |
| | | |||||
* | | Merge pull request #14539 from karalabe/txpool-inspec-nonces | Péter Szilágyi | 2017-05-29 | 1 | -8/+8 |
|\ \ | | | | | | | internal/ethapi: fix tx nonces in pool inspect/content | ||||
| * | | internal/ethapi: fix tx nonces in pool inspect/content | Péter Szilágyi | 2017-05-29 | 1 | -8/+8 |
| | | | |||||
* | | | Merge pull request #14537 from karalabe/setgasprice-durning-nomine | Péter Szilágyi | 2017-05-29 | 2 | -10/+24 |
|\ \ \ | | | | | | | | | eth: update default gas price when not mining too | ||||
| * | | | eth: update default gas price when not mining too | Péter Szilágyi | 2017-05-29 | 2 | -10/+24 |
| |/ / | |||||
* | | | Merge pull request #14524 from karalabe/noimport-during-fastsync | Péter Szilágyi | 2017-05-29 | 2 | -0/+6 |
|\ \ \ | |/ / |/| | | eth: don't import propagated blocks during fastsync | ||||
| * | | eth: don't import propagated blocks during fastsync | Péter Szilágyi | 2017-05-26 | 2 | -0/+6 |
|/ / | |||||
* | | Merge pull request #14517 from Ali92hm/master | Nick Johnson | 2017-05-26 | 1 | -2/+3 |
|\ \ | |/ |/| | Improved Dockerfile? | ||||
| * | dockerfile: expose 30303/udp | Ali92hm | 2017-05-26 | 1 | -0/+1 |
| | | |||||
| * | dockerfile: cp geth to /usr/local/bin | Ali92hm | 2017-05-26 | 1 | -2/+2 |
|/ | |||||
* | Merge pull request #14514 from karalabe/go1.8.3 | Péter Szilágyi | 2017-05-25 | 2 | -14/+14 |
|\ | | | | | travis, appveyor: bump to Go 1.8.3, Android NDK 14b | ||||
| * | travis, appveyor: bump to Go 1.8.3, Android NDK 14b | Péter Szilágyi | 2017-05-25 | 2 | -14/+14 |
| | | |||||
* | | Merge pull request #14515 from karalabe/golint-tooooolong | Péter Szilágyi | 2017-05-25 | 12 | -325/+326 |
|\ \ | |/ |/| | core: fix various golint warnings and errors | ||||
| * | core: fix minor accidental typos and comment errors | Péter Szilágyi | 2017-05-25 | 3 | -8/+8 |
| | | |||||
| * | core: typos and comments improve | changhong | 2017-05-25 | 11 | -323/+324 |
|/ | | | | | | | | 1. fix typos 2. methods recevier of struct should be same 3. comments improve (cherry picked from commit 1ba979539582a00b7fd1a7c8a37a6852e59eac0d) | ||||
* | Merge pull request #14446 from bas-vk/cli-help | Péter Szilágyi | 2017-05-25 | 3 | -12/+70 |
|\ | | | | | Rewrite templates for (sub)commands help section | ||||
| * | cmd/geth: reorganise help section for new cli flag handling | Bas van Kervel | 2017-05-25 | 3 | -12/+70 |
| | | |||||
* | | Merge pull request #14513 from obscuren/allocate-stack | Péter Szilágyi | 2017-05-25 | 1 | -1/+1 |
|\ \ | | | | | | | core/vm: allocate stack to 1024 | ||||
| * | | core/vm: allocate stack to 1024 | Jeffrey Wilcke | 2017-05-25 | 1 | -1/+1 |
| |/ | | | | | | | | | Pre allocate the stack to 1024 optimising stack pushing, reducing calls to runtime.makeslice and runtime.mallocgc | ||||
* / | README: corrected attach example (#14512) | Or Rikon | 2017-05-25 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #14502 from karalabe/mobile-import-ecdsa | Felix Lange | 2017-05-25 | 11 | -34/+49 |
|\ | | | | | Enforce 256 bit keys on raw import, support raw mobile imports | ||||
| * | mobile: support importing flat ecdsa keyst too | Péter Szilágyi | 2017-05-23 | 1 | -3/+17 |
| | | |||||
| * | accounts/keystore, crypto: enforce 256 bit keys on import | Péter Szilágyi | 2017-05-23 | 10 | -31/+32 |
| | | |||||
* | | Merge pull request #14336 from obscuren/metropolis-preparation | Felix Lange | 2017-05-25 | 35 | -236/+2983 |
|\ \ | | | | | | | consensus, core/*, params: metropolis preparation refactor | ||||
| * | | consensus/ethash: fix TestCalcDifficulty | Felix Lange | 2017-05-24 | 1 | -1/+1 |
| | | | |||||
| * | | crypto/bn256: fix go vet false positive | Felix Lange | 2017-05-24 | 5 | -22/+25 |
| | | | | | | | | | | | | Also add the package to the license tool ignore list. | ||||
| * | | common: fixed byte padding functions | Jeffrey Wilcke | 2017-05-23 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | Byte padding function should return the given slice if the length is smaller or equal rather than *only* smaller than. This fix improves almost all EVM push operations. | ||||
| * | | core/vm: expose intpool to stack dup method | Jeffrey Wilcke | 2017-05-23 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | Improve the duplication method of the stack to reuse big ints by passing in an existing integer pool. | ||||
| * | | core/vm: capped int pool | Jeffrey Wilcke | 2017-05-23 | 1 | -0/+6 |
| | | | |||||
| * | | core/vm: improved push instructions | Jeffrey Wilcke | 2017-05-23 | 2 | -35/+48 |
| | | | | | | | | | | | | | | | Improved push instructions by removing unnecessary big int allocations and by making it int instead of big.Int | ||||
| * | | cmd/evm: added mem/cpu profiling | Jeffrey Wilcke | 2017-05-23 | 2 | -0/+44 |
| | | | |||||
| * | | core/vm: improve error message for invalid opcodes | Valentin Wüstholz | 2017-05-22 | 1 | -1/+1 |
| | | | |||||
| * | | core/state: fixed (self)destructed objects | Jeffrey Wilcke | 2017-05-18 | 2 | -2/+9 |
| | | | | | | | | | | | | | | | | | | Add the object to the list of destructed objects during a selfdestruct / suicide operation and also remove it from the list once the journal reverts. | ||||
| * | | consensus, core, core/vm, parems: review fixes | Jeffrey Wilcke | 2017-05-18 | 6 | -42/+34 |
| | | | |||||
| * | | core/types: corrected abstract signing address | Jeffrey Wilcke | 2017-05-18 | 2 | -2/+2 |
| | | | |||||
| * | | consensus/ethash: set time to current instead of parent time | Jeffrey Wilcke | 2017-05-18 | 1 | -1/+1 |
| | | | |||||
| * | | consensus, core/*, params: metropolis preparation refactor | Jeffrey Wilcke | 2017-05-18 | 28 | -183/+2865 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is a preparation for the upcoming metropolis hardfork. It prepares the state, core and vm packages such that integration with metropolis becomes less of a hassle. * Difficulty calculation requires header instead of individual parameters * statedb.StartRecord renamed to statedb.Prepare and added Finalise method required by metropolis, which removes unwanted accounts from the state (i.e. selfdestruct) * State keeps record of destructed objects (in addition to dirty objects) * core/vm pre-compiles may now return errors * core/vm pre-compiles gas check now take the full byte slice as argument instead of just the size * core/vm now keeps several hard-fork instruction tables instead of a single instruction table and removes the need for hard-fork checks in the instructions * core/vm contains a empty restruction function which is added in preparation of metropolis write-only mode operations * Adds the bn256 curve * Adds and sets the metropolis chain config block parameters (2^64-1) | ||||
* | | | Merge pull request #14507 from karalabe/faucet-misspell | Péter Szilágyi | 2017-05-24 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | cmd/faucet: fix a few typos | ||||
| * | | | cmd/faucet: fix a few typos | Péter Szilágyi | 2017-05-24 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #14504 from bas-vk/wallet-import | Péter Szilágyi | 2017-05-24 | 1 | -15/+30 |
|\ \ \ | |_|/ |/| | | cmd/geth: reintroduce wallet import subcommand | ||||
| * | | cmd/geth: reintroduce wallet import subcommand | Bas van Kervel | 2017-05-23 | 1 | -15/+30 |
|/ / | |||||
* | | Merge pull request #14501 from sqli-nantes/master | Péter Szilágyi | 2017-05-23 | 2 | -0/+65 |
|\ \ | | | | | | | mobile: manage FilterQuery enabling contract events subscription | ||||
| * | | mobile: Add management methods to {Addresses,Topics,Hashes} structures | Nicolas Guillaume | 2017-05-23 | 2 | -0/+60 |
| | | | |||||
| * | | mobile: Allows mobile clients to create custom FilterQueries | Nicolas Guillaume | 2017-05-22 | 1 | -0/+5 |
|/ / | |||||
* | | swarm/api: Fix adding paths which exist as manifests (#14482) | Lewis Marshall | 2017-05-22 | 2 | -2/+35 |
| | | | | | | Signed-off-by: Lewis Marshall <lewis@lmars.net> | ||||
* | | cmd/swarm: Add --httpaddr flag (#14475) | Lewis Marshall | 2017-05-22 | 5 | -19/+30 |
| | | | | | | | | | | Fixes #14474. Signed-off-by: Lewis Marshall <lewis@lmars.net> | ||||
* | | README: fixing typo in documentation (#14493) | Dave Conroy | 2017-05-22 | 1 | -1/+1 |
| | | |||||
* | | discover: Changed Logging from Debug to Info (#14485) | Ali Hajimirza | 2017-05-20 | 1 | -1/+1 |
| | | |||||
* | | internal/ethapi: lock when auto-filling transaction nonce (#14483) | Martin Holst Swende | 2017-05-19 | 1 | -0/+23 |
|/ | | | | | | | More context in the bug This solves the problems of transactions being submitted simultaneously, and getting the same nonce, due to the gap (due to signing) between nonce-issuance and nonce-update. With this PR, a lock will need to be acquired whenever a nonce is used, and released when the transaction is submitted or errors out. | ||||
* | cmd, core, eth, miner: remove txpool gas price limits (#14442) | Péter Szilágyi | 2017-05-17 | 11 | -178/+619 |
| | |||||
* | les: fix goroutine leak in execQueue (#14480) | Felix Lange | 2017-05-17 | 2 | -30/+118 |
| | | | | | | | | | | | execQueue used an atomic counter to track whether the queue had been closed, but the checking the counter didn't happen because the queue was blocked on its channel. Fix it by using a condition variable instead of sync/atomic. I tried an implementation based on channels first, but it was hard to make it reliable. quit now waits for the queue loop to exit. | ||||
* | cmd/puppeth: v4/v5 boot separation, signer gas configs (#14453) | Péter Szilágyi | 2017-05-13 | 4 | -8/+73 |
| | |||||
* | swarm/api: fix error reporting in api.Resolve (#14464) | Lewis Marshall | 2017-05-13 | 3 | -21/+148 |
| | | | | | | | Previously, resolve errors were being swallowed and the returned error was a generic "not a content hash" which isn't helpful. This updates the Resolve function to fail fast rather than only returning an error at the end, and also adds test coverage. | ||||
* | mobile: accept nil for chainid as homestead signing (#14463) | Péter Szilágyi | 2017-05-13 | 1 | -0/+6 |
| | |||||
* | containers/vagrant: add support for CentOS (#14380) | Koustubh Sinkar | 2017-05-13 | 5 | -19/+62 |
| | | | | | | CentOS has been added as a multi-machine option to the Vagrant script. Ubuntu is still the default option. For starting the CentOS machine, use: vagrant up centos | ||||
* | Merge pull request #14454 from karalabe/mobile-surface-txrlp | Péter Szilágyi | 2017-05-11 | 1 | -3/+159 |
|\ | | | | | mobile: add toString & rlp/json encoding for protocol types | ||||
| * | mobile: add toString & rlp/json encoding for protocol types | Péter Szilágyi | 2017-05-11 | 1 | -3/+159 |
|/ | |||||
* | Merge pull request #14452 from karalabe/dual-bootnodes | Péter Szilágyi | 2017-05-11 | 4 | -8/+32 |
|\ | | | | | cmd, node: support different bootnodes, fix default light port | ||||
| * | cmd, node: support different bootnodes, fix default light port | Péter Szilágyi | 2017-05-10 | 4 | -8/+32 |
|/ | |||||
* | README: update attach instructions for testnet users (#14448) | bas-vk | 2017-05-09 | 1 | -6/+8 |
| | |||||
* | Merge pull request #14441 from karalabe/receipt-data-regression | Péter Szilágyi | 2017-05-08 | 2 | -8/+5 |
|\ | | | | | core: fix processing regression during receipt import | ||||
| * | core: fix processing regression during receipt import | Péter Szilágyi | 2017-05-08 | 2 | -8/+5 |
| | | |||||
* | | Merge pull request #14427 from zsfelfoldi/compress | Péter Szilágyi | 2017-05-08 | 3 | -0/+407 |
|\ \ | |/ |/| | common/bitutil: added data compression algorithm | ||||
| * | common/compress: internalize encoders, add length wrappers | Péter Szilágyi | 2017-05-08 | 3 | -70/+125 |
| | | |||||
| * | common/bitutil: fix decompression corner cases; fuzz, test & bench | Péter Szilágyi | 2017-05-07 | 3 | -43/+302 |
| | | |||||
| * | common/bitutil: added data compression algorithm | Zsolt Felfoldi | 2017-05-06 | 1 | -0/+93 |
| | | |||||
* | | Merge pull request #14440 from karalabe/cocoapods-confirm-fix | Péter Szilágyi | 2017-05-08 | 1 | -1/+1 |
|\ \ | |/ |/| | travis: adapt build script to new travis VM settings | ||||
| * | travis: adapt build script to new travis VM settings | Péter Szilágyi | 2017-05-08 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #14423 from karalabe/bitutil | Péter Szilágyi | 2017-05-05 | 4 | -86/+405 |
|\ | | | | | common/bitutil, consensus/ethash: reusable bitutil package | ||||
| * | common/bitutil, consensus/ethash: reusable bitutil package | Péter Szilágyi | 2017-05-05 | 4 | -86/+405 |
|/ | |||||
* | VERSION, params: begin 1.6.2 release cycle | Péter Szilágyi | 2017-05-04 | 2 | -5/+5 |
| | |||||
* | params: release Geth 1.6.1, Deripors of Ohratuuv1.6.1 | Péter Szilágyi | 2017-05-04 | 1 | -4/+4 |
| | |||||
* | Merge pull request #14418 from karalabe/rinkeby-flag | Péter Szilágyi | 2017-05-04 | 7 | -16/+80 |
|\ | | | | | cmd, core, params: add --rinkeby flag for fast connectivity | ||||
| * | cmd, core, params: add --rinkeby flag for fast connectivity | Péter Szilágyi | 2017-05-04 | 7 | -16/+80 |
| | | |||||
* | | Hive-test fixes (#14419) | Martin Holst Swende | 2017-05-04 | 2 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | * core: Fix for consensus test gasLimit > 2^63-1 https://github.com/ethereum/tests/blob/develop/BlockchainTests/bcInvalidHeaderTest.json#L238 * core: fix testcase for uncle gasUsage > gasLimit : https://github.com/ethereum/tests/blob/develop/BlockchainTests/EIP150/bcUncleHeaderValiditiy.json#L986 * math/big: rename TTM63m1 -> MaxBig63, + go fmt * core: documentation | ||||
* | | Merge pull request #14413 from bas-vk/cli-chain-mngt | Péter Szilágyi | 2017-05-04 | 8 | -94/+129 |
|\ \ | | | | | | | Migrate remaining flags/command to new style | ||||
| * | | cmd/geth: migrate dumpconfig command/flags | Bas van Kervel | 2017-05-03 | 1 | -1/+2 |
| | | | |||||
| * | | cmd/geth: migrate bug command/flags | Bas van Kervel | 2017-05-03 | 1 | -1/+2 |
| | | | |||||
| * | | cmd/geth: migrate metric command/flags | Bas van Kervel | 2017-05-03 | 1 | -1/+1 |
| | | | |||||
| * | | cmd/geth: reorganise misc commands/flags | Bas van Kervel | 2017-05-03 | 1 | -4/+4 |
| | | | |||||
| * | | cmd/geth: reorganise console/attach commands/flags | Bas van Kervel | 2017-05-03 | 3 | -67/+79 |
| | | | |||||
| * | | cmd/geth: reorganise chain commands/flags | Bas van Kervel | 2017-05-03 | 1 | -20/+41 |
| | | | |||||
* | | | Merge pull request #14402 from karalabe/tiered-faucet | Péter Szilágyi | 2017-05-04 | 5 | -30/+93 |
|\ \ \ | |_|/ |/| | | cmd/faucet, cmd/puppeth: support multi-tiered faucet | ||||
| * | | cmd/faucet: fix period to days conversion | Péter Szilágyi | 2017-05-04 | 1 | -4/+5 |
| | | | |||||
| * | | cmd/faucet, cmd/puppeth: support multi-tiered faucet | Péter Szilágyi | 2017-05-04 | 5 | -30/+92 |
|/ / | |||||
* | | Merge pull request #14414 from gluk256/77_release | Péter Szilágyi | 2017-05-03 | 1 | -0/+5 |
|\ \ | |/ |/| | build: wnode added to the build configuration | ||||
| * | build: wnode added to the build configuration | Vlad | 2017-05-03 | 1 | -0/+5 |
| | | |||||
* | | Merge pull request #14412 from karalabe/init-both-chains | Péter Szilágyi | 2017-05-03 | 2 | -42/+45 |
|\ \ | | | | | | | cmd/geth, cmd/utils: init/removedb on light/full dbs simultaneously | ||||
| * | | cmd/geth, cmd/utils: init/removedb on light/full dbs simultaneously | Péter Szilágyi | 2017-05-03 | 2 | -42/+45 |
|/ / | |||||
* | | Merge pull request #14411 from karalabe/clique-double-sign | Péter Szilágyi | 2017-05-03 | 1 | -1/+1 |
|\ \ | | | | | | | consensus/clique: fix overflow on recent signer check around genesis | ||||
| * | | consensus/clique: fix overflow on recent signer check around genesis | Péter Szilágyi | 2017-05-03 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #13885 from bas-vk/rpc_generic_pubsub | Péter Szilágyi | 2017-05-03 | 6 | -55/+217 |
|\ \ | |/ |/| | rpc: support subscriptions under custom namespaces | ||||
| * | rpc: support subscriptions under custom namespaces | Bas van Kervel | 2017-04-25 | 6 | -55/+217 |
| | | |||||
* | | README: add config to genesis.json (#14373) | nicky g | 2017-05-03 | 1 | -0/+6 |
| | | | | | | README: add config to genesis.json | ||||
* | | cmd/puppeth, vendor: update ssh, manage server keys (#14398) | Péter Szilágyi | 2017-05-03 | 19 | -285/+701 |
| | | |||||
* | | Merge pull request #14407 from karalabe/ethash-generation-race | Péter Szilágyi | 2017-05-03 | 1 | -2/+4 |
|\ \ | | | | | | | consensus/ethash: fix a timestamp update race | ||||
| * | | consensus/ethash: fix a timestamp update race | Péter Szilágyi | 2017-05-02 | 1 | -2/+4 |
| | | | |||||
* | | | Merge pull request #14406 from karalabe/downloader-sensitive-code | Péter Szilágyi | 2017-05-02 | 1 | -0/+4 |
|\ \ \ | |/ / |/| | | eth/downloader: fix a potential issue against future refactors | ||||
| * | | eth/downloader: fix a potential issue against future refactors | Péter Szilágyi | 2017-05-02 | 1 | -0/+4 |
| | | | |||||
* | | | Merge pull request #14403 from fjl/console-number | Péter Szilágyi | 2017-05-02 | 1 | -3/+6 |
|\ \ \ | | | | | | | | | console: avoid float64 when remarshaling parameters | ||||
| * | | | console: avoid float64 when remarshaling parameters | Felix Lange | 2017-05-02 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | With Go 1.7, encoding/json marshals float64 using scientific notation ("10e+6"), but Go's int and *big.Int decoders don't accept such numbers. This change disables use of float64 to avoid the problem. | ||||
* | | | | Merge pull request #14399 from bas-vk/rpc-cors | Péter Szilágyi | 2017-05-02 | 1 | -0/+5 |
|\ \ \ \ | |_|/ / |/| | | | rpc: disable CORS if user has not specified a custom config | ||||
| * | | | rpc: disable CORS if user has not specified custom config | Bas van Kervel | 2017-05-02 | 1 | -0/+5 |
|/ / / | |||||
* | | | Merge pull request #14388 from bas-vk/cli-account-mngt | Péter Szilágyi | 2017-05-02 | 3 | -70/+95 |
|\ \ \ | |/ / |/| | | cmd/geth: reorganise account/wallet command/flags | ||||
| * | | cmd/geth: reorganise account/wallet command/flags | Bas van Kervel | 2017-04-28 | 3 | -70/+95 |
|/ / | |||||
* | | whisper: switching to v5 + minor refactoring (#14387) | gluk256 | 2017-04-28 | 6 | -39/+139 |
| | | |||||
* | | whisper: message format refactoring (#14335) | gluk256 | 2017-04-27 | 14 | -232/+343 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | Merge pull request #14379 from farazdagi/fix/deadlock-in-node-wait | Péter Szilágyi | 2017-04-25 | 1 | -0/+1 |
|\ \ | | | | | | | node: fixes deadlock on Wait() | ||||
| * | | node: fixes deadlock on Wait() | Victor Farazdagi | 2017-04-25 | 1 | -0/+1 |
| |/ | |||||
* | | Merge pull request #14377 from karalabe/unify-network-ids | Péter Szilágyi | 2017-04-25 | 17 | -38/+38 |
|\ \ | |/ |/| | cmd, eth, les, mobile: make networkid uint64 everywhere | ||||
| * | cmd, eth, les, mobile: make networkid uint64 everywhere | Péter Szilágyi | 2017-04-25 | 17 | -38/+38 |
|/ | |||||
* | Merge pull request #14350 from fjl/trie-iterator-skip-2 | Péter Szilágyi | 2017-04-25 | 20 | -303/+477 |
|\ | | | | | eth: add debug_storageRangeAt | ||||
| * | eth: add debug_storageRangeAt | Felix Lange | 2017-04-25 | 5 | -39/+201 |
| | | |||||
| * | trie: add start key to NodeIterator constructors | Felix Lange | 2017-04-25 | 9 | -73/+146 |
| | | | | | | | | | | | | | | | | | | The 'step' method is split into two parts, 'peek' and 'push'. peek returns the next state but doesn't make it current. The end of iteration was previously tracked by setting 'trie' to nil. End of iteration is now tracked using the 'iteratorEnd' error, which is slightly cleaner and requires less code. | ||||
| * | trie: clean up iterator constructors | Felix Lange | 2017-04-25 | 9 | -31/+21 |
| | | | | | | | | | | | | | | Make it so each iterator has exactly one public constructor: - NodeIterators can be created through a method. - Iterators can be created through NewIterator on any NodeIterator. | ||||
| * | trie: rework and document key encoding | Felix Lange | 2017-04-25 | 7 | -159/+121 |
| | | | | | | | | | | 'encode' and 'decode' are meaningless because the code deals with three encodings. Document the encodings and give a name to each one. | ||||
| * | trie: remove Key in MissingNodeError | Felix Lange | 2017-04-18 | 3 | -17/+4 |
| | | | | | | | | | | | | The key was constructed from nibbles, which isn't possible for all nodes. Remove the only use of Key in LightTrie by always retrying with the original key that was looked up. | ||||
* | | Merge pull request #14372 from bas-vk/bootnodegenkey | Péter Szilágyi | 2017-04-25 | 1 | -0/+1 |
|\ \ | | | | | | | cmd/bootnode: stop after generating/writing nodekey | ||||
| * | | cmd/bootnode: stop after generating/writing nodekey | Bas van Kervel | 2017-04-24 | 1 | -0/+1 |
| | | | |||||
* | | | internal/ethapi: return empty arrays instead of null (#14374) | bas-vk | 2017-04-24 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | * internal/ethapi: return empty arrays instead of null * internal/ethapi: minor comments to avoid future regressions | ||||
* | | | Merge pull request #14364 from fjl/core-remove-split-stat-ty | Péter Szilágyi | 2017-04-24 | 3 | -15/+3 |
|\ \ \ | |/ / |/| | | core, light: delete SplitStatTy, ChainSplitEvent (unused) | ||||
| * | | core, light: delete SplitStatTy, ChainSplitEvent (unused) | Felix Lange | 2017-04-22 | 3 | -15/+3 |
|/ / | |||||
* | | Merge pull request #14339 from karalabe/faucet-block-banned-users | Péter Szilágyi | 2017-04-20 | 5 | -29/+109 |
|\ \ | | | | | | | cmd/faucet: further user validations and bot protection | ||||
| * | | cmd: integrate invisible recaptcha into puppeth | Péter Szilágyi | 2017-04-17 | 4 | -19/+52 |
| | | | |||||
| * | | cmd/faucet: fix websocket double close/reopen | Péter Szilágyi | 2017-04-17 | 2 | -2/+2 |
| | | | |||||
| * | | cmd/faucet: add optional recaptcha validation support | Péter Szilágyi | 2017-04-17 | 3 | -13/+49 |
| | | | |||||
| * | | cmd/faucet: double check user against the GH website | Péter Szilágyi | 2017-04-16 | 1 | -1/+12 |
| |/ | |||||
* | | Merge pull request #14357 from karalabe/nousb-flag | Péter Szilágyi | 2017-04-20 | 4 | -4/+18 |
|\ \ | | | | | | | cmd, node: add --nousb and node.Config.NoUSB to disable hw wallets | ||||
| * | | cmd, node: add --nosub and node.Config.NoUSB to disable hw wallets | Péter Szilágyi | 2017-04-20 | 4 | -4/+18 |
| | | | |||||
* | | | Merge pull request #14358 from karalabe/wrong-genesis-description | Péter Szilágyi | 2017-04-20 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | core: make genesis incompatibility error more explicit | ||||
| * | | core: make genesis incompatibility error more explicit | Péter Szilágyi | 2017-04-20 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #13886 from bas-vk/rpc_blocknum_parse | Péter Szilágyi | 2017-04-18 | 2 | -39/+86 |
|\ \ | |/ |/| | rpc: improve BlockNumber unmarshal parsing | ||||
| * | rpc: improve BlockNumber unmarshal parsing | Bas van Kervel | 2017-04-13 | 2 | -39/+86 |
| | | |||||
* | | VERSION, params: begin 1.6.1 release cycle | Péter Szilágyi | 2017-04-14 | 2 | -5/+5 |
| | | |||||
* | | params: release Geth 1.6.0, Puppeth Masterv1.6.0 | Péter Szilágyi | 2017-04-14 | 1 | -4/+4 |
| | | |||||
* | | Merge remote-tracking branch 'fjl/license-update-1.6' | Péter Szilágyi | 2017-04-14 | 46 | -79/+270 |
|\ \ | |||||
| * | | all: update license information | Felix Lange | 2017-04-14 | 46 | -79/+270 |
| | | | |||||
* | | | build: disable misspell, upstream bug prevents builds | Péter Szilágyi | 2017-04-14 | 1 | -1/+2 |
| | | | |||||
* | | | eth: revert accidental ethash cache dir change | Péter Szilágyi | 2017-04-14 | 1 | -0/+1 |
| | | | |||||
* | | | consensus/ethash: close mmap before rename, windows limitation | Péter Szilágyi | 2017-04-14 | 1 | -5/+8 |
| | | | |||||
* | | | Merge pull request #14327 from karalabe/flag-group-fixes | Péter Szilágyi | 2017-04-13 | 2 | -5/+14 |
|\ \ \ | | | | | | | | | cmd/geth: update flag groups in the geth command usage | ||||
| * | | | cmd/geth: update flag groups in the geth command usage | Péter Szilágyi | 2017-04-13 | 2 | -5/+14 |
|/ / / | |||||
* | | | Merge pull request #3786 from fjl/compiler-metadata | Péter Szilágyi | 2017-04-13 | 2 | -76/+56 |
|\ \ \ | | | | | | | | | common/compiler: add metadata output for solc > 0.4.6 | ||||
| * | | | common/compiler: add metadata output for solc > 0.4.6 | Steve Waldman | 2017-03-16 | 2 | -76/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Metadata is provided as JSON string, rather than as JSON object. This ensures that we can decode to a set of bytes that will be consistent with the swarm hash embedded in the code, without worrying about ambiguities of spacing, ordering, or escaping. | ||||
* | | | | Merge pull request #14326 from karalabe/launchpad-go-1.8 | Péter Szilágyi | 2017-04-13 | 3 | -9/+9 |
|\ \ \ \ | |_|/ / |/| | | | build: bump launchpad builds to Go 1.8.1 | ||||
| * | | | build: bump launchpad builds to Go 1.8.1 | Péter Szilágyi | 2017-04-13 | 3 | -9/+9 |
| | | | | |||||
* | | | | trie: implement unionIterator (#14312) | Nick Johnson | 2017-04-13 | 2 | -36/+199 |
| | | | | |||||
* | | | | swarm/api: better name resolver handling (#3754) | holisticode | 2017-04-13 | 4 | -16/+53 |
|/ / / | | | | | | | Fixes #3608 | ||||
* | | | Merge pull request #14323 from fjl/ethash-verify-headers-fix | Péter Szilágyi | 2017-04-13 | 2 | -85/+52 |
|\ \ \ | | | | | | | | | consensus/ethash: simplify concurrency in VerifyHeaders | ||||
| * | | | consensus/ethash: simplify concurrency in VerifyHeaders | Felix Lange | 2017-04-13 | 1 | -81/+48 |
| | | | | | | | | | | | | | | | | | | | | This change removes a convoluted use of sync/atomic from VerifyHeaders. It also fixes the annoying error about future blocks. | ||||
| * | | | core: don't import genesis block in TestDAOForkRangeExtradata | Felix Lange | 2017-04-13 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | The genesis block doesn't have a valid ancestor. | ||||
* | | | | cmd/utils, node: remove unused solc references and improve RPC config (#14324) | bas-vk | 2017-04-13 | 15 | -67/+38 |
| | | | | | | | | | | | | | | | | | | | | 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-flag | Péter Szilágyi | 2017-04-12 | 1 | -0/+4 |
|\ \ \ \ | |/ / / |/| | | | cmd/rlpdump: support dumping only the first entity | ||||
| * | | | cmd/rlpdump: support dumping only the first entity | Péter Szilágyi | 2017-04-12 | 1 | -0/+4 |
| | | | | |||||
* | | | | cmd/geth: add --config file flag (#13875) | Felix Lange | 2017-04-12 | 55 | -648/+6615 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | | | Merge pull request #14322 from karalabe/puppeth-new-configs | Péter Szilágyi | 2017-04-12 | 1 | -249/+249 |
|\ \ \ \ | | | | | | | | | | | cmd/puppeth: format dashboard html, update syncmode flags | ||||
| * | | | | cmd/puppeth: format dashboard html, update syncmode flags | Péter Szilágyi | 2017-04-12 | 1 | -249/+249 |
|/ / / / | |||||
* | | | | consensus, core, ethstats: use engine specific block beneficiary (#14318) | Péter Szilágyi | 2017-04-12 | 18 | -26/+76 |
| | | | | | | | | | | | | | | | | | | | | | | | | * consensus, core, ethstats: use engine specific block beneficiary * core, eth, les, miner: use explicit beneficiary during mining | ||||
* | | | | consensus/clique, internal/web3ext: support hash based API queries (#14321) | Péter Szilágyi | 2017-04-12 | 6 | -32/+66 |
|/ / / | | | | | | | | | | | | | | | | * consensus/clique, internal/web3ext: support hash based API queries * consensus/clique: make RPC return types public | ||||
* | | | Merge pull request #14311 from Arachnid/tracing | Nick Johnson | 2017-04-12 | 1 | -22/+62 |
|\ \ \ | | | | | | | | | internal/ethapi: Add support for fetching information about the current call in JS traces | ||||
| * | | | internal/ethapi: Add support for fetching information about the current call ↵ | Nick Johnson | 2017-04-11 | 1 | -22/+62 |
| | | | | | | | | | | | | | | | | in JS traces | ||||
* | | | | build: create deb source for Ubuntu Zesty (#14316) | Péter Szilágyi | 2017-04-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | swarm/api: FUSE read-write support (#13872) | Zahoor Mohamed | 2017-04-12 | 15 | -362/+1693 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Moved fuse related code in a new package, swarm/fuse - Added write support - Create new files - Delete existing files - Append to files (with limitations) - More test coverage | ||||
* | | | | cmd/swarm: add --password (#3748) | Victor Farazdagi | 2017-04-12 | 1 | -6/+18 |
| | | | | |||||
* | | | | params: updated testnet bootnodes (#14310) | Jamie Pitts | 2017-04-11 | 1 | -3/+3 |
| | | | | |||||
* | | | | cmd/puppeth: your Ethereum private network manager (#13854) | Péter Szilágyi | 2017-04-11 | 70 | -11/+21105 |
| | | | | |||||
* | | | | les: allow LES connection to other servers (#13889) | Felföldi Zsolt | 2017-04-11 | 1 | -2/+3 |
| | | | | |||||
* | | | | p2p: if no nodes are connected, attempt dialing bootnodes (#13874) | Péter Szilágyi | 2017-04-11 | 3 | -9/+121 |
| | | | | |||||
* | | | | core: fix comment typo | Justin | 2017-04-10 | 1 | -1/+1 |
| |_|/ |/| | | |||||
* | | | consensus/clique: Proof of Authority (#3753) | Péter Szilágyi | 2017-04-10 | 12 | -123/+1575 |
| | | | | | | | | | | | | This PR is a prototype implementation of plugable consensus engines and the Clique PoA protocol ethereum/EIPs#225 | ||||
* | | | eth: accept transactions when starting CPU mining (#13882) | Péter Szilágyi | 2017-04-10 | 6 | -10/+18 |
| | | | |||||
* | | | Merge pull request #13883 from karalabe/boardcast-sync-head | Péter Szilágyi | 2017-04-10 | 1 | -1/+9 |
|\ \ \ | | | | | | | | | eth: announce block after sync cycle (star topology) | ||||
| * | | | eth: announce block after sync cycle (star topology) | Péter Szilágyi | 2017-04-10 | 1 | -1/+9 |
| | | | | |||||
* | | | | whisper: big refactoring (#13852) | gluk256 | 2017-04-10 | 14 | -713/+1380 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 #13881 from karalabe/go-1.8.1 | Péter Szilágyi | 2017-04-09 | 2 | -30/+11 |
|\ \ \ | | | | | | | | | travis, appveyor: update to Go 1.8.1 | ||||
| * | | | travis, appveyor: update to Go 1.8.1 | Péter Szilágyi | 2017-04-09 | 2 | -30/+11 |
|/ / / | |||||
* | | | Merge pull request #13880 from karalabe/remote-miner-fix | Péter Szilágyi | 2017-04-09 | 4 | -12/+31 |
|\ \ \ | |/ / |/| | | consensus/ethash, eth: don't mine if 0 threads are set | ||||
| * | | consensus, eth: don't CPU mine by default during remote mining | Péter Szilágyi | 2017-04-07 | 4 | -12/+31 |
|/ / | |||||
* | | Merge pull request #13870 from karalabe/miners-fixes | Péter Szilágyi | 2017-04-07 | 18 | -366/+116 |
|\ \ | | | | | | | all: clean up various error handling in core and the miner | ||||
| * | | consensus, core: drop all the legacy custom core error types | Péter Szilágyi | 2017-04-06 | 15 | -260/+114 |
| | | | |||||
| * | | cmd/geth, eth: drop bad block reporting, its offline anyway | Péter Szilágyi | 2017-04-06 | 3 | -96/+2 |
| | | | |||||
| * | | miner: don't verify our own blocks, trust the engine | Péter Szilágyi | 2017-04-06 | 1 | -10/+0 |
| | | | |||||
* | | | swarm/api: refactor and improve HTTP API (#3773) | Lewis Marshall | 2017-04-07 | 20 | -663/+1779 |
| | | | | | | | | | | | | | | | | | | | | | 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 Zsolt | 2017-04-06 | 10 | -419/+167 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Holbrook | 2017-04-06 | 3 | -7/+64 |
| | | | | | | | | | | | | | | | | | | - 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. | ||||
* | | | .travis, build: autodelete old unstable archives (#13867) | Péter Szilágyi | 2017-04-06 | 68 | -1118/+7826 |
|/ / | | | | | | | | | | | | | | | This commit adds a build step to travis to auto-delete unstable archives older than 14 days (our regular release schedule) from Azure via ci.go purge. The commit also pulls in the latest Azure storage code, also switching over from the old import path (github.com/Azure/azure-sdk-for-go) to the new split one (github.com/Azure/azure-storage-go). | ||||
* | | core, core/types: regenerate JSON marshaling, add "hash" to headers (#13868) | Felix Lange | 2017-04-06 | 12 | -263/+254 |
| | | | | | | | | | | | | | | | | | | | | * Makefile: fix devtools target * core: regenerate genesis marshaling with fjl/gencodec@cbfa5be5a8a8 * core/types: regenerate marshaling methods with fjl/gencodec@cbfa5be5a8a8 * core/types: add "hash" to JSON headers | ||||
* | | cmd/geth, node: surface geth architecture into version (#13866) | Péter Szilágyi | 2017-04-06 | 4 | -5/+8 |
| | | |||||
* | | debug: convert uint64-blocknumber into rpc.Blocknumber (#13862) | Martin Holst Swende | 2017-04-05 | 1 | -6/+29 |
| | | | | | | | | | | | | * debug: Converted uint64-blocknumber into rpc.Blocknumber * api/debug: Fix pending block issues in DumpBlock | ||||
* | | core/state: make TestSnapshotRandom work again (#3816) | gary rong | 2017-04-05 | 3 | -5/+8 |
| | | | | | | | | | | | | In `touch` operation, only `touched` filed has been changed. Therefore in the related undo function, only `touched` field should be reverted. In addition, whether remove this obj from dirty map should depend on prevDirty flag. | ||||
* | | cmd/swarm, swarm/api/client: add HTTP API client and 'swarm ls' command (#3742) | Lewis Marshall | 2017-04-05 | 10 | -245/+594 |
| | | | | | | | | | | | | | | | | 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ágyi | 2017-04-05 | 61 | -1427/+1682 |
| | | | | | | | | | | 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 #13856 from karalabe/ethstats-sanity-checks | Péter Szilágyi | 2017-04-04 | 1 | -4/+18 |
|\ \ | | | | | | | ethstats: sanity check ethstats history queries | ||||
| * | | ethstats: cut short unavailable history responses | Péter Szilágyi | 2017-04-04 | 1 | -2/+10 |
| | | | |||||
| * | | ethstats: sanity check ethstats history queries | Péter Szilágyi | 2017-03-31 | 1 | -2/+8 |
|/ / | |||||
* | | swarm/api: improve FUSE build constraints, logging and APIs (#3818) | Felix Lange | 2017-03-31 | 6 | -168/+124 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * swarm/api: fix build/tests on unsupported platforms Skip FUSE tests if FUSE is unavailable and change build constraints so the 'lesser' platforms aren't mentioned explicitly. The test are compiled on all platforms to prevent regressions in _fallback.go Also gofmt -w -s because why not. * internal/web3ext: fix swarmfs wrappers Remove inputFormatter specifications so users get an error when passing the wrong number of arguments. * swarm/api: improve FUSE-related logging and APIs The API now returns JSON objects instead of strings. Log messages for invalid arguments are removed. | ||||
* | | Merge pull request #13851 from karalabe/ethstats-url-scheme-discovery | Péter Szilágyi | 2017-03-30 | 1 | -2/+2 |
|\ \ | | | | | | | ethstats: work around weird URL scheme parsing issues | ||||
| * | | ethstats: work around weird URL scheme parsing issues | Péter Szilágyi | 2017-03-30 | 1 | -2/+2 |
|/ / | |||||
* | | build: work around cgo linker issue on macOS 10.12.4 (#13849) | Felix Lange | 2017-03-29 | 1 | -3/+11 |
| | | | | | | Fixes #3792 by stripping debug symbols. | ||||
* | | core/types: rename txdata.gasLimit -> txdata.gas in JSON (#13848) | bas-vk | 2017-03-29 | 2 | -4/+4 |
| | | |||||
* | | Merge pull request #13516 from fjl/core-marshal-non-pointer | Péter Szilágyi | 2017-03-28 | 7 | -112/+106 |
|\ \ | | | | | | | core, core/types: use non-pointer receiver for Marshal* methods | ||||
| * | | core, core/types: use non-pointer receiver for Marshal* methods | Felix Lange | 2017-03-27 | 7 | -112/+106 |
| | | | | | | | | | | | | | | | Regenerated with fjl/gencodec@1a75a2161009 Also add ,omitempty to optional GenesisAccount fields. | ||||
* | | | Merge pull request #3801 from karalabe/ledger-linux-confirm | Péter Szilágyi | 2017-03-28 | 2 | -13/+49 |
|\ \ \ | |/ / |/| | | accounts/usbwallet: fix Ledger hidapi/libusb protocol violation | ||||
| * | | accounts/usbwallet: if a confirmation is pending, skip refresh | Péter Szilágyi | 2017-03-23 | 2 | -3/+16 |
| | | | |||||
| * | | accounts/usbwallet: fix Ledger hidapi/libusb protocol violation | Péter Szilágyi | 2017-03-23 | 2 | -13/+36 |
| | | | |||||
* | | | Merge pull request #3820 from fjl/core-types-eip155-chainid-mul | Péter Szilágyi | 2017-03-27 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | core/types: ensure all EIP155 signer fields are set by deriveSigner | ||||
| * | | | core/types: ensure all EIP155 signer fields are set by deriveSigner | Felix Lange | 2017-03-25 | 1 | -1/+1 |
|/ / / | | | | | | | | | | Fixes #3819 | ||||
* | | | rpc: honour pending requests before tearing conn down (#3814) | Péter Szilágyi | 2017-03-24 | 1 | -14/+28 |
| | | | |||||
* | | | Merge pull request #3813 from fjl/build-fixes-2 | Péter Szilágyi | 2017-03-24 | 5 | -36/+45 |
|\ \ \ | | | | | | | | | build: unify vendor skipping, always run go vet | ||||
| * | | | travis.yml: re-add missing build commands for Go 1.7 | Felix Lange | 2017-03-24 | 1 | -1/+3 |
| | | | | |||||
| * | | | build: always run go vet | Felix Lange | 2017-03-24 | 4 | -9/+11 |
| | | | | | | | | | | | | | | | | | | | | This ensures 'make test' finds all errors that remote CI would find. Go 1.7 vet reports a false positive in package log, add a workaround. | ||||
| * | | | build: unify vendor skipping logic | Felix Lange | 2017-03-23 | 2 | -26/+31 |
| |/ / | | | | | | | | | | | | | This fixes a recent bug where 'make geth' built everything instead of just geth. | ||||
* | | | ethstats: cleanups, trace logs and "fix" history responses (#3812) | Péter Szilágyi | 2017-03-24 | 1 | -69/+85 |
| | | | |||||
* | | | Merge pull request #3794 from fjl/core-genesis-refactor | Péter Szilágyi | 2017-03-23 | 54 | -1300/+1523 |
|\ \ \ | |/ / |/| | | core: refactor genesis handling | ||||
| * | | core: refactor genesis handling | Felix Lange | 2017-03-23 | 45 | -1267/+1371 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | | core/types: handle nil ChainId in NewEIP155Signer | Felix Lange | 2017-03-23 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | All uses of ChainConfig.ChainId eventually end up in NewEIP155Signer. This fixes the case where users forget to set the ChainId in their config. | ||||
| * | | core/state: expose CommitTo | Felix Lange | 2017-03-23 | 1 | -2/+3 |
| | | | |||||
| * | | common: add UnprefixedHash, UnprefixedAddress | Felix Lange | 2017-03-23 | 1 | -14/+30 |
| | | | |||||
| * | | common/hexutil: add UnmarshalFixedUnprefixedText | Felix Lange | 2017-03-23 | 2 | -5/+62 |
| | | | |||||
| * | | common/math: add HexOrDecimal64, HexOrDecimal256 | Felix Lange | 2017-03-23 | 4 | -12/+54 |
| | | | |||||
* | | | swarm/api: support mounting manifests via FUSE (#3690) | Zahoor Mohamed | 2017-03-23 | 44 | -3/+7005 |
|/ / | |||||
* | | Merge pull request #3795 from fjl/pow-fix-test-mode | Péter Szilágyi | 2017-03-23 | 3 | -20/+25 |
|\ \ | | | | | | | pow: fix Search with ethash test mode | ||||
| * | | pow: fix Search with ethash test mode | Felix Lange | 2017-03-18 | 3 | -20/+25 |
| |/ | | | | | | | | | | | | | | | | | | | | | The cache/dataset methods crashed with a nil pointer error if cachesinmem/dagsinmem were zero. Fix it by skipping the eviction logic if there are no caches/datasets. Search always used the regular dataset size regardless of test mode. Fix it by removing the redundant size parameter of hashimotoFull. Fixes #3784 | ||||
* | | Merge pull request #3809 from fjl/all-use-normal-context | Péter Szilágyi | 2017-03-23 | 76 | -517/+215 |
|\ \ | | | | | | | all: import "context" instead of "golang.org/x/net/context" | ||||
| * | | trie, whisper/whisperv5: use math/rand Read function | Felix Lange | 2017-03-23 | 5 | -54/+23 |
| | | | |||||
| * | | mobile: remove support for Go < 1.7 | Felix Lange | 2017-03-23 | 2 | -26/+5 |
| | | | |||||
| * | | all: import "context" instead of "golang.org/x/net/context" | Felix Lange | 2017-03-23 | 69 | -437/+187 |
|/ / | | | | | | | | | | | | | | | | | | | There is no need to depend on the old context package now that the minimum Go version is 1.7. The move to "context" eliminates our weird vendoring setup. Some vendored code still uses golang.org/x/net/context and it is now vendored in the normal way. This change triggered new vet checks around context.WithTimeout which didn't fire with golang.org/x/net/context. | ||||
* | | les: implement request distributor, fix blocking issues (#3660) | Felföldi Zsolt | 2017-03-23 | 19 | -322/+877 |
| | | | | | | | | | | * les: implement request distributor, fix blocking issues * core: moved header validation before chain mutex lock | ||||
* | | Merge pull request #3808 from fjl/build-go-1.7 | Péter Szilágyi | 2017-03-23 | 4 | -29/+6 |
|\ \ | | | | | | | build: require Go >= 1.7 | ||||
| * | | build: remove support for the GO_OPENCL environment variable | Felix Lange | 2017-03-22 | 1 | -4/+0 |
| | | | | | | | | | | | | We don't use the opencl build tag anymore. | ||||
| * | | build: require Go >= 1.7 | Felix Lange | 2017-03-22 | 4 | -25/+6 |
|/ / | | | | | | | | | | | | | We have decided to bump the requirement to Go 1.7 because it enables subtests and allows dropping backwards-compatibility code. This is in line with Go's support policy. Go 1.6 and earlier no longer receive security updates. | ||||
* | | core/vm: use uint64 instead of *big.Int in tracer (#3805) | Yohann Leon | 2017-03-22 | 6 | -21/+17 |
| | | |||||
* | | core, eth, les: support resuming fast sync on heavy rollback (#3743) | Péter Szilágyi | 2017-03-22 | 6 | -34/+69 |
| | | |||||
* | | Merge pull request #3756 from fjl/core-types-gencodec | Felix Lange | 2017-03-22 | 16 | -322/+554 |
|\ \ | | | | | | | core/types: use gencodec for JSON marshaling code | ||||
| * | | core/types: use gencodec for JSON marshaling code | Felix Lange | 2017-03-07 | 9 | -312/+510 |
| | | | |||||
| * | | rlp: add support for "-" struct tag | Felix Lange | 2017-03-07 | 4 | -7/+31 |
| | | | |||||
| * | | internal/jsre/deps: ensure that go generate produces no changes | Felix Lange | 2017-03-07 | 2 | -3/+4 |
| | | | |||||
| * | | Makefile: add devtools target | Felix Lange | 2017-03-07 | 1 | -0/+9 |
| | | | |||||
* | | | Merge pull request #3802 from karalabe/cocoapods-stable | Péter Szilágyi | 2017-03-20 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | travis: switch to cocoapods 1.2.0 stable | ||||
| * | | | travis: switch to cocoapods 1.2.0 stable | Péter Szilágyi | 2017-03-20 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #3800 from karalabe/ethstats-genesis-fixes | Péter Szilágyi | 2017-03-20 | 1 | -10/+28 |
|\ \ \ | | | | | | | | | ethstats: try both ws:// and wss:// if none specified | ||||
| * | | | ethstats: try both ws:// and wss:// if none specified | Péter Szilágyi | 2017-03-20 | 1 | -10/+28 |
| | | | | |||||
* | | | | swarm/network/kademlia: set kademlia log output to debug instead of warn (#3787) | holisticode | 2017-03-18 | 1 | -1/+1 |
| | | | | |||||
* | | | | accounts/abi/bind: allow client to specify sender address for call (#3782) | bas-vk | 2017-03-16 | 2 | -2/+42 |
| | | | | |||||
* | | | | rpc: add support for extended headers in CORS requests (#3783) | Micah Zoltu | 2017-03-16 | 2 | -0/+2 |
| |_|/ |/| | | | | | | | | Fixes #3762. Details about parameter: https://github.com/rs/cors/blob/a62a804a8a009876ca59105f7899938a1349f4b3/cors.go#L50-L54 | ||||
* | | | internal/ethapi: drop eth_compile (#3740) | Péter Szilágyi | 2017-03-16 | 2 | -85/+1 |
|/ / | |||||
* | | Merge pull request #3779 from zsfelfoldi/cht-update | Péter Szilágyi | 2017-03-14 | 1 | -23/+2 |
|\ \ | | | | | | | light: added new CHT | ||||
| * | | light: added new CHT | Zsolt Felfoldi | 2017-03-14 | 1 | -23/+2 |
| |/ |