aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ethclient, ethereum: add NotFound, split transactions out of ChainReaderFelix Lange2016-12-054-23/+67
| | | | | | | | | ethclient now returns ethereum.NotFound if the server returns null and no error while accessing blockchain data. The light client cannot provide arbitrary transactions. The change to split transaction access into its own interface emphasizes that transactions should not be relied on and recommends use of logs.
* ethclient: use package hexutil for number encodingFelix Lange2016-12-051-2/+2
|
* ethclient: don't crash if server returns null uncle headerFelix Lange2016-12-051-0/+3
| | | | | It should never return null for a known uncle, but even if it does we can't just crash.
* whisper/shhapi, whisper/whisperv5: refactoring (#3364)gluk2562016-12-0214-650/+828
| | | | | | | | | | * Filter refactoring * API tests added + bugfix * fixed the error logs * FilterID fixed * test cases fixed * key generation updated * POW updated * got rid of redundant stuff
* swarm/api: Update ENS root address for Ropsten & prod (#3391)Nick Johnson2016-12-022-5/+4
|
* Merge pull request #3390 from bas-vk/statsd-stopPéter Szilágyi2016-12-011-1/+9
|\ | | | | ethstats: check if received event is valid
| * ethstats: check if received event is validBas van Kervel2016-12-011-1/+9
| |
* | README: removed develop mentionsMaran2016-12-011-3/+1
|/
* cmd/geth: tidied up the source (#3385)Péter Szilágyi2016-11-303-133/+174
| | | cmd/geth: tidied up the source
* Merge pull request #3373 from karalabe/ethstats-block-fieldsPéter Szilágyi2016-11-301-16/+16
|\ | | | | ethstats: don't drop concurrent head reports (mini forks)
| * ethstats: don't drop concurrent head reports (mini forks)Péter Szilágyi2016-11-291-16/+16
| |
* | Merge pull request #3368 from bas-vk/sha3Péter Szilágyi2016-11-301-3/+3
|\ \ | | | | | | node: improve error handling for web3_sha3 RPC method
| * | node: improve error handling for web3_sha3 RPC methodBas van Kervel2016-11-291-3/+3
| | |
* | | eth, miner: removed unnecessary state.Copy()Martin Holst Swende2016-11-303-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | * miner: removed unnecessary state.Copy() * eth: made use of new miner method without state copying * miner: More documentation about new method
* | | cmd/utils: update helpscreen's testnet description (#3377)Luca Zeug2016-11-291-1/+1
| | |
* | | Merge pull request #3376 from karalabe/drop-dao-flagsPéter Szilágyi2016-11-293-88/+17
|\ \ \ | |_|/ |/| | cmd: drop DAO related choice flags since ETC diverged
| * | cmd: drop DAO related choice flags since ETC divergedPéter Szilágyi2016-11-293-88/+17
|/ /
* | Merge pull request #3370 from karalabe/ethstats-block-fieldsPéter Szilágyi2016-11-291-6/+12
|\ \ | | | | | | ethstats: report block miner, gas limit and gas consumption
| * | ethstats: report block miner, gas limit and gas consumptionPéter Szilágyi2016-11-291-6/+12
|/ /
* / core/types: Document Transaction.To (#3366)Steven Roose2016-11-291-0/+2
|/
* VERSION, params: bump unstable version 1.5.5 (#3361)Jeffrey Wilcke2016-11-282-5/+5
|
* params: stable version 1.5.4 (#3360)v1.5.4Jeffrey Wilcke2016-11-281-4/+4
|
* eth/filter: add support for pending logs (#3219)bas-vk2016-11-287-92/+319
|
* common/hexutil: fix Test{Decode,Unmarshal}Uint64 on 32bit arch (#3363)Felix Lange2016-11-282-2/+2
|
* cmd/bzzd: swarm daemon fixes (#3359)Viktor Trón2016-11-287-46/+56
| | | | | | | | | | | | * 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
* Merge pull request #3355 from fjl/hexutil-2Péter Szilágyi2016-11-2817-566/+1125
|\ | | | | Improve hex encoding/decoding
| * ethclient: "addresses" -> "address" in filter query encodingFelix Lange2016-11-281-1/+1
| |
| * eth/filters: simplify query object decodingFelix Lange2016-11-281-47/+44
| |
| * accounts: don't use common.Address for address fieldFelix Lange2016-11-281-4/+5
| | | | | | | | | | common.Address JSON encoding now enforces the 0x prefix, but key files don't have the prefix.
| * common: use package hexutil for fixed size type encodingFelix Lange2016-11-282-60/+30
| |
| * ethclient: use package hexutil for JSON handlingFelix Lange2016-11-281-34/+35
| |
| * core/types: use package hexutil for JSON handlingFelix Lange2016-11-286-392/+40
| |
| * core/vm: use package hexutil for JSON handlingFelix Lange2016-11-282-28/+23
| |
| * common/hexutil: new package for 0x hex encodingFelix Lange2016-11-284-0/+947
| | | | | | | | | | The new package is purpose-built to handle the encoding consumed and produced by the RPC API.
* | Merge pull request #3362 from karalabe/cocoapods-fix-3000Péter Szilágyi2016-11-282-8/+6
|\ \ | | | | | | build: use single CocoaPods package, pre-release dev builds
| * | build: use single CocoaPods package, pre-release dev buildsPéter Szilágyi2016-11-282-8/+6
|/ /
* | light: implemented VMState.Empty() (#3357)Felföldi Zsolt2016-11-282-2/+14
| |
* | build/ci: add swarm related executables (bzzd, bzzup, bzzhash) to binary ↵Viktor Trón2016-11-281-0/+15
|/ | | | packages (#3354)
* core: fixed unwinding bad hash (#3347)Jeffrey Wilcke2016-11-281-3/+8
| | | Fixed unwinding of bad hashes when already on the canon chain
* Merge pull request #3356 from fjl/accounts-no-watch-on-windowsPéter Szilágyi2016-11-282-2/+2
|\ | | | | accounts: disable file system watcher on windows
| * accounts: disable file system watcher on windowsFelix Lange2016-11-282-2/+2
| | | | | | | | | | The watcher is unreliable and causes test failures on Windows. Disable it until we have a better solution.
* | Merge pull request #3352 from fjl/build-git-tagPéter Szilágyi2016-11-281-1/+6
|\ \ | | | | | | internal/build: use 'git tag --points-at' to get the current tag
| * | internal/build: use 'git tag --points-at' to get the current tagFelix Lange2016-11-281-1/+6
| |/ | | | | | | This should restore support for building with git 1.x.
* / core: eip unit tests (#3309)Jeffrey Wilcke2016-11-281-7/+71
|/
* cmd, ethstats, les, mobile, params: native netstats (#3336)Péter Szilágyi2016-11-258-46/+533
|
* Merge pull request #3325 from fjl/p2p-netrestrictFelix Lange2016-11-2525-230/+643
|\ | | | | Prevent relay of invalid IPs, add --netrestrict
| * cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrictFelix Lange2016-11-236-2/+35
| |
| * p2p, p2p/discover, p2p/discv5: add IP network restriction featureFelix Lange2016-11-239-34/+124
| | | | | | | | | | | | The p2p packages can now be configured to restrict all communication to a certain subset of IP networks. This feature is meant to be used for private networks.
| * swarm/network: prevent relay of invalid IPsFelix Lange2016-11-231-0/+5
| |
| * p2p/discover, p2p/discv5: prevent relay of invalid IPs and low portsFelix Lange2016-11-236-28/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The discovery DHT contains a number of hosts with LAN and loopback IPs. These get relayed because some implementations do not perform any checks on the IP. go-ethereum already prevented relay in most cases because it verifies that the host actually exists before adding it to the local table. But this verification causes other issues. We have received several reports where people's VPSs got shut down by hosting providers because sending packets to random LAN hosts is indistinguishable from a slow port scan. The new check prevents sending random packets to LAN by discarding LAN IPs sent by Internet hosts (and loopback IPs from LAN and Internet hosts). The new check also blacklists almost all currently registered special-purpose networks assigned by IANA to avoid inciting random responses from services in the LAN. As another precaution against abuse of the DHT, ports below 1024 are now considered invalid.
| * p2p/discover, p2p/discv5: use netutil.IsTemporaryErrorFelix Lange2016-11-238-248/+2
| |
| * p2p/netutil: new package for network utilitiesFelix Lange2016-11-236-0/+503
| | | | | | | | | | | | | | | | The new package contains three things for now: - IP network list parsing and matching - The WSAEMSGSIZE workaround, which is duplicated in p2p/discover and p2p/discv5.
* | Merge pull request #3346 from obscuren/registrar-removalPéter Szilágyi2016-11-2511-1296/+5
|\ \ | | | | | | common/registrar, eth: removed registrar (tech debt)
| * | common/httpclient, les: removed httpclientJeffrey Wilcke2016-11-254-210/+4
| | |
| * | cmd/utils, internal/web3ext: removed httpGetJeffrey Wilcke2016-11-252-6/+1
| | |
| * | eth: removed http doc backend apiJeffrey Wilcke2016-11-251-7/+0
| | |
| * | common/registrar: delete the old registrar codeFelix Lange2016-11-255-1043/+0
| | | | | | | | | | | | | | | | | | | | | The registrar was broken, unmaintained and there is a much better replacement: ENS. (cherry picked from commit 6ca8f57b08d550613175260cab7633adcacbe6ab)
| * | internal/web3ext: remove registrar-related extensionsFelix Lange2016-11-251-30/+0
| | | | | | | | | | | | (cherry picked from commit d54ad55c6079ae6eab93d7f34ce5c4ec829f8e5b)
* | | Merge pull request #3345 from karalabe/cleanup-mobile-crossbuildsPéter Szilágyi2016-11-252-16/+29
|\ \ \ | |/ / |/| | Makefile, build: do proper mobile builds, not cross builds
| * | Makefile, build: do proper mobile builds, not cross buildsPéter Szilágyi2016-11-252-16/+29
|/ /
* | cmd/utils, VERSION: 1.5.4 unstableFelix Lange2016-11-252-5/+5
| |
* | cmd/utils: 1.5.3 stablev1.5.3Felix Lange2016-11-251-4/+4
| |
* | Merge pull request #3341 from obscuren/touch-delete-fixFelix Lange2016-11-2538-1096/+1971
|\ \ | | | | | | core, core/state: fixed consensus issue added touch revert
| * | tests: update from github.com/ethereum/tests @ f21c49dc816eFelix Lange2016-11-2531-1065/+1799
| | |
| * | core, core/state: fixed consensus issue added touch revertJeffrey Wilcke2016-11-258-31/+172
| | | | | | | | | | | | | | | Implemented proper touch revert journal entries and copied a Parity consensus bug in order to remain in sync with the current longest chain.
* | | Merge pull request #3338 from karalabe/miner-driveby-cleanupPéter Szilágyi2016-11-241-3/+4
|\ \ \ | | | | | | | | miner: remove dead code, add gas price getter
| * | | miner: remove dead code, add gas price getterPéter Szilágyi2016-11-241-3/+4
| |/ /
* | | Merge pull request #3337 from karalabe/core-driveby-cleanupPéter Szilágyi2016-11-241-3/+0
|\ \ \ | |/ / |/| | core: remove dead event
| * | core: remove dead eventPéter Szilágyi2016-11-241-3/+0
|/ /
* | core: improved bad block error reporting (#3320)Jeffrey Wilcke2016-11-235-18/+47
| |
* | Merge pull request #3317 from fjl/build-unstable-simplifyPéter Szilágyi2016-11-234-10/+15
|\ \ | | | | | | build, internal/build: simplify unstable build checks
| * | internal/build: add support for git tag in local EnvironmentFelix Lange2016-11-232-3/+9
| | | | | | | | | | | | | | | | | | I didn't add this initially because the command I tried was too slow. The 'git for-each-ref ...' invocation takes 40ms on my machine. That ought to be acceptable.
| * | appveyor: use native 32bit goFelix Lange2016-11-211-6/+5
| | | | | | | | | | | | | | | This simplifies the build and should speed it up a bit because the standard library doesn't need to be cross compiled on the 32bit builder.
| * | build: simplify unstable build checkFelix Lange2016-11-191-1/+1
| |/ | | | | | | | | | | | | | | | | ci.go decides whether a build is unstable by looking at the branch and tag. This causes issues when a GitHub release is created on the master branch because the build is considered unstable (the CI environment reports the branch as "master"). Fix this by looking at the tag only. Any tagged build is stable.
* | Merge pull request #3327 from karalabe/cocoapods-version-round2Péter Szilágyi2016-11-231-1/+1
|\ \ | | | | | | build: remove hash metadata from cocoapod version
| * | build: remove hash metadata from cocoapod versionPéter Szilágyi2016-11-231-1/+1
|/ /
* | core: implemented new ropsten testnetJeffrey Wilcke2016-11-238-66/+42
| |
* | cmd/geth, core, light, mobile: removed state account StartingNonceJeffrey Wilcke2016-11-237-33/+5
| | | | | | | | All account's nonce start at 0.
* | build: mobile CI fixes (#3322)Péter Szilágyi2016-11-232-8/+10
| | | | | | | | | | * build: use metatags on cocoapods, not prerelease tags * build: fix Maven and CocoaPods author email addresses
* | README: Changed http:// to https:// for swarm link (#3312)sandakersmann2016-11-211-1/+1
| | | | | | Changed http:// to https:// on one link in README.md
* | cmd/bzzup: trim directory in the manifest entry path (#3299)Aron Fischer2016-11-181-2/+2
|/
* node: Remove redundant filepath.Join in parsePersistentNodes (#3300)FrankWang2016-11-181-2/+1
|
* cmd/utils, VERSION: 1.5.3 unstable (#3306)Nick Johnson2016-11-182-3/+3
|
* core: Don't perform EIP150 hash check on uncles (#3303)v1.5.2Nick Johnson2016-11-181-1/+1
|
* cmd/utils: Set version string to stable (#3304)Nick Johnson2016-11-181-1/+1
|
* README: add documentation for bzz related executables to the table (#3294)Viktor Trón2016-11-181-1/+4
|
* travis: dash of black magic to summon the cache daemon (#3288)Péter Szilágyi2016-11-172-11/+9
|
* Dockerfile: Add git dependency to Dockerfile (#3295)Nick Johnson2016-11-171-2/+2
|
* cmd/utils, VERSION: 1.5.2 unstableFelix Lange2016-11-172-5/+5
|
* Merge pull request #3278 from obscuren/version-1-5-1v1.5.1Jeffrey Wilcke2016-11-161-4/+4
|\ | | | | utils: bump stable 1.5.1
| * utils: bump stableJeffrey Wilcke2016-11-161-4/+4
| |
* | Merge pull request #3280 from fjl/fix-go15Jeffrey Wilcke2016-11-161-1/+2
|\ \ | |/ |/| build: set GO15VENDOREXPERIMENT in env.sh
| * build: set GO15VENDOREXPERIMENT in env.shFelix Lange2016-11-161-1/+2
|/ | | | This should fix the 'make' build with Go 1.5.
* cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272)Péter Szilágyi2016-11-164-50/+35
|
* travis: only install the needed three android platforms (#3274)Péter Szilágyi2016-11-161-1/+1
|
* Merge pull request #3275 from obscuren/les-print-fixPéter Szilágyi2016-11-161-1/+1
|\ | | | | les: fixed logging
| * les: fixed loggingJeffrey Wilcke2016-11-161-1/+1
| |
* | Merge pull request #3271 from Arachnid/dockerfilesJeffrey Wilcke2016-11-163-2/+16
|\ \ | | | | | | Dockerfile revamp
| * | containers/docker: Fix dockerfiles for new branch layout; add dockerfile in rootNick Johnson2016-11-163-2/+16
| | |
* | | 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.
* | Merge pull request #3270 from fjl/version-1.5.1Péter Szilágyi2016-11-152-19/+5
|\ \ | |/ |/| README, VERSION: update for 1.5 release
| * README: update for develop->master switch, remove old build tableFelix Lange2016-11-151-18/+4
| |
| * VERSION: bump unstable version to 1.5.1Felix Lange2016-11-151-1/+1
|/
* Merge pull request #3260 from obscuren/version-1-5-1Jeffrey Wilcke2016-11-151-4/+4
|\ | | | | utils: unstable 1.5.1
| * utils: unstable 1.5.1Jeffrey Wilcke2016-11-151-4/+4
| |
* | Merge pull request #3259 from obscuren/version-1-5-0v1.5.0Jeffrey Wilcke2016-11-151-4/+4
|\| | | | | utils: stable 1.5.0
| * utils: stable 1.5.0Jeffrey Wilcke2016-11-151-4/+4
| |
* | Merge pull request #3268 from fjl/build-master-unstableJeffrey Wilcke2016-11-151-2/+2
|\ \ | | | | | | build: master is unstable
| * | build: master is unstableFelix Lange2016-11-151-2/+2
|/ /
* | Merge pull request #3266 from fjl/travis-ppa-livePéter Szilágyi2016-11-152-2/+2
|\ \ | | | | | | travis.yml: upload to the real PPA
| * | travis.yml: upload to the real PPAFelix Lange2016-11-152-2/+2
|/ /
* | travis: force xcode to finish iOS simulator configs (#3265)Péter Szilágyi2016-11-151-0/+2
| |
* | params: hardfork blocknumber (#3264)Jeffrey Wilcke2016-11-151-2/+2
| |
* | Merge pull request #3263 from karalabe/travis-cocoapods-gpg2Péter Szilágyi2016-11-153-15/+16
|\ \ | | | | | | travis, build: further maven and gpg refinements
| * | travis, build: further maven and gpg refinementsPéter Szilágyi2016-11-153-15/+16
| | |
* | | Merge pull request #3262 from karalabe/travis-cocoapods-gpg2Péter Szilágyi2016-11-152-1/+2
|\| | | |/ |/| travis, build: fix mobile build issues on travis
| * travis, build: fix mobile build issues on travisPéter Szilágyi2016-11-152-1/+2
|/
* Merge pull request #3258 from karalabe/unfuckup-travisPéter Szilágyi2016-11-151-1/+1
|\ | | | | travis: work around "timeout features"
| * travis: work around "timeout features"Péter Szilágyi2016-11-151-1/+1
| |
* | core, core/types: refactored tx chain id checking (#3257)Jeffrey Wilcke2016-11-156-12/+58
|\ \ | |/ |/| | | | | | | | | | | * 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-152-0/+10
| |
| * core, core/types: refactored tx chain id checkingJeffrey Wilcke2016-11-144-12/+48
| | | | | | | | Refactored explicit chain id checking in to the Sender deriviation method
* | Merge pull request #2977 from karalabe/initial-mobile-suportFelix Lange2016-11-1544-112/+3278
|\ \ | | | | | | mobile: initial wrappers for mobile support
| * | cmd/utils, mobile: place bootnodes in LGPL packagesPéter Szilágyi2016-11-154-22/+22
| | |
| * | mobile: port wrappers to EIP155 and EIP158 forkPéter Szilágyi2016-11-156-48/+58
| | |
| * | travis, build: cocoapods build fixes and travis cachesPéter Szilágyi2016-11-154-3/+18
| | |
| * | accounts/abi/bind, mobile: review fixes and android testsPéter Szilágyi2016-11-153-8/+215
| | |
| * | cmd, mobile, node, p2p: surface the discovery V5 bootnodesPéter Szilágyi2016-11-158-68/+101
| | |
| * | cmd/utils, mobile: update to reprice HF and light clientPéter Szilágyi2016-11-143-31/+55
| | |
| * | build: iOS XCode framework build and uploadPéter Szilágyi2016-11-144-25/+140
| | |
| * | .travis, build: Build step to push .aar to Maven CentralPéter Szilágyi2016-11-146-15/+216
| | |
| * | mobile: initial wrappers for mobile supportPéter Szilágyi2016-11-1433-33/+2594
|/ /
* | Merge pull request #3253 from zsfelfoldi/light-topic3Felix Lange2016-11-1413-100/+148
|\ \ | |/ |/| Light client bugfixes and updates
| * core/types: turn off nonce checking for Call messagesZsolt Felfoldi2016-11-146-22/+25
| |
| * light: updated CHTs for mainnet and testnetZsolt Felfoldi2016-11-141-4/+4
| |
| * p2p/discv5: added new bootnodesZsolt Felfoldi2016-11-141-1/+2
| |
| * p2p/discv5: fixed bootnode connect issuesZsolt Felfoldi2016-11-145-69/+110
| |
| * les/flowcontrol: fixed locking schemeZsolt Felfoldi2016-11-141-4/+7
|/
* Merge pull request #3179 from obscuren/eip-158Felix Lange2016-11-14961-58765/+141709
|\ | | | | EIP158 & 160 Hardfork
| * core/vm/runtime: fixed go vetJeffrey Wilcke2016-11-141-1/+9
| |
| * core, params: EIP#170Jeffrey Wilcke2016-11-142-6/+6
| |
| * tests: updatedJeffrey Wilcke2016-11-14156-56657/+55468
| |
| * cmd/utils: set temporary HF numberJeffrey Wilcke2016-11-132-13/+31
| |
| * core/types, params: EIP#155Jeffrey Wilcke2016-11-1346-464/+1068
| |
| * tests: added new EIP158 testsJeffrey Wilcke2016-11-13731-1158/+84508
| |
| * core/vm, params: EIP160: EXP repriceJeffrey Wilcke2016-11-132-9/+6
| |
| * core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-1374-561/+717
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | les: cleaned up logging (#3256)Jeffrey Wilcke2016-11-132-24/+29
|/
* Merge pull request #3248 from zsfelfoldi/light-topic3Felix Lange2016-11-112-2/+8
|\ | | | | Topic discovery bugfix
| * les: add missing nil check and handle quit in findServersZsolt Felfoldi2016-11-111-2/+5
| |
| * discv5: fixed state machine lockup bugZsolt Felfoldi2016-11-111-0/+3
| |
* | Merge pull request #3247 from fjl/bzzdFelix Lange2016-11-1111-117/+492
|\ \ | |/ |/| cmd: add swarm command line tools
| * 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
| |
| * swarm/api/http: reject requests without content-lengthFelix Lange2016-11-111-1/+5
| |
| * swarm/network: skip TestSyncDbFelix Lange2016-11-111-0/+2
| |
| * swarm/api: add bzz prefix to swarm directoryFelix Lange2016-11-112-12/+7
| |
| * node: add InstanceDir methodFelix Lange2016-11-112-2/+15
| |
| * accounts: add Find methodFelix Lange2016-11-111-1/+7
| |
| * cmd/v5test: delete the v5test toolFelix Lange2016-11-111-101/+0
|/
* cmd/geth: improve command help messages (#3227)Kenji Siu2016-11-105-87/+132
|
* Merge pull request #3244 from karalabe/reinstate-cachePéter Szilágyi2016-11-101-0/+1
|\ | | | | cmd/geth: reinstate dropped --cache flag
| * 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
|
* Merge pull request #3232 from zsfelfoldi/light-topic3Felix Lange2016-11-09112-278/+16197
|\
| * les: print 'experimental feature' warning on startupFelix Lange2016-11-091-0/+3
| |
| * all: update license informationFelix Lange2016-11-0959-61/+251
| |
| * core/types: remove header accessorsFelix Lange2016-11-0912-35/+26
| | | | | | | | | | | | These accessors were introduced by light client changes, but the only method that is actually used is GetNumberU64. This commit replaces all uses of .GetNumberU64 with .Number.Uint64.
| * p2p/discv5: fix build with Go 1.5, delete package testimgFelix Lange2016-11-095-879/+18
| |
| * p2p/discv5: added new topic discovery packageZsolt Felfoldi2016-11-0939-49/+8096
| |
| * cmd, eth: added light client and light server modeszsfelfoldi2016-11-0917-94/+298
| |
| * les: light client protocol and APIZsolt Felfoldi2016-11-0941-33/+5860
| |
| * light: light chain, VM env and tx poolZsolt Felfoldi2016-11-0915-124/+2642
|/
* build: fix remote path for archive uploads (#3243)Felix Lange2016-11-092-2/+8
| | | | archiveUpload did not handle absolute paths correctly. Fix it by using the basename and ensure that uploads can be tested using -n.
* build: NSIS based Windows installer (#3240)Péter Szilágyi2016-11-099-9/+632
| | | | This commit adds support for creating Windows installers to ci.go
* Merge pull request #3241 from karalabe/fix-pgp-signerPéter Szilágyi2016-11-081-1/+1
|\ | | | | internal/build: call correct signer method
| * internal/build: call correct signer methodPéter Szilágyi2016-11-081-1/+1
|/
* Merge pull request #3239 from karalabe/fix-windows-separatorsPéter Szilágyi2016-11-071-1/+1
|\ | | | | build: fix missing .exe executable names on cross builds
| * build: fix missing .exe executable names on cross buildsPéter Szilágyi2016-11-071-1/+1
| |
* | Merge pull request #3231 from fjl/liner-updatePéter Szilágyi2016-11-079-79/+132
|\ \ | |/ |/| console, vendor: update liner and enable multiline mode
| * console: enable multiline modeFelix Lange2016-11-041-1/+1
| |
| * vendor: update github.com/peterh/linerFelix Lange2016-11-048-78/+131
| |
* | Merge pull request #3238 from karalabe/appveyor-azure-pushPéter Szilágyi2016-11-071-17/+23
|\ \ | | | | | | appveyor: build 386 too, upload both to the gethstore
| * | appveyor: build 386 too, upload both to the gethstorePéter Szilágyi2016-11-071-17/+23
|/ /
* | travis: build to all supported linux architectures (#3235)Péter Szilágyi2016-11-042-1/+26
| |
* | accounts/abi: differentiate between static and dynamic arrays (#3121)RJ2016-11-044-26/+64
|/ | | | | solves #3119 Signed-off-by: VoR0220 <rj@erisindustries.com>
* build, internal/build: misc improvements (#3229)Felix Lange2016-11-036-24/+33
| | | | | | | | | | | | | * travis.yml: don't create darwin/386 builds * build: remove godep remains * internal/build: improve archives - enable compression for zip files - don't write half-complete archives * build: add -unstable to archive names
* Merge pull request #3226 from karalabe/azure-gethstoreFelix Lange2016-11-0360-44/+11437
|\ | | | | travis, build: implement uploading archives to azure
| * travis, build: enable 386 builds too for linux and osxPéter Szilágyi2016-11-032-14/+61
| |
| * vendor: pull in azure sdk and openpgp signerPéter Szilágyi2016-11-0356-25/+11204
| |
| * travis, build: implement uploading archives to azurePéter Szilágyi2016-11-034-13/+180
| |
* | Merge pull request #3225 from kenji-isuntv/developPéter Szilágyi2016-11-031-1/+1
|\ \ | |/ |/| common/math: go fmt
| * common/math: go fmtKenji Siu2016-11-021-1/+1
|/
* common/math, core/vm: implement fast EXP (#3214)Jeffrey Wilcke2016-11-022-2/+31
| | | | | | | * common/math, core/vm: implement fast EXP. Courtesy @chfast & @karalabe * common/math: fix go vet issues on exp calculation
* core: metrics collection for transaction events (#3157)Martin Holst Swende2016-11-012-0/+39
| | | | | | | | | | | | | | | | * core: Add metrics collection for transaction events; replace/discard for pending and future queues, as well as invalid transactions * core: change namespace for txpool metrics * core: define more metrics (not yet used) * core: implement more tx metrics for when transactions are dropped * core: minor formatting tweeks (will squash later) * core: remove superfluous meter, fix missing pending nofunds * core, metrics: switch txpool meters to counters
* Merge pull request #3216 from karalabe/fastsync-bigdb-tuningPéter Szilágyi2016-11-017-195/+273
|\ | | | | core/state, eth/downloader, trie: reset fast-failure on progress
| * eth/downloader: clear pending requests when switching trie rootPéter Szilágyi2016-11-011-9/+18
| |
| * eth/downloader: lower a state sync log level (users freak out)Péter Szilágyi2016-11-011-1/+1
| |
| * eth/downloader: reduce fast sync block requirements, fix testPéter Szilágyi2016-10-312-13/+28
| |
| * core/state, eth/downloader, trie: reset fast-failure on progressPéter Szilágyi2016-10-317-179/+233
| |
* | Merge pull request #3218 from kenji-isuntv/developPéter Szilágyi2016-11-014-25/+24
|\ \ | | | | | | internal/debug, internal/ethapi, rpc, swarm/storage: go fmt
| * | internal/debug, internal/ethapi, rpc, swarm/storage: Ran "go fmt"Kenji Siu2016-11-014-25/+24
|/ /
* | Merge pull request #3064 from pirapira/limit_struct_logsJeffrey Wilcke2016-10-314-4/+16
|\ \ | |/ |/| core/vm: add limit option to LogConfig
| * vm, ethapi: add `limit` option to traceTransactionYoichi Hirai2016-09-304-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | that specifies the maximum number of elements in the `structLogs` output. This option is useful for debugging a transaction that involves a large number of repetition. For example, ``` debug.traceTransaction(tx, {disableStorage: true, limit: 2}) ``` shows at most the first two steps in the `structLogs`.
* | Merge pull request #3215 from fjl/weird-filesPéter Szilágyi2016-10-3015-109/+0
|\ \ | | | | | | all: remove weird files
| * | all: remove weird filesFelix Lange2016-10-3015-109/+0
|/ /
* | Merge pull request #3195 from karalabe/fix-testnet-fastsyncPéter Szilágyi2016-10-295-31/+68
|\ \ | | | | | | 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-294-31/+43
| | |
| * | cmd/utils, core, params: explicitly pick reprice fork for fast syncPéter Szilágyi2016-10-294-7/+32
| | |
* | | whisper: project restructured, version 5 introduced (#3022)gluk2562016-10-2932-16/+4449
|/ / | | | | | | | | | | | | 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
* | internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940)bas-vk2016-10-2913-34/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes several API changes: - The behavior of eth_sign is changed. It now accepts an arbitrary message, prepends the well-known string \x19Ethereum Signed Message:\n<length of message> hashes the result using keccak256 and calculates the signature of the hash. This breaks backwards compatability! - personal_sign(hash, address [, password]) is added. It has the same semantics as eth_sign but also accepts a password. The private key used to sign the hash is temporarily unlocked in the scope of the request. - personal_recover(message, signature) is added and returns the address for the account that created a signature.
* | Godeps, vendor: convert dependency management to trash (#3198)Péter Szilágyi2016-10-291022-233760/+224098
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | ethclient: changed TransactionByHash to only pass one argument to api method ↵Steven Roose2016-10-281-1/+1
| | | | | | | | | | (#3209) Fixes #3203
* | Merge pull request #3189 from fjl/leveldb-updatePéter Szilágyi2016-10-2230-506/+846
|\ \ | | | | | | Update goleveldb, add debug.chaindbCompact
| * | Godeps: update github.com/syndtr/goleveldb to 6b4daa5362Felix Lange2016-10-2028-506/+823
| | |
| * | internal/ethapi: add debug.chaindbCompactFelix Lange2016-10-202-0/+23
| | |
* | | core/vm: Ignore EnableJit ChainConfig setting (#3166)Hao Bryan Cheng2016-10-211-1/+3
| | |
* | | trie: while fast syncing, don't keep trie nodes in memory (#3186)Péter Szilágyi2016-10-211-19/+13
| | |
* | | Merge pull request #3185 from karalabe/fix-log-racePéter Szilágyi2016-10-211-1/+2
|\ \ \ | | | | | | | | eth/downloader: fix a data race in a log output
| * | | eth/downloader: fix a data race in a log outputPéter Szilágyi2016-10-211-1/+2
|/ / /
* | | Merge pull request #3184 from karalabe/import-gas-usePéter Szilágyi2016-10-214-26/+66
|\ \ \ | |/ / |/| | cmd/geth, code, eth/downloader: tune import logs and mem stats
| * | cmd/geth, code, eth/downloader: tune import logs and mem statsPéter Szilágyi2016-10-214-26/+66
|/ /
* | Merge pull request #3176 from karalabe/trie-stats-reportPéter Szilágyi2016-10-193-1/+11
|\ \ | | | | | | cmd/geth, trie: report on trie cache unloads, also add debug log
| * | cmd/geth, trie: report on trie cache unloads, also add debug logPéter Szilágyi2016-10-193-1/+11
|/ /
* | trie: add metric to track cache unloading (#3175)Felix Lange2016-10-192-1/+5
| |
* | Merge pull request #3173 from karalabe/parametrized-trie-cache-getPéter Szilágyi2016-10-195-12/+29
|\ \ | | | | | | cmd, core/state: allow configurable trie cache generations
| * | cmd, core/state: allow configurable trie cache generationsPéter Szilágyi2016-10-195-12/+29
| | |
* | | trie: make the cache miss counter a real metricFelix Lange2016-10-191-7/+5
|/ /
* | Merge pull request #3168 from benjaminbrent/developJeffrey Wilcke2016-10-191-1/+1
|\ \ | | | | | | core/vm: fix GASPRICE string (resolves #2553)
| * | core/vm: fix GASPRICE string (resolves #2553)Benjamin Brent2016-10-191-1/+1
| | |
* | | Merge pull request #3153 from fjl/trie-unload-fixJeffrey Wilcke2016-10-197-70/+130
|\ \ \ | | | | | | | | trie: improve cache unloading mechanism
| * | | trie: ensure dirty flag is unset for embedded child nodesFelix Lange2016-10-182-32/+42
| | | | | | | | | | | | | | | | This was caught by the new invariant check.
| * | | core/state: bump trie cache values slightlyFelix Lange2016-10-181-4/+4
| | | |
| * | | trie: ensure resolved nodes stay loadedFelix Lange2016-10-186-43/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 40cdcf1183 broke the optimisation which kept nodes resolved during Get in the trie. The decoder assigned cache generation 0 unconditionally, causing resolved nodes to get flushed on Commit. This commit fixes it and adds two tests.
| * | | trie: avoid loading the root node twiceFelix Lange2016-10-181-6/+4
| | | | | | | | | | | | | | | | | | | | New checks whether the root node is present by loading it from the database. Keep the node around instead of discarding it.
* | | | Merge pull request #3161 from karalabe/trie-cache-countersPéter Szilágyi2016-10-192-4/+28
|\ \ \ \ | |_|/ / |/| | | cmd/geth, trie: track and report trie cache misses
| * | | cmd/geth, trie: track and report trie cache missesPéter Szilágyi2016-10-192-4/+28
|/ / /
* | | miner: copy pending state before handing it to callers (#3162)Nick Johnson2016-10-191-1/+1
| | | | | | | | | The pending state was not copied while not mining, leading to a data race.
* | | Merge pull request #3156 from holiman/metrics-blocksJeffrey Wilcke2016-10-181-0/+2
|\ \ \ | | | | | | | | core: Add block processing time metric collection
| * | | core: Add block processing time metric collectionMartin Holst Swende2016-10-181-0/+2
| | | |
* | | | Merge pull request #3160 from karalabe/import-database-statsPéter Szilágyi2016-10-181-4/+21
|\ \ \ \ | | | | | | | | | | cmd/geth: compact and print database stats after an import
| * | | | cmd/geth: compact and print database stats after an importPéter Szilágyi2016-10-181-4/+21
|/ / / /
* | | | Merge pull request #3158 from karalabe/pretty-print-importsPéter Szilágyi2016-10-184-19/+71
|\ \ \ \ | |/ / / |/| | | common, core, eth/downloader: adjust import log formatting
| * | | common, core, eth/downloader: adjust import log formattingPéter Szilágyi2016-10-184-19/+71
|/ / /
* | | Merge pull request #3100 from kobigurk/developFelix Lange2016-10-172-1/+55
|\ \ \ | |/ / |/| | internal/ethapi, internal/web3ext: adds raw tx retrieval methods
| * | internal/ethapi, internal/web3ext: adds raw tx retrieval methodsKobi Gurkan2016-10-102-1/+55
| | |
* | | Merge pull request #3142 from fjl/trie-sync-fixPéter Szilágyi2016-10-151-0/+2
|\ \ \ | | | | | | | | trie: fix regression that linked all downloaded nodes together
| * | | trie: fix regression that linked all downloaded nodes togetherFelix Lange2016-10-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The trie sync code links subtries using pointers into node structs. Since commit 40cdcf1183 nodes are no longer copied when unpacking from an interface value, causing all nodes to get linked up as the sync progresses. Fix it by breaking the pointer chain with an explicit copy.