aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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)Nick 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-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-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.
* | | | Merge pull request #3141 from obscuren/reprice-block-numberJeffrey Wilcke2016-10-151-1/+1
|\ \ \ \ | |/ / / |/| | | params: set reprice block number to 2463000
| * | | params: set reprice block number to 2463000Jeffrey Wilcke2016-10-151-1/+1
|/ / /
* | | Merge pull request #3111 from obscuren/gas-price-forkPéter Szilágyi2016-10-1543-67/+77186
|\ \ \ | | | | | | | | core, core/vm: added gas price variance table (EIP #150)
| * | | core, core/vm: added gas price variance tableJeffrey Wilcke2016-10-1543-67/+77186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements 1b & 1c of EIP150 by adding a new GasTable which must be returned from the RuleSet config method. This table is used to determine the gas prices for the current epoch. Please note that when the CreateBySuicide gas price is set it is assumed that we're in the new epoch phase. In addition this PR will serve as temporary basis while refactorisation in being done in the EVM64 PR, which will substentially overhaul the gas price code.
* | | | Merge pull request #3138 from karalabe/txpool-pending-limitsPéter Szilágyi2016-10-152-5/+150
|\ \ \ \ | | | | | | | | | | core: add global (soft) limits on the pending transactions
| * | | | core: add global (soft) limits on the pending transactionsPéter Szilágyi2016-10-142-5/+150
| | | | |
* | | | | trie, core/state: improve memory usage and performance (#3135)Felix Lange2016-10-1515-142/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trie: store nodes as pointers This avoids memory copies when unwrapping node interface values. name old time/op new time/op delta Get 388ns ± 8% 215ns ± 2% -44.56% (p=0.000 n=15+15) GetDB 363ns ± 3% 202ns ± 2% -44.21% (p=0.000 n=15+15) UpdateBE 1.57µs ± 2% 1.29µs ± 3% -17.80% (p=0.000 n=13+15) UpdateLE 1.92µs ± 2% 1.61µs ± 2% -16.25% (p=0.000 n=14+14) HashBE 2.16µs ± 6% 2.18µs ± 6% ~ (p=0.436 n=15+15) HashLE 7.43µs ± 3% 7.21µs ± 3% -2.96% (p=0.000 n=15+13) * trie: close temporary databases in GetDB benchmark * trie: don't keep []byte from DB load around Nodes decoded from a DB load kept hashes and values as sub-slices of the DB value. This can be a problem because loading from leveldb often returns []byte with a cap that's larger than necessary, increasing memory usage. * trie: unload old cached nodes * trie, core/state: use cache unloading for account trie * trie: use explicit private flags (fixes Go 1.5 reflection issue). * trie: fixup cachegen overflow at request of nick * core/state: rename journal size constant
* | | | | Merge pull request #3136 from Arachnid/expvarPéter Szilágyi2016-10-142-2/+9
|\ \ \ \ \ | |/ / / / |/| | | | metrics, internal/debug: Add --pprofaddr flag, expose metrics via gexp
| * | | | metrics, internal/debug: Add --pprofaddr flag, expose metrics via gexpNick Johnson2016-10-142-2/+9
| | | | |
* | | | | Merge pull request #3133 from ethersphere/http-fixViktor Trón2016-10-141-5/+8
|\ \ \ \ \ | | | | | | | | | | | | swarm: fix http API's last problems
| * | | | | swarm/storage: Allow EOF at the end of the reader in the chunker. Handle the ↵Daniel A. Nagy2016-10-141-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | case when Read returns less than length of target slice
* | | | | | Merge pull request #3108 from homotopycolimit/FixChunkerWithBrokenReaderFelix Lange2016-10-144-101/+89
|\| | | | | | |/ / / / |/| | | | swarm/storage: fixes for tree chunker in the context of a broken reader
| * | | | swarm/storage: fix chunker when reader is brokenaron2016-10-114-101/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * brokenLimitedReader gives error after half size * TestRandomBrokenData tests chunker with broken reader * add blocking quitC (instead of errC) and use errC only for errors * don't close chunkC in tester Split, * use quitC to quit chunk storage loop
* | | | | Merge pull request #3120 from obscuren/reporter-fixFelix Lange2016-10-131-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | core: fixed import reporter
| * | | | core: fixed import reporterJeffrey Wilcke2016-10-111-1/+1
|/ / / /
* | | | Merge pull request #3104 from fjl/core-import-logFelix Lange2016-10-112-12/+43
|\ \ \ \ | | | | | | | | | | core: print import stats more often
| * | | | eth: move "timed out DAO fork check, dropping" to debug levelFelix Lange2016-10-081-1/+1
| | | | |
| * | | | core: print import stats more oftenFelix Lange2016-10-081-11/+42
| | |/ / | |/| | | | | | | | | | | | | | | | | | If geth is busy importing 2048 heavy blocks it can take a while before it prints anything. This change ensures that a message gets printed every 8s.
* | | | Merge pull request #3117 from fjl/txpool-low-limitFelix Lange2016-10-101-1/+1
|\ \ \ \ | |/ / / |/| | | core: lower transaction pool max queue limit
| * | | core: lower transaction pool max queue limitFelix Lange2016-10-101-1/+1
|/ / /
* | | Merge pull request #3088 from bas-vk/rpc-block-outputFelix Lange2016-10-073-6/+6
|\ \ \ | |/ / |/| | core/types: renamed receiptRoot to receiptsRoot
| * | core/types: renamed receiptRoot to receiptsRootBas van Kervel2016-10-053-6/+6
| | |
* | | Merge pull request #3094 from fjl/tests-updateFelix Lange2016-10-06746-65642/+188445
|\ \ \ | | | | | | | | tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1
| * | | tests: update test files from github.com/ethereum/tests @ 45bc1d21d3c1Felix Lange2016-10-06746-65642/+188445
| | | | | | | | | | | | | | | | | | | | | | | | Two new tests are skipped because they're buggy. Making some newer random state tests work required implementing the 'compressed return value encoding'.
* | | | Merge pull request #3092 from fjl/state-journalJeffrey Wilcke2016-10-0627-275/+697
|\ \ \ \ | | | | | | | | | | core/state: implement reverts by journaling all changes
| * | | | core/state: optimize GetStateFelix Lange2016-10-061-5/+7
| | | | | | | | | | | | | | | | | | | | There is no need to use the reflection-based decoder to decode []byte.
| * | | | core/state: rename Delete/IsDeleted to Suicide/HasSuicidedFelix Lange2016-10-069-32/+35
| | | | | | | | | | | | | | | | | | | | The delete/remove naming has caused endless confusion in the past.
| * | | | core/state: implement reverts by journaling all changesFelix Lange2016-10-0624-250/+667
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit replaces the deep-copy based state revert mechanism with a linear complexity journal. This commit also hides several internal StateDB methods to limit the number of ways in which calling code can use the journal incorrectly. As usual consultation and bug fixes to the initial implementation were provided by @karalabe, @obscuren and @Arachnid. Thank you!
* | | | | Merge pull request #3090 from karalabe/fix-eth-header-indexingJeffrey Wilcke2016-10-062-5/+31
|\ \ \ \ \ | | | | | | | | | | | | eth: monitor malicious header retrieval requests
| * | | | | eth: monitor malicious header retrieval requestsPéter Szilágyi2016-10-052-5/+31
| | |_|/ / | |/| | |
* | | | | Merge pull request #3089 from bas-vk/resendFelix Lange2016-10-061-4/+3
|\ \ \ \ \ | |_|_|/ / |/| | | | internal/ethapi: bugfix gas price and limit swapped in eth_resend
| * | | | internal/ethapi: bugfix gas price and limit swapped in eth_resendBas van Kervel2016-10-051-4/+3
| |/ / /
* | | | Merge pull request #3081 from ethernomad/cors-max-agePéter Szilágyi2016-10-051-0/+1
|\ \ \ \ | |/ / / |/| | | rpc: set CORS Max-Age to reduce preflight OPTIONS requests
| * | | rpc: set CORS Max-Age to reduce preflight OPTIONS requestsJonathan Brown2016-10-031-0/+1
| |/ /
* | | Merge pull request #3082 from fjl/build-fix-tag-appveyorFelix Lange2016-10-041-1/+1
|\ \ \ | |/ / |/| | internal/build: fix git tag env variable for AppVeyor
| * | internal/build: fix git tag env variable for AppVeyorFelix Lange2016-10-031-1/+1
|/ /
* | Merge pull request #3073 from fjl/build-git17Péter Szilágyi2016-10-031-1/+3
|\ \ | | | | | | internal/build: use less edgy command to get the branch name
| * | internal/build: use less edgy command to get the branch nameFelix Lange2016-10-031-1/+3
|/ /
* | Merge pull request #3072 from karalabe/state-storage-dirtyPéter Szilágyi2016-10-032-18/+24
|\ \ | | | | | | core/state: track dirty state entries for each object
| * | core/state: track dirty state entries for each objectPéter Szilágyi2016-10-032-18/+24
|/ /
* | Merge pull request #3066 from fjl/build-envPéter Szilágyi2016-10-029-132/+250
|\ \ | | | | | | build: improve debian packaging
| * | build: improve debian packagingFelix Lange2016-10-029-132/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit tweaks the debian packaging tool: * All build environment metadata can now be overriden on the command line. This allows testing the CI build behaviour locally. * -unstable packages now actually contain the binaries (oops) * packages use Go 1.7 to build * archiving is skipped for PR builds
* | | Merge pull request #3068 from fjl/update-sha3Felix Lange2016-10-026-3/+410
|\ \ \ | | | | | | | | crypto/sha3: update from golang.org/x/crypto/sha3 a 80b25ed4
| * | | crypto/sha3: update from golang.org/x/crypto/sha3 a 80b25ed4Felix Lange2016-10-026-3/+410
|/ / / | | | | | | | | | This pulls in the assembly implementation of keccakf1600 for amd64.
* | | Merge pull request #3067 from karalabe/vm-avoid-hashingPéter Szilágyi2016-10-0117-37/+59
|\ \ \ | |/ / |/| | cmd, core, internal, light, tests: avoid hashing the code in the VM
| * | cmd, core, internal, light, tests: avoid hashing the code in the VMPéter Szilágyi2016-10-0117-37/+59
|/ /
* | Merge pull request #3062 from fjl/trie-delete-bugPéter Szilágyi2016-09-302-38/+133
|\ \ | |/ |/| trie: fix delete bug for values contained in fullNode
| * trie: fix delete bug for values contained in fullNodeFelix Lange2016-09-302-35/+127
| | | | | | | | | | | | | | | | | | Delete crashed if a fullNode contained a valueNode directly. This bug is very unlikely to occur with SecureTrie, but can happen with regular tries. This commit also introduces a randomised test which triggers all trie operations, which should prevent such bugs in the future. Credit for finding this bug goes to Github user @rjl493456442.
| * trie: remove dependency on package cryptoFelix Lange2016-09-301-3/+6
| | | | | | | | | | Package crypto needs cgo, which is inconvenient for some build configurations.
* | Merge pull request #3032 from Gustav-Simonsson/keystore_paddingFelix Lange2016-09-303-1/+62
|\ \ | | | | | | accounts: left pad keybytes-to-encrypt
| * | accounts: left pad keybytes-to-encrypt, add 30/31 byte keys testsGustav Simonsson2016-09-283-1/+62
| | |
* | | Merge pull request #2914 from fjl/node-coinhabitFelix Lange2016-09-2919-239/+470
|\ \ \ | |_|/ |/| | cmd/utils, node: make datadir reusable for bzzd
| * | common, node: move datadir defaults into package nodeFelix Lange2016-09-167-49/+43
| | |
| * | node: ensure datadir can be co-inhabited by different instancesFelix Lange2016-09-1614-186/+422
| | | | | | | | | | | | | | | This change ensures that nodes started with different Name but same DataDir values don't use the same nodekey and IPC socket.
| * | ethdb: add accessor for database directoryFelix Lange2016-09-161-0/+5
| | |
| * | p2p/nat: delay auto discovery until first useFelix Lange2016-09-161-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Port mapper auto discovery used to run immediately after parsing the --nat flag, giving it a slight performance boost. But this is becoming inconvenient because we create node.Node for all geth operations including account management and bare chain interaction. Delay autodiscovery until the first use instead, which avoids any network interaction until the node is actually started.
* | | Merge pull request #3048 from sandakersmann/patch-2Péter Szilágyi2016-09-291-5/+5
|\ \ \ | | | | | | | | README: Changed http:// to https:// on some links
| * | | README: Changed http:// to https:// on some linkssandakersmann2016-09-271-5/+5
| | |/ | |/| | | | Changed http:// to https:// on some links in README.md
* | | p2p/nat: fix parameter order for AddMappingken101001472016-09-281-2/+2
| | |
* | | Merge pull request #3053 from karalabe/fjl-state-trie-journalPéter Szilágyi2016-09-2822-671/+562
|\ \ \ | |/ / |/| | core, trie: replace state caches with trie journal
| * | core, eth, trie: reuse trie journals in all our codePéter Szilágyi2016-09-289-25/+151
| | |
| * | core, trie: replace state caches with trie journalFelix Lange2016-09-2815-654/+419
|/ /
* | Merge pull request #3043 from fjl/windows-fix-fatalfFelix Lange2016-09-271-4/+11
|\ \ | | | | | | cmd/utils: don't check for stderr redirect on windows
| * | cmd/utils: don't check for stderr redirect on windowsFelix Lange2016-09-261-4/+11
|/ / | | | | | | | | | | | | | | The redirect check did not work on Go 1.6 and below because Stat returned an error for stdout and stderr. In Go 1.7 Stat works on stdout but doesn't return anything meaningful, causing cmd/geth test failures because the message is printed to stderr only. Fix it by printing to stdout only.
* | Merge pull request #3041 from fjl/build-less-parallelPéter Szilágyi2016-09-262-3/+3
|\ \ | | | | | | build: limit test concurrency
| * | travis.yml: remove go 1.4 builderFelix Lange2016-09-261-3/+0
| | |
| * | build: limit test concurrencyFelix Lange2016-09-261-0/+3
| | | | | | | | | | | | | | | | | | TravisCI and AppVeyor run the tests in very slow VMs. Some of our tests can't cope with that. Running less tests in parallel should make them somewhat less flakey.
* | | Merge pull request #3040 from karalabe/dummyPéter Szilágyi2016-09-261-1/+1
|\ \ \ | |/ / |/| | accounts/abi: fix typo in the comment (dummy commit)
| * | accounts/abi: fix typo in the comment (dummy commit)Péter Szilágyi2016-09-261-1/+1
|/ /
* | Merge pull request #3037 from karalabe/state-cachingPéter Szilágyi2016-09-2617-336/+414
|\ \ | | | | | | State caching