Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
| * | core: transaction nonce recovery fix | Jeffrey Wilcke | 2015-09-18 | 2 | -2/+21 |
| | | | | | | | | | | | | | | | | When the transaction state recovery kicked in it assigned the last (incorrect) nonce to the pending state which caused transactions with the same nonce to occur. Added test for nonce recovery | ||||
* | | Merge pull request #1815 from karalabe/chain-maker-timer | Felix Lange | 2015-09-18 | 1 | -0/+11 |
|\ \ | | | | | | | core: allow modifying test-chain block times | ||||
| * | | core: allow modifying test-chain block times | Péter Szilágyi | 2015-09-17 | 1 | -0/+11 |
| | | | |||||
* | | | Merge pull request #1793 from jeffallen/typo | Felix Lange | 2015-09-18 | 1 | -18/+19 |
|\ \ \ | | | | | | | | | common: Update README.md for the current package name | ||||
| * | | | common: Update README.md for the current package name | Jeff R. Allen | 2015-09-11 | 1 | -18/+19 |
| | | | | |||||
* | | | | Merge pull request #1813 from kobigurk/develop | Felix Lange | 2015-09-18 | 1 | -1/+3 |
|\ \ \ \ | | | | | | | | | | | cmd/geth: extradata is correcly initialized with console | ||||
| * | | | | cmd/geth: extradata is correcly initialized with console | Kobi Gurkan | 2015-09-17 | 1 | -1/+3 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #1811 from bas-vk/timer-clearinterval | Felix Lange | 2015-09-18 | 1 | -1/+3 |
|\ \ \ \ | |_|_|/ |/| | | | timer bugfix when clearInterval was called from within the callback | ||||
| * | | | jsre: timer bugfix when clearInterval was called from within the callback | Bas van Kervel | 2015-09-16 | 1 | -1/+3 |
| | | | | |||||
* | | | | Merge pull request #1810 from karalabe/pure-header-verifications-2 | Jeffrey Wilcke | 2015-09-17 | 4 | -28/+26 |
|\ \ \ \ | |_|/ / |/| | | | core, eth, miner: use pure header validation | ||||
| * | | | core, eth, miner: use pure header validation | Péter Szilágyi | 2015-09-16 | 4 | -28/+26 |
| |/ / | |||||
* | | | Merge pull request #1801 from fjl/ethdb | Jeffrey Wilcke | 2015-09-16 | 26 | -125/+142 |
|\ \ \ | | | | | | | | | all: move common.Database to ethdb and add NewBatch | ||||
| * | | | ethdb: remove Flush | Felix Lange | 2015-09-15 | 4 | -51/+10 |
| | | | | |||||
| * | | | ethdb: copy stored memdb values | Felix Lange | 2015-09-15 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | Storing a value in LevelDB copies the bytes, modifying the value afterwards does not affect the content of the database. This commit ensures that MemDatabase satisfies the same property. | ||||
| * | | | ethdb: add NewBatch | Felix Lange | 2015-09-15 | 3 | -0/+49 |
| | | | | |||||
| * | | | all: move common.Database to package ethdb | Felix Lange | 2015-09-15 | 24 | -75/+85 |
| | | | | |||||
* | | | | Merge pull request #1784 from karalabe/standard-sync-stats | Jeffrey Wilcke | 2015-09-16 | 8 | -251/+1174 |
|\ \ \ \ | |_|/ / |/| | | | eth, rpc: standardize the chain sync progress counters | ||||
| * | | | jsre, rpc/api: pull in new web3 and use hex numbers | Péter Szilágyi | 2015-09-15 | 3 | -187/+612 |
| | | | | |||||
| * | | | eth/downloader: header-chain order and ancestry check | Péter Szilágyi | 2015-09-15 | 3 | -7/+77 |
| | | | | |||||
| * | | | eth, rpc: standardize the chain sync progress counters | Péter Szilágyi | 2015-09-15 | 7 | -68/+496 |
| | | | | |||||
* | | | | Merge pull request #1744 from kobigurk/develop | Jeffrey Wilcke | 2015-09-16 | 1 | -1/+15 |
|\ \ \ \ | | | | | | | | | | | adds extradata flag | ||||
| * | | | | cmd/geth: adds extradata flag | Kobi Gurkan | 2015-09-16 | 1 | -1/+15 |
|/ / / / | |||||
* | | | | Merge pull request #1806 from ethersphere/solc2 | Jeffrey Wilcke | 2015-09-15 | 2 | -14/+14 |
|\ \ \ \ | |/ / / |/| | | | new solc api - late fixes | ||||
| * | | | new solc api: | zelig | 2015-09-15 | 2 | -14/+14 |
|/ / / | | | | | | | | | | | | | | | | * use legacy version matcher * optimise just a boolean flag * skipf for messages in tests | ||||
* | | | Merge pull request #1786 from ethersphere/solc | Felix Lange | 2015-09-15 | 2 | -23/+49 |
|\ \ \ | | | | | | | | | common/compiler: new solc API | ||||
| * | | | Solidity Compiler - solc new API | zelig | 2015-09-12 | 2 | -23/+49 |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adapt to new compiler versioning * use compiler version as language version * implement new solc API for versions >= 0.1.[2-9][0-9]* fixes #1770 * add optimize=1 to options * backward compatibility (for now) for <= 0.1.1, and old versions (0.[2-9][0-9]*.[0-9]+) * introduce compilerOptions to ContractInfo * clean up flair, include full version string to version line and ContractInfo | ||||
* | | | Merge pull request #1797 from karalabe/ensure-ipcpath-exists | Felix Lange | 2015-09-14 | 1 | -1/+6 |
|\ \ \ | | | | | | | | | rpc/comms: fix #1795, ensure IPC path exists before binding | ||||
| * | | | rpc/comms: fix #1795, ensure IPC path exists before binding | Péter Szilágyi | 2015-09-11 | 1 | -1/+6 |
| | | | | |||||
* | | | | Merge pull request #1792 from jeffallen/uuid | Felix Lange | 2015-09-14 | 21 | -16/+237 |
|\ \ \ \ | |_|/ / |/| | | | Change go-uuid to use the current supported repository. | ||||
| * | | | Change go-uuid to use the current supported repository. | Jeff R. Allen | 2015-09-12 | 21 | -16/+237 |
| | |/ | |/| | |||||
* | | | Merge pull request #1789 from Gustav-Simonsson/core_remove_unused_functions | Jeffrey Wilcke | 2015-09-12 | 6 | -281/+0 |
|\ \ \ | | | | | | | | | core, core/vm, core/state: remove unused functions | ||||
| * | | | core, core/vm, core/state: remove unused functions | Gustav Simonsson | 2015-09-11 | 6 | -281/+0 |
| |/ / | |||||
* | | | Merge pull request #1796 from karalabe/ethash-android-support | Jeffrey Wilcke | 2015-09-12 | 6 | -3/+4 |
|\ \ \ | | | | | | | | | godeps: pull in ethash android fix | ||||
| * | | | godeps: pull in ethash android fix | Péter Szilágyi | 2015-09-11 | 6 | -3/+4 |
| | |/ | |/| | |||||
* | | | Merge pull request #1779 from karalabe/split-block-storage-3000 | Jeffrey Wilcke | 2015-09-11 | 18 | -381/+881 |
|\ \ \ | |/ / |/| | | core: split the db blocks into components, move TD out top level | ||||
| * | | core: split out TD from database and all internals | Péter Szilágyi | 2015-09-11 | 19 | -294/+590 |
| | | | |||||
| * | | core, eth: split the db blocks into headers and bodies | Péter Szilágyi | 2015-09-11 | 9 | -226/+430 |
|/ / | |||||
* | | Merge pull request #1773 from obscuren/dev-mode | Felix Lange | 2015-09-11 | 3 | -7/+42 |
|\ \ | | | | | | | cmd/geth, cmd/utils, eth: added dev mode flag | ||||
| * | | cmd/geth, cmd/utils, eth: added dev mode flag | Jeffrey Wilcke | 2015-09-09 | 3 | -7/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dev mode enabled some debugging flags such as: * VM debugging mode * Simpler proof of work * Whisper enabled by default * Datadir to a tmp datadir * Maxpeers set to 0 * Gas price of 0 * Random listen port | ||||
* | | | Merge pull request #1778 from fjl/rlp-trie-changes | Jeffrey Wilcke | 2015-09-11 | 6 | -11/+413 |
|\ \ \ | |_|/ |/| | | rlp: precursor changes for trie, p2p | ||||
| * | | rlp: move ListSize to raw.go | Felix Lange | 2015-09-11 | 2 | -6/+6 |
| | | | |||||
| * | | rlp: add RawValue | Felix Lange | 2015-09-11 | 5 | -1/+39 |
| | | | |||||
| * | | rlp: add Split functions | Felix Lange | 2015-09-11 | 3 | -1/+337 |
| | | | | | | | | | | | | | | | These functions allow destructuring of raw rlp-encoded bytes without the overhead of reflection or copying. | ||||
| * | | rlp: fix encReader returning nil buffers to the pool | Felix Lange | 2015-09-11 | 2 | -4/+32 |
| |/ | | | | | | | | | | | The bug can cause crashes if Read is called after EOF has been returned. No code performs such calls right now, but hitting the bug gets more likely as rlp.EncodeToReader gets used in more places. | ||||
* | | Merge pull request #1781 from Gustav-Simonsson/state_object_copy | Felix Lange | 2015-09-10 | 2 | -0/+105 |
|\ \ | | | | | | | core/state: deleted field in StateObject Copy() and unit test | ||||
| * | | core/state: test formatting adhering to Go convention | Gustav Simonsson | 2015-09-09 | 1 | -17/+17 |
| | | | |||||
| * | | core/state: deleted field in StateObject Copy() and unit test | Gustav Simonsson | 2015-09-08 | 2 | -0/+105 |
| | | | |||||
* | | | Merge pull request #1780 from bas-vk/miner-crash | Jeffrey Wilcke | 2015-09-09 | 1 | -1/+9 |
|\ \ \ | |/ / |/| | | agent/miner Prevent the CpuAgent to be started multiple times | ||||
| * | | put unlock after lock | Bas van Kervel | 2015-09-08 | 1 | -5/+3 |
| | | | |||||
| * | | agent/miner Prevent the CpuAgent to be started multiple times | Bas van Kervel | 2015-09-08 | 1 | -2/+12 |
| |/ | |||||
* | | Merge pull request #1777 from hectorchu/develop | Péter Szilágyi | 2015-09-08 | 1 | -2/+2 |
|\ \ | | | | | | | rpc/comms: fix bug attaching the console over http | ||||
| * | | rpc/comms: fix bug attaching the console over http | Hector Chu | 2015-09-07 | 1 | -2/+2 |
| |/ | |||||
* | | Merge pull request #1774 from bas-vk/console-crash | Péter Szilágyi | 2015-09-08 | 1 | -1/+1 |
|\ \ | |/ |/| | cmd/geth Autocompletion bugfix which let the console crash | ||||
| * | cmd/geth Autocompletion bugfix which let the console crash | Bas van Kervel | 2015-09-06 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1752 from karalabe/fix-eth61-test | Felix Lange | 2015-09-03 | 1 | -1/+3 |
|\ | | | | | eth/downloader: fix race causing occasional test failure | ||||
| * | eth/downloader: fix race causing occasional test failure | Péter Szilágyi | 2015-09-01 | 1 | -1/+3 |
| | | |||||
* | | Merge pull request #1764 from kobigurk/honor_ipc_datadir | Péter Szilágyi | 2015-09-03 | 1 | -1/+1 |
|\ \ | | | | | | | honors datadir when attaching | ||||
| * | | cmd/geth: honor datadir when attaching | Kobi Gurkan | 2015-09-03 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #1761 from CJentzsch/patch-3 | Jeffrey Wilcke | 2015-09-03 | 1 | -1/+1 |
|\ \ | | | | | | | fix block time issue | ||||
| * | | fix block time issue | Christoph Jentzsch | 2015-09-03 | 1 | -1/+1 |
|/ / | | | | | | | | | | | | | currently, under normal circumstances, you always set the timestamp to previous.Time() + 1. credits to https://www.reddit.com/r/ethereum/comments/3jcs5r/code_avg_block_time_vs_difficulty_adjustment/cuoi4op style | ||||
* | | Merge pull request #1726 from Gustav-Simonsson/update_tests | Felix Lange | 2015-09-03 | 750 | -1865/+2305 |
|\ \ | | | | | | | Add TestBcForkUncle tests & update JSON files | ||||
| * | | Add TestBcForkUncleTests and update JSON files | Gustav Simonsson | 2015-08-31 | 750 | -1865/+2305 |
| |/ | |||||
* | | Merge pull request #1755 from fjl/coinbase | Gustav Simonsson | 2015-09-02 | 2 | -24/+27 |
|\ \ | | | | | | | core: improve block gas tracking | ||||
| * | | core: improve block gas tracking | Felix Lange | 2015-09-02 | 2 | -24/+27 |
|/ / | |||||
* | | Merge pull request #1751 from maran/fix_filters | Felix Lange | 2015-09-02 | 1 | -3/+3 |
|\ \ | | | | | | | core: Filter on addresses should work as an OR not an AND. | ||||
| * | | Filter on addresses should work as an OR not an AND. | Maran | 2015-09-01 | 1 | -3/+3 |
| | | | |||||
* | | | Merge pull request #1745 from mrdomino/obsd-build-master | Felix Lange | 2015-09-02 | 9 | -4/+20 |
|\ \ \ | |_|/ |/| | | Pull in ethash and go-isatty updates | ||||
| * | | Pull in ethash and go-isatty updates | Steven Dee | 2015-09-01 | 9 | -4/+20 |
| |/ | | | | | | | Fixes build on OpenBSD. | ||||
* | | Merge pull request #1742 from fjl/rpc-receipt-root | Felix Lange | 2015-08-31 | 1 | -0/+6 |
|\ \ | | | | | | | rpc: add receiptRoot to getBlock* responses | ||||
| * | | rpc: add receiptRoot to getBlock* responses | Felix Lange | 2015-08-29 | 1 | -0/+6 |
| | | | | | | | | | | | | Fixes #1679 | ||||
* | | | Merge pull request #1734 from fjl/ldflags-warning-go1.5 | Felix Lange | 2015-08-31 | 1 | -1/+6 |
|\ \ \ | |_|/ |/| | | build: avoid -X separator warning with Go >= 1.5 | ||||
| * | | build: avoid -X separator warning with Go >= 1.5 | Felix Lange | 2015-08-27 | 1 | -1/+6 |
| |/ | |||||
* | | Merge pull request #1724 from Gustav-Simonsson/get_work | Felix Lange | 2015-08-29 | 4 | -4/+27 |
|\ \ | | | | | | | rpc: return error code for eth_getWork when no work ready | ||||
| * | | Improve error string and remove unneeded else clause | Gustav Simonsson | 2015-08-28 | 3 | -7/+6 |
| | | | |||||
| * | | rpc: return error code for eth_getWork when no work ready | Gustav Simonsson | 2015-08-26 | 4 | -4/+28 |
| | | | |||||
* | | | Merge pull request #1739 from bas-vk/empty-password | Felix Lange | 2015-08-28 | 2 | -4/+4 |
|\ \ \ | |_|/ |/| | | rpc/api allow empty password | ||||
| * | | rpc/api allow empty password | Bas van Kervel | 2015-08-28 | 2 | -4/+4 |
|/ / | |||||
* | | Merge pull request #1701 from karalabe/eth62-sync-rebase | Felix Lange | 2015-08-27 | 23 | -1274/+3347 |
|\ \ | | | | | | | eth: implement eth/62 synchronization logic | ||||
| * | | eth: update metrics collection to handle eth/62 algos | Péter Szilágyi | 2015-08-25 | 7 | -36/+160 |
| | | | |||||
| * | | eth: port the synchronisation algo to eth/62 | Péter Szilágyi | 2015-08-25 | 10 | -341/+2010 |
| | | | |||||
| * | | eth: kill off protocol eth/60 in preparation for eth/62 | Péter Szilágyi | 2015-08-24 | 6 | -804/+28 |
| | | | |||||
| * | | eth, eth/downloader: handle header requests, table driven proto tests | Péter Szilágyi | 2015-08-24 | 14 | -254/+1209 |
| | | |