Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: tx pool skip price validation for "owned" transactions | zsfelfoldi | 2015-12-16 | 4 | -5/+76 |
| | |||||
* | Merge pull request #2072 from karalabe/admin-debug-apis | Felix Lange | 2015-12-15 | 7 | -26/+494 |
|\ | | | | | core, eth, node, rpc: port the admin and debug API | ||||
| * | core, eth, node, rpc: port the admin and debug API | Péter Szilágyi | 2015-12-15 | 7 | -26/+494 |
| | | |||||
* | | Merge pull request #2070 from karalabe/android-archives | Felix Lange | 2015-12-15 | 2 | -25/+76 |
|\ \ | |/ |/| | Makefile, cmd/geth: support building Android archives | ||||
| * | Makefile, cmd/geth: support building Android archives | Péter Szilágyi | 2015-12-14 | 2 | -25/+76 |
| | | |||||
* | | Merge pull request #2035 from bas-vk/rcp-v2-rebase | Felix Lange | 2015-12-15 | 38 | -14/+4651 |
|\ \ | | | | | | | rpc: new RPC implementation with pub/sub support | ||||
| * | | rpc: new RPC implementation with pub/sub support | Bas van Kervel | 2015-12-14 | 38 | -14/+4651 |
| | | | |||||
* | | | Merge pull request #2056 from fjl/fix-account-format | Jeffrey Wilcke | 2015-12-10 | 1 | -8/+8 |
|\ \ \ | |_|/ |/| | | crypto: "Crypto" -> "crypto" in web3 key format | ||||
| * | | crypto: "Crypto" -> "crypto" in web3 key format | Felix Lange | 2015-12-08 | 1 | -8/+8 |
| | | | |||||
* | | | Merge pull request #2058 from karalabe/geth-framework | Felix Lange | 2015-12-10 | 4 | -27/+91 |
|\ \ \ | | | | | | | | | Makefile, cmd/geth: assemble ios xcode frameworks | ||||
| * | | | Makefile, cmd/geth: assemble ios xcode frameworks | Péter Szilágyi | 2015-12-09 | 4 | -27/+91 |
| | | | | |||||
* | | | | Merge pull request #2003 from obscuren/abi-calling | Felix Lange | 2015-12-08 | 6 | -88/+243 |
|\ \ \ \ | | | | | | | | | | | accounts/abi: added output parsing & added call mechanism | ||||
| * | | | | accounts/abi: added output parsing & added call mechanism | Jeffrey Wilcke | 2015-11-25 | 6 | -88/+243 |
| | | | | | | | | | | | | | | | | | | | | Added calling mechanism and return value parsing | ||||
* | | | | | Merge pull request #2051 from karalabe/store-transaction-fastsync | Felix Lange | 2015-12-08 | 1 | -0/+12 |
|\ \ \ \ \ | |_|/ / / |/| | | | | core: write individual transactions and receipts too on fast sync | ||||
| * | | | | core: write individual transactions and receipts too on fast sync | Péter Szilágyi | 2015-12-04 | 1 | -0/+12 |
| | | | | | |||||
* | | | | | Merge pull request #2034 from karalabe/always-allow-dyndials | Jeffrey Wilcke | 2015-12-07 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | p2p: always allow dynamic dials if network not disabled | ||||
| * | | | | | p2p: always allow dynamic dials if network not disabled | Péter Szilágyi | 2015-12-03 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Merge pull request #2037 from fjl/no-libgmp | Péter Szilágyi | 2015-12-04 | 5 | -52/+15 |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | crypto/secp256k1: remove dependency on libgmp | ||||
| * | | | | | crypto/secp256k1: remove dependency on libgmp | Felix Lange | 2015-12-04 | 5 | -52/+15 |
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | Turns out we actually don't need it, USE_NUM_NONE works because we also set USE_FIELD_INV_BUILTIN. | ||||
* | | | | | Merge pull request #2024 from obscuren/exp-logs | Jeffrey Wilcke | 2015-12-04 | 4 | -4/+68 |
|\ \ \ \ \ | |/ / / / |/| | | | | core: added a new RemovedLogEvent | ||||
| * | | | | core: added a new RemovedLogEvent | Jeffrey Wilcke | 2015-12-01 | 4 | -4/+68 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a chain reorganisation occurs we collect the logs that were deleted during the chain reorganisation. The removed logs are posted to the event mux indicating that those were deleted during the reorg. | ||||
* | | | | | Merge pull request #2036 from karalabe/ios-arm64-cross | Felix Lange | 2015-12-04 | 1 | -3/+13 |
|\ \ \ \ \ | |_|/ / / |/| | | | | Makefile: support 64bit ARM iOS cross builds | ||||
| * | | | | Makefile: support 64bit ARM iOS cross builds | Péter Szilágyi | 2015-12-04 | 1 | -3/+13 |
|/ / / / | |||||
* | | | | Merge pull request #2032 from karalabe/linux-arm64-cross | Jeffrey Wilcke | 2015-12-03 | 1 | -2/+8 |
|\ \ \ \ | | | | | | | | | | | Makefile: enable 64-bit ARM builds on Linux | ||||
| * | | | | Makefile: enable 64-bit ARM builds on Linux | Péter Szilágyi | 2015-12-02 | 1 | -2/+8 |
|/ / / / | |||||
* | | | | Merge pull request #1862 from Gustav-Simonsson/libsecp256k1_ecdh | Jeffrey Wilcke | 2015-12-02 | 16 | -185/+334 |
|\ \ \ \ | |_|_|/ |/| | | | crypto, crypto/secp256k1: use libsecp256k1 for scalar multiplication | ||||
| * | | | crypto, crypto/ecies, crypto/secp256k1: libsecp256k1 scalar mult | Gustav Simonsson | 2015-11-30 | 16 | -171/+321 |
| | | | | | | | | | | | | | | | | thanks to Felix Lange (fjl) for help with design & impl | ||||
| * | | | core/secp256k1: update libsecp256k1 Go wrapper and tests | Gustav Simonsson | 2015-11-30 | 2 | -18/+17 |
| | | | | |||||
* | | | | Merge pull request #2025 from karalabe/windows-account-unlock-testfix | Felix Lange | 2015-12-01 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | accounts: increase re-lock timeout to account for slow CI servers | ||||
| * | | | | accounts: increase re-lock timeout to account for slow CI servers | Péter Szilágyi | 2015-12-01 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge pull request #2022 from karalabe/multiversion-arm-builds | Péter Szilágyi | 2015-12-01 | 1 | -33/+28 |
|\ \ \ \ \ | | | | | | | | | | | | | Makefile: build ARM v5/v6/v7, drop high API mobile clients | ||||
| * | | | | | Makefile: build ARM v5/v6/v7, drop high API mobile clients | Péter Szilágyi | 2015-12-01 | 1 | -33/+28 |
| |/ / / / | |||||
* | | | | | Merge pull request #2005 from zsfelfoldi/light-trie | Jeffrey Wilcke | 2015-12-01 | 7 | -68/+343 |
|\ \ \ \ \ | | | | | | | | | | | | | Trie error handling | ||||
| * | | | | | trie: added error handling | zsfelfoldi | 2015-12-01 | 7 | -68/+343 |
| | |/ / / | |/| | | | | | | | | | | | | | Created alternate versions of Trie and SecureTrie functions that can return a MissingNodeError (used by ODR services) | ||||
* | | | | | Merge pull request #2021 from fjl/fix-etherbase-no-accounts | Jeffrey Wilcke | 2015-12-01 | 2 | -21/+18 |
|\ \ \ \ \ | |_|/ / / |/| | | | | cmd/utils: restore starting geth without any accounts and etherbase | ||||
| * | | | | cmd/utils: restore starting geth without any accounts and etherbase | Felix Lange | 2015-12-01 | 2 | -21/+18 |
| | | | | | | | | | | | | | | | | | | | | Also remove some duplication around address/index parsing. | ||||
* | | | | | Merge pull request #2020 from bas-vk/issue2016 | Jeffrey Wilcke | 2015-12-01 | 1 | -1/+1 |
|\ \ \ \ \ | |/ / / / |/| | | | | eth package creates new event mux | ||||
| * | | | | eth: use global event mux instead | Bas van Kervel | 2015-12-01 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | Merge pull request #2015 from bas-vk/console-instance-name | Jeffrey Wilcke | 2015-11-30 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | console: fix instance name printed incorrect on start | ||||
| * | | | console: fix instance name printed incorrect on start | Bas van Kervel | 2015-11-30 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #2014 from karalabe/enable-ios-builds | Felix Lange | 2015-11-30 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | Makefile: enable iOS experimental builds (fix prev omission) | ||||
| * | | | Makefile: enable iOS experimental builds (fix prev omission) | Péter Szilágyi | 2015-11-29 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #2011 from karalabe/fix-hex-address | Jeffrey Wilcke | 2015-11-28 | 1 | -2/+2 |
|\ \ \ | |/ / |/| | | common: fix #2008, wrong hex prefix check | ||||
| * | | common: fix #2008, wrong hex prefix check | Péter Szilágyi | 2015-11-28 | 1 | -2/+2 |
|/ / | |||||
* | | Merge pull request #1970 from karalabe/customizable-protocol-stacks | Jeffrey Wilcke | 2015-11-27 | 39 | -1023/+2494 |
|\ \ | | | | | | | Customizable protocol stacks | ||||
| * | | cmd, eth, node, rpc, xeth: use single-instance services | Péter Szilágyi | 2015-11-27 | 17 | -294/+329 |
| | | | |||||
| * | | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks | Péter Szilágyi | 2015-11-27 | 30 | -939/+1041 |
| | | | |||||
| * | | cmd: drop blocktest command, create gethrpctest program | Péter Szilágyi | 2015-11-27 | 3 | -168/+182 |
| | | | |||||
| * | | node: customizable protocol and service stacks | Péter Szilágyi | 2015-11-27 | 13 | -13/+1333 |
| | | | |||||
* | | | Merge pull request #2002 from karalabe/ios-cross-builds | Jeffrey Wilcke | 2015-11-27 | 8 | -25/+63 |
|\ \ \ | | | | | | | | | Makefile: add support for iOS cross compilation | ||||
| * | | | Makefile: support library build modes | Péter Szilágyi | 2015-11-25 | 3 | -12/+15 |
| | | | | |||||
| * | | | Makefile: add support for iOS cross compilation | Péter Szilágyi | 2015-11-24 | 8 | -16/+51 |
| | |/ | |/| | |||||
* | | | Merge pull request #1999 from karalabe/javascript-timer-argcheck | Jeffrey Wilcke | 2015-11-27 | 1 | -5/+15 |
|\ \ \ | | | | | | | | | jrse: fix #1082, fail if setTimeout/setInterval lack callback | ||||
| * | | | jrse: fix #1082, fail if setTimeout/setInterval lack callback | Péter Szilágyi | 2015-11-23 | 1 | -5/+15 |
| | | | | |||||
* | | | | Merge pull request #2001 from obscuren/fixes | Jeffrey Wilcke | 2015-11-27 | 3 | -947/+6229 |
|\ \ \ \ | |_|_|/ |/| | | | cmd, crypto: updated web3 | ||||
| * | | | cmd, crypto: fixed nil public keys and updated web3 | Jeffrey Wilcke | 2015-11-26 | 3 | -947/+6229 |
| | | | | |||||
* | | | | Merge pull request #1996 from obscuren/whisper-spam-fix | Jeffrey Wilcke | 2015-11-25 | 3 | -2/+19 |
|\ \ \ \ | |_|_|/ |/| | | | whisper: fixed broadcast race | ||||
| * | | | whisper: fixed broadcast race | Jeffrey Wilcke | 2015-11-25 | 3 | -2/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whisper's expire and broadcast loops happen in two separate go routines. Whenever an envelope is being expired it's removed from the set of envelopes and it looses all information about the envelope, including the "known hash". After the envelope has been removed it can be re-accepted by a broadcasting peer putting back the envelope in the set of envelopes. Since the envelope broadcast loop is separate of the expire loop expired messages may be broadcast to other peer, resulting in messages **never** being dropped. This PR includes an expire check before adding new messages to the set of envelopes. | ||||
* | | | | Merge pull request #1988 from bas-vk/issue1971 | Jeffrey Wilcke | 2015-11-24 | 1 | -0/+11 |
|\ \ \ \ | |_|_|/ |/| | | | miner: bugfix where blockhash in receipts and logs is left empty | ||||
| * | | | miner: bugfix were blockhash in receipts and logs is left empty | Bas van Kervel | 2015-11-19 | 1 | -0/+11 |
| |/ / | |||||
* | | | Merge pull request #1991 from Gustav-Simonsson/common_tests | Gustav-Simonsson | 2015-11-23 | 3 | -39/+865 |
|\ \ \ | |_|/ |/| | | Update common test files | ||||
| * | | Update common test files | Gustav Simonsson | 2015-11-20 | 3 | -39/+865 |
| | | | |||||
* | | | Merge pull request #1666 from obscuren/create-transaction | Jeffrey Wilcke | 2015-11-21 | 3 | -7/+115 |
|\ \ \ | | | | | | | | | rpc/api, xeth: added signTransaction method | ||||
| * | | | rpc/api, xeth: added signTransaction method | Jeffrey Wilcke | 2015-11-18 | 3 | -7/+115 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SignTransaction creates a transaction but does submit it to the network. SignTransaction returns a structure which includes the transaction object details as well as the RLP encoded transaction that could possibly be submitted by the SendRawTransaction method. | ||||
* | | | | Merge pull request #1995 from karalabe/parametrize-crosscompile-go | Jeffrey Wilcke | 2015-11-21 | 1 | -9/+58 |
|\ \ \ \ | |_|/ / |/| | | | Makefile: individual platforms, configurable Go runtime | ||||
| * | | | Makefile: individual platforms, configurable Go runtime | Péter Szilágyi | 2015-11-20 | 1 | -9/+58 |
|/ / / | |||||
* | | | Merge pull request #1953 from karalabe/switch-to-fast-peers | Jeffrey Wilcke | 2015-11-20 | 3 | -246/+258 |
|\ \ \ | |_|/ |/| | | eth/downloader: fetch data proportionally to peer capacity | ||||
| * | | eth/downloader: fetch data proportionally to peer capacity | Péter Szilágyi | 2015-11-19 | 3 | -246/+258 |
|/ / | |||||
* | | Merge pull request #1993 from obscuren/remove-legalese | Jeffrey Wilcke | 2015-11-19 | 3 | -77/+0 |
|\ \ | | | | | | | cmd/geth, cmd/utils: removed legalese | ||||
| * | | cmd/geth, cmd/utils: removed legalese | Jeffrey Wilcke | 2015-11-19 | 3 | -77/+0 |
| | | | | | | | | | | | | Removed the legalese confirmation dialog. This closes #1992 | ||||
* | | | Merge pull request #1923 from karalabe/cleanup-receipt-data-access | Jeffrey Wilcke | 2015-11-19 | 11 | -235/+359 |
|\ \ \ | | | | | | | | | core, eth, miner, xeth: clean up tx/receipt db accessors | ||||
| * | | | core, eth, miner, xeth: clean up tx/receipt db accessors | Péter Szilágyi | 2015-11-19 | 11 | -235/+359 |
| |/ / | |||||
* | | | Merge pull request #1980 from fjl/downloader-deliver-hang | Jeffrey Wilcke | 2015-11-19 | 4 | -311/+336 |
|\ \ \ | |/ / |/| | | eth/downloader: don't hang for spurious deliveries | ||||
| * | | eth/downloader: run tests in parallel | Felix Lange | 2015-11-19 | 1 | -0/+29 |
| | | | |||||
| * | | eth/downloader: also drain stateCh, receiptCh in eth/61 mode | Felix Lange | 2015-11-19 | 1 | -71/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | State and receipt deliveries from a previous eth/62+ sync can hang if the downloader has moved on to syncing with eth/61. Fix this by also draining the eth/63 channels while waiting for eth/61 data. A nicer solution would be to take care of the channels in a central place, but that would involve a major rewrite. | ||||
| * | | eth: remove workaround for asynchronous processing in the downloader | Felix Lange | 2015-11-19 | 1 | -4/+0 |
| | | | |||||
| * | | eth/downloader: don't hang for spurious deliveries | Felix Lange | 2015-11-19 | 3 | -236/+230 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unexpected deliveries could block indefinitely if they arrived at the right time. The fix is to ensure that the cancellation channel is always closed when the sync ends, unblocking any deliveries. Also remove the atomic check for whether a sync is currently running because it doesn't help and can be misleading. Cancelling always seems to break the tests though. The downloader spawned d.process whenever new data arrived, making it somewhat hard to track when block processing was actually done. Fix this by running d.process in a dedicated goroutine that is tied to the lifecycle of the sync. d.process gets notified of new work by the queue instead of being invoked all the time. This removes a ton of weird workaround code, including a hairy use of atomic CAS. | ||||
* | | Merge pull request #1917 from obscuren/validator-interface | Jeffrey Wilcke | 2015-11-19 | 19 | -642/+701 |
|\ \ | | | | | | | core, eth, rpc: split out block validator and state processor | ||||
| * | | core, eth, rpc: split out block validator and state processor | Jeffrey Wilcke | 2015-11-18 | 19 | -642/+701 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | This removes the burden on a single object to take care of all validation and state processing. Now instead the validation is done by the `core.BlockValidator` (`types.Validator`) that takes care of both header and uncle validation through the `ValidateBlock` method and state validation through the `ValidateState` method. The state processing is done by a new object `core.StateProcessor` (`types.Processor`) and accepts a new state as input and uses that to process the given block's transactions (and uncles for rewords) to calculate the state root for the next block (P_n + 1). | ||||
* | | Merge pull request #1964 from obscuren/evm-runtime | Jeffrey Wilcke | 2015-11-19 | 5 | -0/+399 |
|\ \ | | | | | | | core/vm/runtime: added simple execution runtime | ||||
| * | | core/vm/runtime: added simple execution runtime | Jeffrey Wilcke | 2015-11-18 | 5 | -0/+399 |
| |/ | | | | | | | | | | | The runtime environment can be used for simple basic execution of contract code without the requirement of setting up a full stack and operates fully in memory. | ||||
* | | Merge pull request #1990 from karalabe/fix-whisper-autocomplete | Felix Lange | 2015-11-18 | 1 | -1/+1 |
|\ \ | | | | | | | rpc/api: fix #1986, newIdentity autocomplete | ||||
| * | | rpc/api: fix #1986, newIdentity autocomplete | Péter Szilágyi | 2015-11-18 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #1984 from fjl/secp256k1-recover-id-verify | Jeffrey Wilcke | 2015-11-18 | 3 | -81/+89 |
|\ \ | |/ |/| | crypto/secp256k1: verify recovery ID before calling libsecp256k1 | ||||
| * | crypto/secp256k1: drop pkgsrc paths from CFLAGS | Felix Lange | 2015-11-17 | 1 | -2/+2 |
| | | | | | | | | | | | | They cause compiler warnings for people who don't have these directories. People with pkgsrc can add the directory through CGO_CFLAGS instead. | ||||
| * | crypto/secp256k1: raise internal errors as recoverable Go panic | Felix Lange | 2015-11-17 | 2 | -0/+39 |
| | | |||||
| * | crypto/secp256k1: verify recovery ID before calling libsecp256k1 | Felix Lange | 2015-11-17 | 2 | -79/+48 |
|/ | | | | | | | | The C library treats the recovery ID as trusted input and crashes the process for invalid values, so it needs to be verified before calling into C. This will inhibit the crash in #1983. Also remove VerifySignature because we don't use it. | ||||
* | Merge pull request #1976 from karalabe/enable-light-kdf | Jeffrey Wilcke | 2015-11-11 | 3 | -2/+4 |
|\ | | | | | cmd/geth, cmd/utils: surface the light KDF flag to the CLI | ||||
| * | cmd/geth, cmd/utils: surface the light KDF flag to the CLI | Péter Szilágyi | 2015-11-10 | 3 | -2/+4 |
|/ | |||||
* | Merge pull request #1974 from karalabe/fix-rpc-regression | Jeffrey Wilcke | 2015-11-06 | 2 | -7/+4 |
|\ | | | | | rpc/api: fix #1972 api regression (nil eth panic) in attach | ||||
| * | rpc/api: fix #1972 api regression (nil eth panic) in attach | Péter Szilágyi | 2015-11-06 | 2 | -7/+4 |
|/ | |||||
* | Merge pull request #1967 from karalabe/fix-filter-test-datarace | Jeffrey Wilcke | 2015-11-06 | 1 | -12/+17 |
|\ | | | | | event/filter: fix data race in the test | ||||
| * | event/filter: fix data race in the test | Péter Szilágyi | 2015-11-05 | 1 | -12/+17 |
| | | |||||
* | | Merge pull request #1963 from karalabe/fix-database-regression | Jeffrey Wilcke | 2015-11-06 | 1 | -18/+3 |
|\ \ | | | | | | | eth: fix error casting regression during database open | ||||
| * | | eth: fix error casting regression during database open | Péter Szilágyi | 2015-11-05 | 1 | -18/+3 |
| | | | |||||
* | | | Merge pull request #1966 from karalabe/fix-recover-noparam-panic | Felix Lange | 2015-11-05 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | cmd/geth: fix recover command crash if no param is supplied | ||||
| * | | | cmd/geth: fix recover command crash if no param is supplied | Péter Szilágyi | 2015-11-05 | 1 | -2/+2 |
| | |/ | |/| | |||||
* | | | Merge pull request #1969 from karalabe/fix-whisper-tests-datarace | Felix Lange | 2015-11-05 | 1 | -2/+11 |
|\ \ \ | | | | | | | | | whisper: fix datarace in expiration test | ||||
| * | | | whisper: fix datarace in expiration test | Péter Szilágyi | 2015-11-05 | 1 | -2/+11 |
| |/ / | |||||
* | | | Merge pull request #1965 from karalabe/fix-natto-test | Felix Lange | 2015-11-05 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | jsre: fix #1876, sleep too short on a slow test server | ||||
| * | | | jsre: fix #1876, sleep too short on a slow test server | Péter Szilágyi | 2015-11-05 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge pull request #1968 from karalabe/fix-json-tests-datarace | Felix Lange | 2015-11-05 | 1 | -2/+5 |
|\ \ \ | |/ / |/| | | tests: fix data race in bad-block-report disabling during tests | ||||
| * | | tests: fix data race in bad-block-report disabling during tests | Péter Szilágyi | 2015-11-05 | 1 | -2/+5 |
|/ / | |||||
* | | Merge pull request #1960 from karalabe/fix-peer-ignore-list | Jeffrey Wilcke | 2015-11-04 | 2 | -11/+46 |
|\ \ | |/ |/| | eth/downloader: fix dysfunctional ignore list hidden by generic set | ||||
| * | eth/downloader: fix dysfunctional ignore list hidden by generic set | Péter Szilágyi | 2015-11-04 | 2 | -11/+46 |
| | | |||||
* | | Merge pull request #1934 from karalabe/polish-protocol-infos | Jeffrey Wilcke | 2015-11-04 | 11 | -85/+208 |
|\ \ | |/ |/| | eth, p2p, rpc/api: polish protocol info gathering | ||||
| * | eth, p2p, rpc/api: polish protocol info gathering | Péter Szilágyi | 2015-10-28 | 11 | -85/+208 |
| | | |||||
* | | Merge pull request #1943 from obscuren/abi-fixes | Jeffrey Wilcke | 2015-11-03 | 3 | -21/+80 |
|\ \ | | | | | | | accounts/abi: ABI fixes & added types | ||||
| * | | accounts/abi: ABI fixes & added types | Jeffrey Wilcke | 2015-10-30 | 3 | -21/+80 |
| | | | | | | | | | | | | | | | | | | | | | Changed field `input` to new `inputs`. Addad Hash and Address as input types. Added bytes[N] and N validation | ||||
* | | | Merge pull request #1948 from bas-vk/rpcfix | Jeffrey Wilcke | 2015-11-03 | 2 | -7/+12 |
|\ \ \ | | | | | | | | | Infinite loop in filters | ||||
| * | | | rpc: return an unsupported error when "pending" was used to create a filter | Bas van Kervel | 2015-10-30 | 2 | -7/+12 |
| | | | | |||||
* | | | | VERSION, cmd/geth: bumped version 1.4.0 | Jeffrey Wilcke | 2015-11-03 | 2 | -3/+3 |
| | | | | |||||
* | | | | Merge pull request #1958 from fjl/secp256k1-pkgsrc | Felix Lange | 2015-11-03 | 1 | -2/+2 |
|\ \ \ \ | | | | | | | | | | | crypto/secp256k1: add C compiler flags for pkgsrc | ||||
| * | | | | crypto/secp256k1: add C compiler flags for pkgsrc | Felix Lange | 2015-11-03 | 1 | -2/+2 |
|/ / / / | | | | | | | | | | | | | | | | | pkgsrc is a cross-platform package manager that also supports OS X. | ||||
* | | | | Merge pull request #1954 from obscuren/regression-miner | Jeffrey Wilcke | 2015-11-01 | 1 | -5/+12 |
|\ \ \ \ | | | | | | | | | | | miner: synchronise start / stop | ||||
| * | | | | miner: synchronise start / stop | Jeffrey Wilcke | 2015-10-31 | 1 | -5/+12 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | This PR fixes an issue where the remote worker was stopped twice and not properly handled. This adds a synchronised running check to the start and stop methods preventing closing of a channel more than once. | ||||
* | | | | Merge pull request #1952 from obscuren/testnet-peers | Jeffrey Wilcke | 2015-10-30 | 1 | -1/+2 |
|\ \ \ \ | | | | | | | | | | | eth: added new testnet peers | ||||
| * | | | | eth: added new testnet peers | Jeffrey Wilcke | 2015-10-30 | 1 | -1/+2 |
| |/ / / | |||||
* | | | | Merge pull request #1949 from karalabe/update-command-usage | Jeffrey Wilcke | 2015-10-30 | 20 | -1830/+585 |
|\ \ \ \ | | | | | | | | | | | cmd/geth, cmd/utils, eth: group CLI flags by purpose | ||||
| * | | | | cmd/geth, cmd/utils, eth: group CLI flags by purpose | Péter Szilágyi | 2015-10-30 | 20 | -1830/+585 |
| | | | | | |||||
* | | | | | Merge pull request #1951 from fjl/godeps-upgrade-goupnp | Jeffrey Wilcke | 2015-10-30 | 16 | -2235/+10225 |
|\ \ \ \ \ | | | | | | | | | | | | | Godeps: upgrade github.com/huin/goupnp | ||||
| * | | | | | p2p/nat: add docs for discover | Felix Lange | 2015-10-30 | 1 | -0/+3 |
| | | | | | | |||||
| * | | | | | Godeps: upgrade github.com/huin/goupnp to 90f71cb5 | Felix Lange | 2015-10-30 | 16 | -2235/+10222 |
|/ / / / / | |||||
* | | | | | Merge pull request #1946 from fjl/xeth-oom | Jeffrey Wilcke | 2015-10-30 | 9 | -157/+127 |
|\ \ \ \ \ | |/ / / / |/| | | | | Fix for xeth OOM issue | ||||
| * | | | | cmd/utils, rpc/comms: stop XEth when IPC connection ends | Felix Lange | 2015-10-30 | 9 | -157/+127 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are a bunch of changes required to make this work: - in miner: allow unregistering agents, fix RemoteAgent.Stop - in eth/filters: make FilterSystem.Stop not crash - in rpc/comms: move listen loop to platform-independent code Fixes #1930. I ran the shell loop there for a few minutes and didn't see any changes in the memory profile. | ||||
* | | | | Merge pull request #1945 from bas-vk/rpcparsing | Jeffrey Wilcke | 2015-10-29 | 2 | -7/+18 |
|\ \ \ \ | | | | | | | | | | | Argument parsing can lead to panic in rpc channel | ||||
| * | | | | rpc: fixed params parsing problem which could lead to a panic | Bas van Kervel | 2015-10-29 | 2 | -7/+18 |
| |/ / / | | | | | | | | | | | | | | | | | check argument type before parsing params recover from panic in ipc channel | ||||
* | | | | Merge pull request #1939 from karalabe/fix-blocked-sync-goroutines | Jeffrey Wilcke | 2015-10-29 | 3 | -15/+27 |
|\ \ \ \ | |/ / / |/| | | | eth: don't block sync goroutines that short circuit | ||||
| * | | | core: only reset head header/fastblock if stale | Péter Szilágyi | 2015-10-28 | 1 | -11/+18 |
| | | | | |||||
| * | | | eth: don't block sync goroutines that short circuit | Péter Szilágyi | 2015-10-28 | 2 | -4/+9 |
| |/ / | |||||
* | | | Merge pull request #1940 from wildfjre/lightkdfflag | Felix Lange | 2015-10-29 | 7 | -22/+41 |
|\ \ \ | |/ / |/| | | cmd/utils, crypto: add --lightkdf flag for lighter KDF | ||||
| * | | cmd/utils, crypto: add --lightkdf flag for lighter KDF | Drake Burroughs | 2015-10-29 | 7 | -22/+41 |
|/ / | |||||
* | | Merge pull request #1937 from karalabe/make-ldflags | Jeffrey Wilcke | 2015-10-28 | 1 | -10/+6 |
|\ \ | |/ |/| | makefile: fix evm ld flags, pass them to xgo too | ||||
| * | makefile: dump mist leftover, add phony targets | Péter Szilágyi | 2015-10-28 | 1 | -6/+1 |
| | | |||||
| * | makefile: fix evm ld flags, pass them to xgo too | Péter Szilágyi | 2015-10-28 | 1 | -5/+6 |
|/ | |||||
* | Merge pull request #1919 from ethersphere/getnatspec | Jeffrey Wilcke | 2015-10-28 | 14 | -120/+120 |
|\ | | | | | rpc api: eth_getNatSpec | ||||
| * | rpc api: eth_getNatSpec | zelig | 2015-10-27 | 14 | -120/+120 |
| | | | | | | | | | | | | | | | | * xeth, rpc: implement eth_getNatSpec for tx confirmations * rename silly docserver -> httpclient * eth/backend: httpclient now accessible via eth.Ethereum init-d via config.DocRoot * cmd: introduce separate CLI flag for DocRoot (defaults to homedir) * common/path: delete unused assetpath func, separate HomeDir func | ||||
* | | Merge pull request #1932 from fjl/gpo-defootgunize | Jeffrey Wilcke | 2015-10-28 | 2 | -73/+75 |
|\ \ | | | | | | | eth, xeth: fix GasPriceOracle goroutine leak | ||||
| * | | eth, xeth: fix GasPriceOracle goroutine leak | Felix Lange | 2015-10-28 | 2 | -73/+75 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XEth.gpo was being initialized as needed. WithState copies the XEth struct including the gpo field. If gpo was nil at the time of the copy and Call or Transact were invoked on it, an additional GPO listenLoop would be spawned. Move the lazy initialization to GasPriceOracle instead so the same GPO instance is shared among all created XEths. Fixes #1317 Might help with #1930 | ||||
* | | | update Dockerfile, remove supervisord and unattended-upgrades | caktux | 2015-10-27 | 2 | -35/+2 |
| |/ |/| | |||||
* | | bump VERSION to 1.3.0 | caktux | 2015-10-26 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #1928 from Gustav-Simonsson/common_tests | Jeffrey Wilcke | 2015-10-25 | 26 | -4809/+21810 |
|\ \ | | | | | | | tests: update JSON files, add new wrappers | ||||
| * | | tests: update JSON files, add new wrappers | Gustav Simonsson | 2015-10-23 | 26 | -4809/+21810 |
| |/ | |||||
* | | Merge pull request #1924 from fjl/eth-status-timeout | Jeffrey Wilcke | 2015-10-24 | 1 | -9/+27 |
|\ \ | | | | | | | eth: time out status message exchange after 5s | ||||
| * | | eth: time out status message exchange after 5s | Felix Lange | 2015-10-23 | 1 | -9/+27 |
| |/ | |||||
* | | Merge pull request #1929 from ethersphere/develop | Jeffrey Wilcke | 2015-10-24 | 1 | -1/+1 |
|\ \ | |/ |/| | fix console history, lines with leadning whitespace NOT included | ||||
| * | fix console history, lines with leadning whitespace NOT included | zelig | 2015-10-24 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1922 from karalabe/fix-receipt-storage-regression | Jeffrey Wilcke | 2015-10-23 | 1 | -3/+2 |
|\ | | | | | core: fix #1921, decode all receipt field, not just consensus | ||||
| * | core: fix #1921, decode all receipt field, not just consensus | Péter Szilágyi | 2015-10-22 | 1 | -3/+2 |
| | | |||||
* | | Merge pull request #1840 from ethersphere/console | Jeffrey Wilcke | 2015-10-23 | 18 | -151/+347 |
|\ \ | |/ |/| | console, cli, api fixes | ||||
| * | console: | zelig | 2015-10-22 | 18 | -151/+347 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lines with leading space are ommitted from history * exit processed even with whitespace around * all whitespace lines (not only empty ones) are ignored add 7 missing commands to admin api autocomplete registrar: methods now return proper error if reg addresses are not set. fixes #1457 rpc/console: fix personal.newAccount() regression. Now all comms accept interactive password registrar: add registrar tests for errors crypto: catch AES decryption error on presale wallet import + fix error msg format. fixes #1580 CLI: improve error message when starting a second instance of geth. fixes #1564 cli/accounts: unlock multiple accounts. fixes #1785 * make unlocking multiple accounts work with inline <() fd * passwdfile now correctly read only once * improve logs * fix CLI help text for unlocking fix regression with docRoot / admin API * docRoot/jspath passed to rpc/api ParseApis, which passes onto adminApi * docRoot field for JS console in order to pass when RPC is (re)started * improve flag desc for jspath common/docserver: catch http errors from response fix rpc/api tests common/natspec: fix end to end test (skipped because takes 8s) registrar: fix major regression: * deploy registrars on frontier * register HashsReg and UrlHint in GlobalRegistrar. * set all 3 contract addresses in code * zero out addresses first in tests | ||||
* | Merge pull request #1883 from obscuren/jit-vm-optimisations | Jeffrey Wilcke | 2015-10-22 | 11 | -83/+472 |
|\ | | | | | core/vm: JIT segmentation | ||||
| * | core/vm: added parsing utilities | Jeffrey Wilcke | 2015-10-17 | 4 | -3/+180 |
| | | |||||
| * | core/vm: added JIT segmenting / optimisations | Jeffrey Wilcke | 2015-10-17 | 9 | -5/+205 |
| | | | | | | | | | | * multi-push segments * static jumps segments | ||||
| * | core/vm: abstracted instruction execution away from JIT | Jeffrey Wilcke | 2015-10-17 | 2 | -76/+88 |
| | | | | | | | | | | | | Moved the execution of instructions to the instruction it self. This will allow for specialised instructions (e.g. segments) to be execution in the same manner as regular instructions. | ||||
* | | Merge pull request #1889 from karalabe/fast-sync-rebase | Jeffrey Wilcke | 2015-10-22 | 53 | -1777/+5022 |
|\ \ | | | | | | | eth/63 fast synchronization algorithm | ||||
| * | | core, eth, trie: fix data races and merge/review issues | Péter Szilágyi | 2015-10-21 | 27 | -465/+765 |
| | | | |||||
| * | | eth: clean out light node notions from eth | Péter Szilágyi | 2015-10-19 | 9 | -106/+39 |
| | | | |||||
| * | | core, eth: roll back uncertain headers in failed fast syncs | Péter Szilágyi | 2015-10-19 | 6 | -15/+180 |
| | | | |||||
| * | | eth/downloader: concurrent receipt and state processing | Péter Szilágyi | 2015-10-19 | 15 | -259/+516 |
| | | | |||||
| * | | core, eth, trie: direct state trie synchronization | Péter Szilágyi | 2015-10-19 | 13 | -463/+1626 |
| | | | |||||
| * | | core, eth: receipt chain reconstruction | Péter Szilágyi | 2015-10-19 | 22 | -230/+613 |
| | | | |||||
| * | | core: differentiate receipt concensus and storage decoding | Péter Szilágyi | 2015-10-19 | 9 | -77/+110 |
| | | | |||||
| * | | core: fix block canonical mark / content write race | Péter Szilágyi | 2015-10-19 | 1 | -20/+11 |
| | | | |||||
| * | | eth/downloader: add fast and light sync strategies | Péter Szilágyi | 2015-10-19 | 11 | -809/+1437 |
| | | | |||||
| * | | core: support inserting pure header chains | Péter Szilágyi | 2015-10-19 | 9 | -346/+651 |
| | | | |||||
| * | | cmd, eth: support switching client modes of operation | Péter Szilágyi | 2015-10-19 | 8 | -35/+122 |
| |/ | |||||
* | | Merge pull request #1918 from obscuren/get-hash-fix | Jeffrey Wilcke | 2015-10-21 | 3 | -10/+10 |
|\ \ | | | | | | | core, tests: get_hash fix | ||||
| * | | core, tests: get_hash fix | Jeffrey Wilcke | 2015-10-21 | 3 | -10/+10 |
|/ / | | | | | | | | | Make sure that we're fetching the hash from the current chain and not the canonical chain. | ||||
* | | Merge pull request #1758 from fjl/coinbase | Jeffrey Wilcke | 2015-10-20 | 10 | -142/+92 |
|\ \ | |/ |/| | core, core/state: move gas tracking out of core/state | ||||
| * | core, core/state: move gas tracking out of core/state | Felix Lange | 2015-10-17 | 10 | -142/+92 |
|/ | | | | | | | The amount of gas available for tx execution was tracked in the StateObject representing the coinbase account. This commit makes the gas counter a separate type in package core, which avoids unintended consequences of intertwining the counter with state logic. | ||||
* | Merge pull request #1899 from obscuren/mipmap-bloom | Jeffrey Wilcke | 2015-10-17 | 14 | -123/+729 |
|\ | | | | | core, eth/filters, miner, xeth: Optimised log filtering | ||||
| * | core, eth/filters, miner, xeth: Optimised log filtering | Jeffrey Wilcke | 2015-10-17 | 14 | -134/+647 |
| | | | | | | | | | | | | | | Log filtering is now using a MIPmap like approach where addresses of logs are added to a mapped bloom bin. The current levels for the MIP are in ranges of 1.000.000, 500.000, 100.000, 50.000, 1.000. Logs are therefor filtered in batches of 1.000. | ||||
| * | eth/filters: added benchmark | Jeffrey Wilcke | 2015-10-16 | 3 | -7/+100 |
| | | |||||
* | | Merge pull request #1907 from Gustav-Simonsson/ethash_godep | Jeffrey Wilcke | 2015-10-16 | 4 | -2/+53 |
|\ \ | | | | | | | godeps: update ethash following GPU miner merge | ||||
| * | | godeps: update ethash following GPU miner merge | Gustav Simonsson | 2015-10-16 | 4 | -2/+53 |
|/ / | |||||
* | | Merge pull request #1869 from Gustav-Simonsson/gpu_miner | Jeffrey Wilcke | 2015-10-16 | 42 | -42/+6764 |
|\ \ | | | | | | | all: Add GPU mining, disabled by default | ||||
| * | | all: Add GPU mining, disabled by default | Gustav Simonsson | 2015-10-07 | 42 | -42/+6764 |
| | | | |||||
* | | | Merge pull request #1881 from Gustav-Simonsson/state_new_error | Jeffrey Wilcke | 2015-10-16 | 23 | -95/+182 |
|\ \ \ | | | | | | | | | core/state, core, miner: handle missing root error from state.New | ||||
| * | | | core/state, core, miner: handle missing root error from state.New | Gustav Simonsson | 2015-10-16 | 23 | -95/+182 |
|/ / / | |||||
* | | | Merge pull request #1853 from Gustav-Simonsson/libsecp256k1_update | Jeffrey Wilcke | 2015-10-16 | 89 | -3022/+6536 |
|\ \ \ | |_|/ |/| | | Update libsecp256k1, Go wrapper and tests | ||||
| * | | core/secp256k1: update libsecp256k1 Go wrapper and tests | Gustav Simonsson | 2015-10-09 | 3 | -249/+256 |
| | | | |||||
| * | | Update libsecp256k1 | Gustav Simonsson | 2015-09-28 | 86 | -2773/+6280 |
| | | | |||||
* | | | Merge pull request #1898 from karalabe/eventmux-post-race | Jeffrey Wilcke | 2015-10-16 | 11 | -94/+123 |
|\ \ \ | | | | | | | | | core, eth, event, miner, xeth: fix event post / subscription race | ||||
| * | | | core, eth, event, miner, xeth: fix event post / subscription race | Péter Szilágyi | 2015-10-12 | 11 | -94/+123 |
| | | | | |||||
* | | | | Merge pull request #1887 from Gustav-Simonsson/icap | Jeffrey Wilcke | 2015-10-16 | 5 | -0/+314 |
|\ \ \ \ | | | | | | | | | | | common, crypto: add ICAP functions | ||||
| * | | | | common, crypto: add ICAP functions | Gustav Simonsson | 2015-10-13 | 5 | -0/+314 |
| | | | | | |||||
* | | | | | Merge pull request #1896 from karalabe/fix-vm-stack-logs | Jeffrey Wilcke | 2015-10-12 | 1 | -3/+4 |
|\ \ \ \ \ | |_|/ / / |/| | | | | core/vm: copy stack element to prevent overwrites | ||||
| * | | | | core/vm: copy stack element to prevent overwrites | Péter Szilágyi | 2015-10-12 | 1 | -3/+4 |
|/ / / / | |||||
* | | | | Merge pull request #1888 from obscuren/testnet | Jeffrey Wilcke | 2015-10-09 | 5 | -1/+62 |
|\ \ \ \ | | | | | | | | | | | cmd, core, eth: added official testnet | ||||
| * | | | | cmd, core, eth: added official testnet | Jeffrey Wilcke | 2015-10-09 | 5 | -1/+62 |
| |/ / / | |||||
* | | | | Merge pull request #1885 from karalabe/olympic-fix | Jeffrey Wilcke | 2015-10-09 | 3 | -17/+17 |
|\ \ \ \ | | | | | | | | | | | cmd: properly initialize Olympic for all subcommands | ||||
| * | | | | cmd: properly initialize Olympic for all subcommands | Péter Szilágyi | 2015-10-07 | 3 | -17/+17 |
| | | | | | |||||
* | | | | | Merge pull request #1880 from Gustav-Simonsson/core_transfer | Jeffrey Wilcke | 2015-10-09 | 6 | -19/+10 |
|\ \ \ \ \ | | | | | | | | | | | | | core, core/vm, cmd/evm: remove redundant balance check | ||||
| * | | | | | core, core/vm, cmd/evm: remove redundant balance check | Gustav Simonsson | 2015-10-06 | 6 | -19/+10 |
| | |/ / / | |/| | | | |||||
* | | | | | Merge pull request #1833 from Gustav-Simonsson/crypto_tests | Jeffrey Wilcke | 2015-10-09 | 2 | -27/+169 |
|\ \ \ \ \ | |_|/ / / |/| | | | | crypto: correct sig validation, add missing unit tests of exported functions | ||||
| * | | | | crypto: correct sig validation, add more unit tests | Gustav Simonsson | 2015-09-22 | 2 | -27/+169 |
| | | | | | |||||
* | | | | | Merge pull request #1851 from bas-vk/historyfile | Jeffrey Wilcke | 2015-10-07 | 2 | -11/+7 |
|\ \ \ \ \ | | | | | | | | | | | | | console/history respect datadir | ||||
| * | | | | | console/history respect datadir | Bas van Kervel | 2015-09-25 | 2 | -11/+7 |
| | | | | | | |||||
* | | | | | | Merge pull request #1850 from karalabe/genesis-block-receipts | Jeffrey Wilcke | 2015-10-07 | 1 | -0/+3 |
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | core: fix #1848, block receipts db entry for the genesis too | ||||
| * | | | | | core: fix #1848, block receipts db entry for the genesis too | Péter Szilágyi | 2015-09-25 | 1 | -0/+3 |
| |/ / / / | |||||
* | | | | | Merge pull request #1879 from obscuren/versioning | Jeffrey Wilcke | 2015-10-06 | 1 | -2/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | cmd/geth: dev version number | ||||
| * | | | | | cmd/geth: dev version number | Jeffrey Wilcke | 2015-10-06 | 1 | -2/+2 |
| | | | | | | |||||
* | | | | | | Merge pull request #1877 from obscuren/head-write | Jeffrey Wilcke | 2015-10-06 | 2 | -0/+16 |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | core: fixed head write on block insertion | ||||
| * | | | | | core: fixed head write on block insertion | Jeffrey Wilcke | 2015-10-05 | 2 | -0/+16 |
|/ / / / / | | | | | | | | | | | | | | | | | | | | | Due to a rebase this probably got overlooked / ignored. This fixes the issue of a block insertion never writing the last block. | ||||
* | | | | | Merge pull request #1756 from obscuren/core-refactor | Jeffrey Wilcke | 2015-10-05 | 62 | -1501/+1354 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | core, core/vm: refactor | ||||
| * | | | | cmd/geth, cmd/utils, core, rpc: renamed to blockchain | Jeffrey Wilcke | 2015-10-04 | 35 | -302/+267 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted. | ||||
| * | | | | cmd/evm, core/vm, test: refactored VM and core | Jeffrey Wilcke | 2015-10-04 | 39 | -1062/+946 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * core/vm: byte code VM moved to jump table instead of switch * Moved `vm.Transfer` to `core` package and changed execution to call `env.Transfer` instead of `core.Transfer` directly. * Byte code VM now shares the same code as the JITVM * Renamed Context to Contract * Changed initialiser of state transition & unexported methods * Removed the Execution object and refactor `Call`, `CallCode` & `Create` in to their own functions instead of being methods. * Removed the hard dep on the state for the VM. The VM now depends on a Database interface returned by the environment. In the process the core now depends less on the statedb by usage of the env * Moved `Log` from package `core/state` to package `core/vm`. | ||||
| * | | | | core, event/filter, xeth: refactored filter system | Jeffrey Wilcke | 2015-10-03 | 4 | -158/+162 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved the filtering system from `event` to `eth/filters` package and removed the `core.Filter` object. The `filters.Filter` object now requires a `common.Database` rather than a `eth.Backend` and invokes the `core.GetBlockByX` directly rather than thru a "manager". | ||||
* | | | | | Merge pull request #1866 from karalabe/honor-eth-capabilities | Jeffrey Wilcke | 2015-10-02 | 3 | -8/+53 |
|\ \ \ \ \ | |/ / / / |/| | | | | eth/downloader: match capabilities when querying idle peers | ||||
| * | | | | eth/downloader: match capabilities when querying idle peers | Péter Szilágyi | 2015-10-02 | 3 | -8/+53 |
| | | | | | |||||
* | | | | | Merge pull request #1865 from obscuren/deadlock-chainmanager-fix | Jeffrey Wilcke | 2015-10-02 | 1 | -1/+3 |
|\ \ \ \ \ | |/ / / / |/| | | | | core: deadlock in chainmanager after posting RemovedTransactionEvent | ||||
| * | | | | core: deadlock in chainmanager after posting RemovedTransactionEvent | Jeffrey Wilcke | 2015-10-02 | 1 | -1/+3 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR solves an issue with the chain manager posting a `RemovedTransactionEvent`, the tx pool will try to acquire the chainmanager lock which has previously been locked prior to posting `RemovedTransactionEvent`. This results in a deadlock in the core. | ||||
* | | | | Merge pull request #1405 from fjl/lean-trie | Jeffrey Wilcke | 2015-10-01 | 30 | -1059/+1515 |
|\ \ \ \ | | | | | | | | | | | core, trie: new trie | ||||
| * | | | | trie: add merkle proof functions | Felix Lange | 2015-09-23 | 2 | -0/+261 |
| | | | | | |||||
| * | | | | core, core/state: batch-based state sync | Felix Lange | 2015-09-23 | 10 | -90/+90 |
| | | | | | |||||
| * | | | | core, trie: new trie | Felix Lange | 2015-09-23 | 20 | -953/+1110 |
| | | | | | |||||
| * | | | | trie: improve benchmarks | Felix Lange | 2015-09-23 | 1 | -34/+72 |
| | | | | | |||||
* | | | | | Merge pull request #1856 from karalabe/andorid-path-fix | Jeffrey Wilcke | 2015-10-01 | 3 | -21/+41 |
|\ \ \ \ \ | | | | | | | | | | | | | common: fix #1818, secondary datadir paths to fall back to | ||||
| * | | | | | common: fix #1818, secondary datadir paths to fall back to | Péter Szilágyi | 2015-10-01 | 3 | -21/+41 |
| | | | | | | |||||
* | | | | | | Merge pull request #1859 from fjl/fix-discover-refresh-race | Jeffrey Wilcke | 2015-09-30 | 6 | -183/+199 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | p2p/discover: fix race involving the seed node iterator | ||||
| * | | | | | | p2p/discover: ignore packet version numbers | Felix Lange | 2015-09-30 | 2 | -5/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The strict matching can get in the way of protocol upgrades. | ||||
| * | | | | | | p2p/discover: remove unused lastLookup field | Felix Lange | 2015-09-30 | 1 | -6/+1 |
| | | | | | | | |||||
| * | | | | | | p2p/discover: fix race involving the seed node iterator | Felix Lange | 2015-09-30 | 5 | -172/+198 |
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nodeDB.querySeeds was not safe for concurrent use but could be called concurrenty on multiple goroutines in the following case: - the table was empty - a timed refresh started - a lookup was started and initiated refresh These conditions are unlikely to coincide during normal use, but are much more likely to occur all at once when the user's machine just woke from sleep. The root cause of the issue is that querySeeds reused the same leveldb iterator until it was exhausted. This commit moves the refresh scheduling logic into its own goroutine (so only one refresh is ever active) and changes querySeeds to not use a persistent iterator. The seed node selection is now more random and ignores nodes that have not been contacted in the last 5 days. | ||||
* | | | | | | Merge pull request #1852 from obscuren/filter-nil-fix | Jeffrey Wilcke | 2015-09-30 | 1 | -12/+34 |
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | xeth: fixed nil pointer of filter retrieval | ||||
| * | | | | | xeth: fixed nil pointer of filter retrieval | Jeffrey Wilcke | 2015-09-25 | 1 | -12/+34 |
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fix addresses an issue with filters that were (possibly) not yet added to the filter queues but were expected. I've added additional nil checks making sure it doesn't crash and swapped the installation of the filter around so it's installed before use. Closes #1665 | ||||
* | | | | | Merge pull request #1854 from karalabe/badhasherror-formatting-loop | Jeffrey Wilcke | 2015-09-29 | 1 | -1/+1 |
|\ \ \ \ \ | |_|/ / / |/| | | | | core: fix a formatting loop in BadHashError | ||||
| * | | | | core: fix a formatting loop in BadHashError | Péter Szilágyi | 2015-09-29 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | Merge pull request #1843 from karalabe/cleanup-downloader-channel | Jeffrey Wilcke | 2015-09-25 | 1 | -20/+36 |
|\ \ \ \ | |_|/ / |/| | | | eth/downloader: always send termination wakes, clean leftover | ||||
| * | | | eth/downloader: always send termination wakes, clean leftover | Péter Szilágyi | 2015-09-23 | 1 | -20/+36 |
| | | | | |||||
* | | | | Merge pull request #1803 from Gustav-Simonsson/badhashes | Jeffrey Wilcke | 2015-09-24 | 3 | -2/+66 |
|\ \ \ \ | | | | | | | | | | | core: Add BadHashErr and test for BadHashes handling | ||||
| * | | | | core: Add BadHashErr and test for BadHashes handling | Gustav Simonsson | 2015-09-23 | 3 | -2/+66 |
|/ / / / | |||||
* | | | | Merge pull request #1844 from obscuren/version-file | Jeffrey Wilcke | 2015-09-23 | 1 | -0/+1 |
|\ \ \ \ | | | | | | | | | | | VERSION: added version | ||||
| * | | | | VERSION: added version | Jeffrey Wilcke | 2015-09-23 | 1 | -0/+1 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #1842 from fjl/rpc-fix-unknown-block | Felix Lange | 2015-09-23 | 3 | -31/+24 |
|\ \ \ \ | |_|/ / |/| | | | rpc/api: don't crash for unknown blocks | ||||
| * | | | rpc/api: don't crash for unknown blocks | Felix Lange | 2015-09-23 | 1 | -25/+23 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most eth RPC calls that work with blocks crashed when the block was not found because they called Hash on a nil block. This is a regression introduced in cdc2662c409 (#1779). While here, remove the insane conversions in get*CountBy*. There is no need to construct a complete BlockRes and converting int->int64->*big.Int->[]byte->hexnum->string to format the length of a slice as hex. | ||||
| * | | | cmd/geth, core: make "geth blocktest" work again | Felix Lange | 2015-09-23 | 2 | -6/+1 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | The test genesis block was not written properly, block insertion failed immediately. While here, fix the panic when shutting down "geth blocktest" with Ctrl+C. The signal handler is now installed automatically, causing ethereum.Stop to crash because everything is already stopped. | ||||
* | | | Merge pull request #1827 from Gustav-Simonsson/common_tests | Jeffrey Wilcke | 2015-09-23 | 3 | -1/+6807 |
|\ \ \ | |/ / |/| | | tests: add test for StateTests/stCallCodes.json | ||||
| * | | tests: add test for StateTests/stCallCodes.json | Gustav Simonsson | 2015-09-21 | 3 | -1/+6807 |
| |/ | |||||
* | | Merge pull request #1835 from karalabe/make-cross | Jeffrey Wilcke | 2015-09-22 | 1 | -0/+27 |
|\ \ | | | | | | | makefile: built in cross compilation targets | ||||
| * | | makefile: built in cross compilation targets | Péter Szilágyi | 2015-09-22 | 1 | -0/+27 |
| | | | |||||
* | | | Merge pull request #1669 from obscuren/tx-pool-auto-resend | Jeffrey Wilcke | 2015-09-22 | 13 | -57/+231 |
|\ \ \ | |/ / |/| | | core, xeth: chain reorg move missing transactions to transaction pool | ||||
| * | | core, core/types: readd transactions after chain re-org | Jeffrey Wilcke | 2015-09-22 | 13 | -57/+231 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a `Difference` method to `types.Transactions` which sets the receiver to the difference of a to b (NOTE: not a **and** b). Transaction pool subscribes to RemovedTransactionEvent adding back to those potential missing from the chain. When a chain re-org occurs remove any transactions that were removed from the canonical chain during the re-org as well as the receipts that were generated in the process. Closes #1746 | ||||
* | | | cmd/geth: changed version number to 1.2.0 | Jeffrey Wilcke | 2015-09-21 | 1 | -2/+2 |
|/ / | | | | | Changed the version number of geth to 1.2.0 so that dev builds are now properly build (instead of master). Note to self; increase version number to 1.2.1 for our next actual release. | ||||
* | | Merge pull request #1822 from karalabe/contain-pow | Jeffrey Wilcke | 2015-09-21 | 4 | -62/+327 |
|\ \ | |/ |/| | core: separate and contain POW verifier, extensive tests | ||||
| * | core: separate and contain POW verifier, extensive tests | Péter Szilágyi | 2015-09-21 | 4 | -62/+327 |
|/ | |||||
* | Merge pull request #1814 from Gustav-Simonsson/common_tests | Jeffrey Wilcke | 2015-09-19 | 8 | -439/+13127 |
|\ | | | | | tests: update common test wrappers and test files | ||||
| * | tests: use lastblockhash field to validate reorgs and block headers | Gustav Simonsson | 2015-09-18 | 2 | -48/+58 |
| | | |||||
| * | tests: update common test wrappers and test files | Gustav Simonsson | 2015-09-18 | 7 | -424/+13102 |
| | | |||||
* | | Merge pull request #1817 from obscuren/nonce-fix | Jeffrey Wilcke | 2015-09-19 | 2 | -2/+21 |
|\ \ | |/ |/| | core: transaction nonce recovery |