aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | core/state: track all accounts in canon stateFelix Lange2016-09-2617-336/+414
|/ / | | | | | | | | This change introduces a global, per-state cache that keeps account data in the canon state. Thanks to @karalabe for lots of fixes.
* | Merge pull request #3035 from Gustav-Simonsson/zero_value_transfer_noopPéter Szilágyi2016-09-261-0/+6
|\ \ | | | | | | core/state: short-circuit balance change if zero value
| * | core/state: short-circuit balance change if zero valueGustav Simonsson2016-09-261-0/+6
|/ /
* | Merge pull request #3009 from Gustav-Simonsson/fix_oom_in_lightFelix Lange2016-09-222-2/+4
|\ \ | | | | | | light: fix memory expansion bug (same as fix for core/state)
| * | light: fix memory expansion bug (same as fix for core/state)Gustav Simonsson2016-09-202-2/+4
| | |
* | | Merge pull request #3021 from bas-vk/ethclient-logsFelix Lange2016-09-211-2/+2
|\ \ \ | |/ / |/| | ethclient: bugfix retrieving logs
| * | ethclient: bugfix retrieving logsBas van Kervel2016-09-211-2/+2
|/ /
* | Merge pull request #3010 from Gustav-Simonsson/remove_unused_initcode_fieldFelix Lange2016-09-193-9/+0
|\ \ | | | | | | core/state, light: remove unused StateObject.initCode
| * | core/state, light: remove unused StateObject.initCodeGustav Simonsson2016-09-193-9/+0
|/ /
* | Merge pull request #3006 from Arachnid/patchPéter Szilágyi2016-09-193-5/+8
|\ \ | |/ |/| core/state: Fix memory expansion bug by not copying clean objects
| * core/state: Fix memory expansion bug by not copying clean objectsNick Johnson2016-09-193-5/+8
| |
* | Merge pull request #2999 from karalabe/bury-blockchain-versionPéter Szilágyi2016-09-154-12/+3
|\ \ | | | | | | cmd, eth: drop the blockchain version from cli/eth configs
| * | cmd, eth: drop the blockchain version from cli/eth configsPéter Szilágyi2016-09-154-12/+3
|/ /
* | Merge pull request #2983 from bas-vk/txindexFelix Lange2016-09-151-1/+2
|\ \ | | | | | | miner: set tx index logs
| * | miner: set tx index logsBas van Kervel2016-09-121-1/+2
| | |
* | | Merge pull request #2973 from bas-vk/filteridPéter Szilágyi2016-09-122-1/+53
|\ \ \ | | | | | | | | rpc: format filter ID according to spec for quantities
| * | | rpc: format filter ID according to spec for quantitiesBas van Kervel2016-09-012-1/+53
| | | |
* | | | Merge pull request #2984 from karalabe/fix-head-subbas-vk2016-09-095-1/+132
|\ \ \ \ | |_|/ / |/| | | core/types, ethclient: fix broken subscriptions
| * | | core/types: add core type marshal methods tooPéter Szilágyi2016-09-084-0/+131
| | | |
| * | | ethclient: fix new block->header subscription endpointPéter Szilágyi2016-09-081-1/+1
|/ / /
* | | Merge pull request #2979 from karalabe/ethclient-sync-apiPéter Szilágyi2016-09-067-55/+105
|\ \ \ | | | | | | | | ethereum, ethclient: add SyncProgress API endpoint
| * | | ethereum, ethclient: add SyncProgress API endpointPéter Szilágyi2016-09-067-55/+105
|/ / /
* | | Merge pull request #2976 from fjl/utils-versionFelix Lange2016-09-057-76/+124
|\ \ \ | | | | | | | | cmd/evm, cmd/geth, cmd/utils: move version handling to cmd/utils
| * | | cmd/geth: fix port clash in genesis testFelix Lange2016-09-051-1/+4
| | | |
| * | | cmd/evm, cmd/geth, cmd/utils: move version handling to cmd/utilsFelix Lange2016-09-056-75/+120
|/ / /
* | | Merge pull request #2949 from elliots/fix/#2948Péter Szilágyi2016-09-021-12/+4
|\ \ \ | | | | | | | | miner: Prevent attempts to close nil quit channel in agent (fixes #2948)
| * | | miner: Move CpuAgent channel creation from Start() to initialization (fixes ↵☃ Elliot Shepherd2016-08-251-12/+4
| | | | | | | | | | | | | | | | | | | | | | | | #2948) Also remove the now un-needed mutex locking in Start() and Stop()
* | | | Merge pull request #2742 from karalabe/tx-spam-protectionJeffrey Wilcke2016-09-0215-553/+1146
|\ \ \ \ | | | | | | | | | | Transaction pool optimizations
| * | | | core: abstract out a sorted transaction hash mapPéter Szilágyi2016-09-024-222/+229
| | | | |
| * | | | core: add upper bound on the queued transctionsPéter Szilágyi2016-09-023-33/+203
| | | | |
| * | | | core/types, miner: switch over to the grouped tx setsPéter Szilágyi2016-09-023-119/+98
| | | | |
| * | | | core, eth, internal, miner: optimize txpool for quick opsPéter Szilágyi2016-09-0214-426/+788
| | | | |
| * | | | core, eth, miner: only retain 1 tx/nonce, remove bad onesPéter Szilágyi2016-09-026-207/+282
|/ / / /
* | | | Merge pull request #2972 from Arachnid/ensFelix Lange2016-09-012-5/+26
|\ \ \ \ | | | | | | | | | | contracts/ens: Replace setOwner with setSubnodeOwner per EIP137
| * | | | contracts/ens: Replace setOwner with setSubnodeOwner in accordance with EIP137Nick Johnson2016-09-012-5/+26
| | | | |
* | | | | Merge pull request #2965 from fjl/swarm-mergeFelix Lange2016-09-0151-13/+10805
|\ \ \ \ \ | |_|_|/ / |/| | | | swarm: plan bee for content storage and distribution on web3
| * | | | swarm: plan bee for content storage and distribution on web3ΞTHΞЯSPHΞЯΞ2016-08-3151-13/+10805
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change imports the Swarm protocol codebase. Compared to the 'swarm' branch, a few mostly cosmetic changes had to be made: * The various redundant log message prefixes are gone. * All files now have LGPLv3 license headers. * Minor code changes were needed to please go vet and make the tests pass on Windows. * Further changes were required to adapt to the go-ethereum develop branch and its new Go APIs. Some code has not (yet) been brought over: * swarm/cmd/bzzhash: will reappear as cmd/bzzhash later * swarm/cmd/bzzup.sh: will be reimplemented in cmd/bzzup * swarm/cmd/makegenesis: will reappear somehow * swarm/examples/album: will move to a separate repository * swarm/examples/filemanager: ditto * swarm/examples/files: will not be merged * swarm/test/*: will not be merged * swarm/services/swear: will reappear as contracts/swear when needed
* | | | Merge pull request #2918 from hypergig/patch-2Felix Lange2016-09-011-0/+12
|\ \ \ \ | |/ / / |/| | | Small docker run example for main README
| * | | README: docker run exampleJordan Cohen2016-08-191-0/+12
| | | |
* | | | Merge pull request #2962 from fjl/release-moveFelix Lange2016-08-318-24/+8
|\ \ \ \ | | | | | | | | | | contracts/release: move package release to contracts/
| * | | | contracts/release: move package release to contracts/Felix Lange2016-08-308-24/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change also deletes generator.go, moving the only interesting line in it into release.go. The binding has been regenerated with abigen from develop and solc v0.3.6.
* | | | | Merge pull request #2963 from fjl/ens-solc-0.3.6Felix Lange2016-08-313-12/+12
|\ \ \ \ \ | | | | | | | | | | | | contracts/ens: regenerate binding with solc v0.3.6
| * | | | | contracts/ens: regenerate binding with solc v0.3.6Felix Lange2016-08-303-12/+12
| |/ / / /
* | | | | Merge pull request #2964 from nagydani/developFelix Lange2016-08-315-39/+11
|\ \ \ \ \ | | | | | | | | | | | | contracts/chequebook: fix possible reentrancy bug in chequebook contract
| * | | | | contracts/chequebook/contract: fix possible reentrancy bug in chequebook.solDaniel A. Nagy2016-08-315-39/+11
|/ / / / /
* | | | | Merge pull request #2967 from fjl/godeps-updateFelix Lange2016-08-30118-52135/+18832
|\ \ \ \ \ | |/ / / / |/| | | | Godeps: update golang.org/x/...
| * | | | Godeps: update golang.org/x/...Felix Lange2016-08-30118-52135/+18832
|/ / / /
* | | | Merge pull request #2952 from Arachnid/ensFelix Lange2016-08-306-0/+1393
|\ \ \ \ | | | | | | | | | | contracts/ens: Add ENS contract binding
| * | | | contracts/ens: Add ENS contract bindingNick Johnson2016-08-306-0/+1393
| | | | |
* | | | | Merge pull request #2956 from fjl/chequebookFelix Lange2016-08-297-0/+1930
|\ \ \ \ \ | | | | | | | | | | | | contracts/chequebook: add chequebook contract wrapper
| * | | | | contracts/chequebook: add chequebook contract wrapperViktor Trón2016-08-297-0/+1930
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wrapper code is adapted from the swarm/services/chequebook package with the following mostly cosmetic changes: * The code now uses the new Go API interfaces to query balances. Some minor functional changes were required to make this work. * The package no longer depends on swarm/services/swap/swap. References to swap.Promise are replaced by interface{}, the base type of Promise. This is temporary. * The contract wrapper has been regenerated with latest abigen and solc v0.3.6. * There is a new generator that creates the 'deployed code' variable. * Documentation comments now follow the recommended godoc style. * [CHEQUEBOOK] log prefixes are gone. * LGPL license headers have been added to all files.
* / / / / common,internal: typo/misspelling fixes (#2953)gregg dourgarian2016-08-272-9/+9
|/ / / /
* | | | Merge pull request #2930 from fjl/ethclientPéter Szilágyi2016-08-2525-558/+1716
|\ \ \ \ | |_|/ / |/| | | Stable Go API, part 1
| * | | accounts/abi/bind: add utilities for waiting on transactionsFelix Lange2016-08-234-15/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The need for these functions comes up in code that actually deploys and uses contracts. As of this commit, they can be used with both SimulatedBackend and ethclient. SimulatedBackend gains some additional methods in the process and is now safe for concurrent use.
| * | | accounts/abi/bind: use ethereum interfacesFelix Lange2016-08-224-220/+204
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this commit, contract bindings and their backend start using the Ethereum Go API interfaces offered by ethclient. This makes ethclient a suitable replacement for the old remote backend and gets us one step closer to the final stable Go API that is planned for go-ethereum 1.5. The changes in detail: * Pending state is optional for read only contract bindings. BoundContract attempts to discover the Pending* methods via an interface assertion. There are a couple of advantages to this: ContractCaller is just two methods and can be implemented on top of pretty much anything that provides Ethereum data. Since the backend interfaces are now disjoint, ContractBackend can simply be declared as a union of the reader and writer side. * Caching of HasCode is removed. The caching could go wrong in case of chain reorganisations and removing it simplifies the code a lot. We'll figure out a performant way of providing ErrNoCode before the 1.5 release. * BoundContract now ensures that the backend receives a non-nil context with every call.
| * | | accounts/abi/bind/backends: remove nil and remote backendsFelix Lange2016-08-214-203/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The remote backend is superseded by ethclient. The nil backend's stated purpose was to enable testing of accounts/abi/bind. None of its methods actually worked. A much simpler way to get a crashing backend is to simply pass nil as the backend. With a one-line change to the generator (removing two explicit interface assertions), passing nil actually works. Removing these backends means that less changes are required later.
| * | | ethclient: add initial implementation of the typed RPC clientFelix Lange2016-08-102-0/+399
| | | | | | | | | | | | | | | | | | | | | | | | ethclient implements the proposed Ethereum Go API. There are no tests at the moment, a suite that excercises all implementations of the API will be added later.
| * | | ethereum: add new Go API interfacesFelix Lange2016-08-051-0/+168
| | | |
| * | | internal/ethapi: add missing output fieldsFelix Lange2016-08-043-24/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - returned headers didn't include mixHash - returned transactions didn't include signature fields - empty transaction input was returned as "", but should be "0x" - returned receipts didn't include the bloom filter - "root" in receipts was missing 0x prefix
| * | | core/types, core/vm: improve docs, add JSON marshaling methodsFelix Lange2016-08-048-99/+589
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In this commit, core/types's types learn how to encode and decode themselves as JSON. The encoding is very similar to what the RPC API uses. The RPC API is missing some output fields (e.g. transaction signature values) which will be added to the API in a later commit. Some fields that the API generates are ignored by the decoder methods here.
| * | | eth: don't call ValidateFieldsFelix Lange2016-08-041-3/+0
|/ / / | | | | | | | | | | | | | | | ValidateFields was introduced before the rlp decoder disallowed nil values. Decoding RLP will never return nil values, there is no need to check for them.
* | | Merge pull request #2943 from Arachnid/tracingFelix Lange2016-08-252-6/+23
|\ \ \ | | | | | | | | internal/ethapi: Fix bug in opCodeWrapper usage
| * | | internal/ethapi: Fix bug in opCodeWrapper usageNick Johnson2016-08-242-6/+23
|/ / /
* | | Merge pull request #2941 from Arachnid/tracingFelix Lange2016-08-242-11/+26
|\ \ \ | | | | | | | | internal/ethapi: Improve tracer error reporting and serialization
| * | | internal/ethapi: Improve tracer error reporting and serializationNick Johnson2016-08-242-11/+26
|/ / /
* | | eth/fetcher: small typo fix (#2932)Stein Dekker2016-08-231-1/+1
| | |
* | | Merge pull request #2929 from Arachnid/tracingPéter Szilágyi2016-08-236-18/+551
|\ \ \ | | | | | | | | core/vm, eth: Add support for javascript trace functions
| * | | core/vm, eth: Add support for javascript trace functionsNick Johnson2016-08-236-18/+551
| | | |
* | | | cmd/geth: set correct initial nonce on testnet for import/init subcommands ↵Hellsegga2016-08-232-0/+8
| | | | | | | | | | | | | | | | (#2924)
* | | | Merge pull request #2928 from obscuren/remove-dao-messageFelix Lange2016-08-221-17/+0
|\ \ \ \ | |/ / / |/| | | cmd/utils: removed DAO oppose / support message
| * | | cmd/utils: removed DAO oppose / support messageJeffrey Wilcke2016-08-221-17/+0
| |/ /
* | | Merge pull request #2927 from obscuren/licensePéter Szilágyi2016-08-222-0/+25
|\ \ \ | | | | | | | | cmd/geth: added copyright and license information
| * | | cmd/geth: added copyright and license informationJeffrey Wilcke2016-08-222-0/+25
| |/ / | | | | | | | | | | | | | | | As per GNU GPL requirement I've added the copyright and the license information as a subcommand as well as a copyright notice when displaying the help command.
* | | Merge pull request #2923 from Arachnid/tracingPéter Szilágyi2016-08-2216-282/+162
|\ \ \ | | | | | | | | core: Refactor tracing to make Tracer the main interface
| * | | core/vm: Refactor tracing to make Tracer the main interfaceNick Johnson2016-08-2216-282/+162
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL makes several refactors: - Define a Tracer interface, implementing the `CaptureState` method - Add the VM environment as the first argument of `Tracer.CaptureState` - Rename existing functionality `StructLogger` an make it an implementation of `Tracer` - Delete `StructLogCollector` and make `StructLogger` collect the logs directly - Change all callers to use the new `StructLogger` where necessary and extract logs from that. - Deletes the apparently obsolete and likely nonfunctional 'TraceCall' from the eth API. Callers that only wish accumulated logs can use the `StructLogger` implementation straightforwardly. Callers that wish to efficiently capture VM traces and operate on them without excessive copying can now implement the `Tracer` interface to receive VM state at each step and do with it as they wish. This CL also removes the accumulation of logs from the vm.Environment; this was necessary as part of the refactor, but also simplifies it by removing a responsibility that doesn't directly belong to the Environment.
* | | Merge pull request #2921 from karalabe/fix-fetcher-logPéter Szilágyi2016-08-191-1/+1
|\ \ \ | |/ / |/| | eth/fetcher: fix a log message formatting issue
| * | eth/fetcher: fix a log message formatting issuePéter Szilágyi2016-08-191-1/+1
|/ /
* | Merge pull request #2909 from fjl/account-manager-cleanupFelix Lange2016-08-1822-496/+462
|\ \ | | | | | | all: clean up tech debt left behind by the API split
| * | core, miner: move Backend to minerFelix Lange2016-08-173-22/+24
| | | | | | | | | | | | | | | This ensures that package core doesn't depend on package accounts and resolves an age-old TODO.
| * | common/compiler: simplify solc wrapperFelix Lange2016-08-178-254/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support for legacy version 0.9.x is gone. The compiler version is no longer cached. Compilation results (and the version) are read directly from stdout using the --combined-json flag. As a workaround for ethereum/solidity#651, source code is written to a temporary file before compilation. Integration of solc in package ethapi and cmd/abigen is now much simpler because the compiler wrapper is no longer passed around as a pointer. Fixes #2806, accidentally
| * | eth: remove dapp database remainsFelix Lange2016-08-173-25/+6
| | |
| * | cmd/utils, node: create account manager in package nodeFelix Lange2016-08-1711-195/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The account manager was previously created by packge cmd/utils as part of flag processing and then passed down into eth.Ethereum through its config struct. Since we are starting to create nodes which do not have eth.Ethereum as a registered service, the code was rearranged to register the account manager as its own service. Making it a service is ugly though and it doesn't really fix the root cause: creating nodes without eth.Ethereum requires duplicating lots of code. This commit splits utils.MakeSystemNode into three functions, making creation of other node/service configurations easier. It also moves the account manager into Node so it can be used by those configurations without requiring package eth.
* | | Merge pull request #2885 from bas-vk/subscriptionsFelix Lange2016-08-1715-1216/+1265
|\ \ \ | | | | | | | | rpc: refactor subscriptions and filters
| * | | rpc: refactor subscriptions and filtersBas van Kervel2016-08-1715-1216/+1265
|/ / /
* | | Merge pull request #2913 from karalabe/travis-go-1.7Nick Johnson2016-08-171-2/+5
|\ \ \ | | | | | | | | TravisCI: add Go 1.7 targets, bump PPA to 1.7 too
| * | | TravisCI: add Go 1.7 targets, bump PPA to 1.7 tooPéter Szilágyi2016-08-171-2/+5
|/ / /
* | | Merge pull request #2873 from bas-vk/canonicalblockFelix Lange2016-08-175-20/+69
|\ \ \ | | | | | | | | core: ensure the canonical block is written before the canonical hash is set
| * | | core: ensure the canonical block is written before the canonical hash is setBas van Kervel2016-08-165-20/+69
|/ / /
* | | Makefile: support building for the MIPS64 platforms (#2682)Péter Szilágyi2016-08-161-2/+12
| | |
* | | Merge pull request #2866 from karalabe/downloader-future-ancestorsPéter Szilágyi2016-08-161-9/+17
|\ \ \ | | | | | | | | eth/downloader: fewer headers and futures too in ancestor lookup
| * | | eth/downloader: fewer headers and futures too un ancestor lookupPéter Szilágyi2016-07-261-9/+17
| | | |
* | | | console: fix return via callbacks (#2910)cdetrio2016-08-161-2/+2
| |/ / |/| | | | | Fixes #2872
* | | Merge pull request #2891 from fjl/rpc-client-fixesPéter Szilágyi2016-08-094-62/+158
|\ \ \ | | | | | | | | rpc: client bug fixes
| * | | rpc: add context argument to EthSubscribeFelix Lange2016-08-063-33/+38
| | | | | | | | | | | | | | | | | | | | It's inconsistent not to pass it and most callers will work with contexts anyway.
| * | | rpc: ensure client doesn't block for slow subscribersFelix Lange2016-08-063-30/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I initially made the client block if the 100-element buffer was exceeded. It turns out that this is inconvenient for simple uses of the client which subscribe and perform calls on the same goroutine, e.g. client, _ := rpc.Dial(...) ch := make(chan int) // note: no buffer sub, _ := client.EthSubscribe(ch, "something") for event := range ch { client.Call(...) } This innocent looking code will lock up if the server suddenly decides to send 2000 notifications. In this case, the client's main loop won't accept the call because it is trying to deliver a notification to ch. The issue is kind of hard to explain in the docs and few people will actually read them. Buffering is the simple option and works with close to no overhead for subscribers that always listen.
| * | | rpc: don't exceed context deadline while waiting for send lockFelix Lange2016-08-051-0/+4
| | | |
* | | | Merge pull request #2868 from karalabe/downloader-abort-master-dropPéter Szilágyi2016-08-091-2/+15
|\ \ \ \ | | | | | | | | | | eth/downloader: abort sync if master drops (timeout prev)
| * | | | eth/downloader: abort sync if master drops (timeout prev)Péter Szilágyi2016-07-261-2/+15
| | |/ / | |/| |
* | | | Merge pull request #2867 from karalabe/dao-challenge-finishPéter Szilágyi2016-08-092-1/+2
|\ \ \ \ | | | | | | | | | | eth, eth/downloader: don't forward the DAO challenge header
| * | | | eth, eth/downloader: don't forward the DAO challenge headerPéter Szilágyi2016-07-262-1/+2
| |/ / /
* | | | Merge pull request #2861 from karalabe/track-peer-heads-properlyPéter Szilágyi2016-08-096-50/+59
|\ \ \ \ | | | | | | | | | | eth, eth/downloader: better remote head tracking
| * | | | eth, eth/downloader: better remote head trackingPéter Szilágyi2016-07-256-50/+59
| | | | |
* | | | | Merge pull request #2896 from karalabe/fix-xgo-crossbuildsFelix Lange2016-08-093-50/+57
|\ \ \ \ \ | | | | | | | | | | | | Makefile, build: move cross compilation into ci.go
| * | | | | Makefile, build: move cross compilation into ci.goPéter Szilágyi2016-08-083-50/+57
|/ / / / /
* | | | | Merge pull request #2892 from fjl/vm-hide-ecrecover-messageFelix Lange2016-08-061-2/+2
|\ \ \ \ \ | | | | | | | | | | | | core/vm: hide ecrecover error message
| * | | | | core/vm: hide ecrecover error messageFelix Lange2016-08-061-2/+2
| | |_|/ / | |/| | | | | | | | | | | | | Fixes #2825
* | | | | Merge pull request #2889 from fjl/godeps-update-notifyFelix Lange2016-08-064-5/+3
|\ \ \ \ \ | | | | | | | | | | | | Godeps: update github.com/rjeczalik/notify to f627deca7a51
| * | | | | Godeps: update github.com/rjeczalik/notify to f627deca7a51Felix Lange2016-08-054-5/+3
| |/ / / / | | | | | | | | | | | | | | | Fixes #2829
* | | | | Merge pull request #2740 from Firescar96/removepeerFelix Lange2016-07-295-0/+48
|\ \ \ \ \ | | | | | | | | | | | | node, p2p, internal: Add ability to remove peers via admin interface
| * | | | | node, p2p, internal: Add ability to remove peers via admin interfaceFirescar962016-07-155-0/+48
| | | | | |
* | | | | | Merge pull request #2870 from lukeyeager/patch-1Péter Szilágyi2016-07-271-1/+1
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | Fix README typo
| * | | | | README: Fix typoLuke Yeager2016-07-271-1/+1
|/ / / / / | | | | | | | | | | | | | | | "fine graned" -> "fine-grained"
* | | | | Merge pull request #2862 from yep/faster-git-clonePéter Szilágyi2016-07-262-11/+10
|\ \ \ \ \ | |_|/ / / |/| | | | containers/docker: use shallow clone of single branch
| * | | | containers/docker: whitespace changes only, make future diffs more readableyep2016-07-252-8/+8
| | | | |
| * | | | containers/docker: use shallow clone of single branchyep2016-07-252-3/+2
|/ / / /
* | | | Merge pull request #2855 from karalabe/downloader-fix-stall-dropFelix Lange2016-07-251-1/+8
|\ \ \ \ | |_|/ / |/| | | eth/downloader: fix the stall checks/drops during sync
| * | | eth/downloader: fix the stall checks/drops during syncPéter Szilágyi2016-07-221-1/+8
| | | |
* | | | Merge pull request #2808 from fjl/rpc-client-3bas-vk2016-07-2530-769/+2021
|\ \ \ \ | | | | | | | | | | rpc: add new client, use it everywhere
| * | | | rpc: add new client, use it everywhereFelix Lange2016-07-2330-751/+2002
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new client implementation supports concurrent requests, subscriptions and replaces the various ad hoc RPC clients throughout go-ethereum.
| * | | | rpc: fix bad method error for batch requestsFelix Lange2016-07-233-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a batch request contained an invalid method, the server would reply with a non-batch error response. Fix this by tracking an error for each batch element.
| * | | | rpc: remove grace period when shutting down the serverFelix Lange2016-07-231-10/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The server delayed closing of connections for 3s when stopping. This was supposed to allow for slow handlers, but it didn't really work. When geth quits, it will just exit immediately after quitting the server. Removing the timer makes testing easier because all connections will be closed after Stop returns.
* | | | Merge pull request #2842 from fjl/downloader-remove-eth61Felix Lange2016-07-2315-1524/+119
|\ \ \ \ | |/ / / |/| | | eth, eth/downloader, eth/fetcher: delete eth/61 sync code
| * | | eth, eth/downloader, eth/fetcher: delete eth/61 codeFelix Lange2016-07-2215-1524/+119
| | | | | | | | | | | | | | | | | | | | The eth/61 protocol was disabled in #2776, this commit removes its message handlers and hash-chain sync logic.
* | | | Merge pull request #2712 from bas-vk/sendtxPéter Szilágyi2016-07-222-4/+10
|\ \ \ \ | | | | | | | | | | eth/api: rename signAndSendTransaction to sendTransaction
| * | | | eth/api: rename signAndSendTransaction to sendTransactionBas van Kervel2016-07-222-4/+10
|/ / / /
* | | | Merge pull request #2851 from yep/alpine-3-4Péter Szilágyi2016-07-222-2/+2
|\ \ \ \ | | | | | | | | | | containers/docker: update to alpine 3.4
| * | | | containers/docker: update to alpine 3.4yep2016-07-222-2/+2
| | | | |
* | | | | Merge pull request #2833 from karalabe/fix-dao-challenge-annoyancePéter Szilágyi2016-07-221-0/+7
|\ \ \ \ \ | |/ / / / |/| | | | eth: cancel DAO challenge on peer drop (annoying log)
| * | | | eth: cancel DAO challenge on peer drop (annoying log)Péter Szilágyi2016-07-191-0/+7
| |/ / /
* | | | Merge pull request #2836 from fjl/godeps-update-leveldbPéter Szilágyi2016-07-205-28/+63
|\ \ \ \ | | | | | | | | | | Godeps: bump github.com/syndtr/goleveldb/... to ab8b5dcf104
| * | | | Godeps: bump github.com/syndtr/goleveldb/... to ab8b5dcf104Felix Lange2016-07-205-28/+63
| |/ / /
* | | | Merge pull request #2711 from hdiedrich/1.4.7-filter-races-cleanupFelix Lange2016-07-202-28/+54
|\ \ \ \ | | | | | | | | | | Fix #2710 Filter race: concurrent map read and map write
| * | | | eth: fix #2710 filter racesHenning Diedrich2016-07-042-28/+54
| | | | | | | | | | | | | | | | | | | | and locking bugs found in its wake.
* | | | | Merge pull request #2821 from Arachnid/discover-enodeFelix Lange2016-07-201-12/+16
|\ \ \ \ \ | | | | | | | | | | | | cmd/bootnode: Add support for outputting a node's ID on the command line
| * | | | | cmd/bootnode: Add support for outputting a node's ID on the command lineNick Johnson2016-07-151-12/+16
| | |_|_|/ | |/| | |
* | | | | Merge pull request #2834 from zsfelfoldi/chaindb-upgrade-fixPéter Szilágyi2016-07-191-0/+13
|\ \ \ \ \ | |_|_|/ / |/| | | | eth: fixed chaindb upgrade
| * | | | eth: fixed chaindb upgradezsfelfoldi2016-07-191-0/+13
|/ / / /
* | | | Merge pull request #2814 from karalabe/dao-hard-finalcomboJeffrey Wilcke2016-07-1635-124/+9888
|\ \ \ \ | | | | | | | | | | cmd, core, eth, miner, params, tests: finalize the DAO fork
| * | | | cmd/utils, eth: display the user's current fork, minor text tweakPéter Szilágyi2016-07-162-1/+20
| | | | |
| * | | | cmd, core, eth, miner, params, tests: finalize the DAO forkPéter Szilágyi2016-07-1512-414/+7519
| | | | |