- Feb 03, 2017
-
-
Péter Szilágyi authored
-
Péter Szilágyi authored
core/genesis: add support for setting nonce in 'alloc'
-
Péter Szilágyi authored
event: add new Subscription type and related utilities
-
Felix Lange authored
event: address Feed review issues event: clarify role of NewSubscription function event: more Feed review fixes * take sendLock after dropping f.mu * add constant for number of special cases event: fix subscribing/unsubscribing while Send is blocked
-
- Feb 02, 2017
-
-
Jeffrey Wilcke authored
Reworked the EVM gas instructions to use 64bit integers rather than arbitrary size big ints. All gas operations, be it additions, multiplications or divisions, are checked and guarded against 64 bit integer overflows. In additon, most of the protocol paramaters in the params package have been converted to uint64 and are now constants rather than variables. * common/math: added overflow check ops * core: vmenv, env renamed to evm * eth, internal/ethapi, les: unmetered eth_call and cancel methods * core/vm: implemented big.Int pool for evm instructions * core/vm: unexported intPool methods & verification methods * core/vm: added memoryGasCost overflow check and test
-
- Feb 01, 2017
-
-
Brian Schroeder authored
We must take a write lock here because `GetNonce` calls `StateDB.GetStateObject`, which mutates the DB's live set.
-
Felix Lange authored
-
Felix Lange authored
-
Felix Lange authored
les: fix private net issues, enable adding peers manually again
-
- Jan 31, 2017
-
-
Vlad Gluhovsky authored
-
- Jan 30, 2017
-
-
Péter Szilágyi authored
cmd/swarm, swarm/api: bzzr improve + networkid prio
-
Péter Szilágyi authored
-
Péter Szilágyi authored
cmd/geth, cmd/swarm: Fix to close file handler appropriately
-
- Jan 29, 2017
-
-
Péter Szilágyi authored
build: Fix tiny typo
-
Shintaro Kaneko authored
-
Shintaro Kaneko authored
-
- Jan 27, 2017
-
-
Louis Holbrook authored
fixes #3444 fixes #3494 networkid override Added comments to explain why test against 0 appears twice * Command line overrides saved config, saved config overrides system default --- fixes #3476 bzzr get with path Finally a hopefully clean commit for this PR Added check for empty path to avoid SIGSEGV in path parser and resolver Added requested tests for empty path and non-existing manifest. However signature for StartHTTPServer had changed. Now it's hacked as so: StartHttpServer(api.API, &Server{Addr: "127.0.0.1:8504", CorsString: ""}) * Parse url before resolve when path and ENS is supplied, example * swarm/api/http proxy server test for retrieval of subpath through get * Removed nil entry assignment on subtrie leaf in recursive key retrieval * Cleaned up path-or-no-path condition in proxy server get handler * swarm: processed with gofmt refers to lash/go-ethereum@90daa7a * swarm: Added public access method Parse alias to parse * swarm: processed with gofmt References nolash/go-ethereum@2ec3fd7 * Rename parse to Parse, removed alias
-
Zsolt Felföldi authored
-
- Jan 26, 2017
-
-
Bas van Kervel authored
-
Vivek Anand authored
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
-
- Jan 25, 2017
-
-
Felix Lange authored
This change makes client subscriptions compatible with the new Subscription semantics introduced in the previous commit.
-
Felix Lange authored
This commit introduces a new Subscription type, which is synonymous with ethereum.Subscription. It also adds a couple of utilities that make working with Subscriptions easier. The mot complex utility is Feed, a synchronisation device that implements broadcast subscriptions. Feed is slightly faster than TypeMux and will replace uses of TypeMux across the go-ethereum codebase in the future.
-
Felix Lange authored
web3.js includes bzz methods and throws an error when the extension module is reregistered. The ENS RPC API is deprecated and not exposed by anything.
-
Felix Lange authored
The Subscription type is gone, all uses are replaced by *TypeMuxSubscription. This change is prep-work for the introduction of the new Subscription type in a later commit. gorename -from '"github.com/ethereum/go-ethereum/event"::Event' -to TypeMuxEvent gorename -from '"github.com/ethereum/go-ethereum/event"::muxsub' -to TypeMuxSubscription gofmt -w -r 'Subscription -> *TypeMuxSubscription' ./event/*.go find . -name '*.go' -and -not -regex '\./vendor/.*' \| xargs gofmt -w -r 'event.Subscription -> *event.TypeMuxSubscription'
-
- Jan 24, 2017
-
-
Martin Holst Swende authored
This is to be able to set `pre`-state when performing blockchain tests through Hive, we need to be able to set the nonce.
-
Felix Lange authored
Commit d3b751e4 accidentally deleted a crucial 'return' statement, leading to a crash in case of an issue with node data. This change improves the fix in PR #3591 by removing the lock entirely.
-
Péter Szilágyi authored
containers/docker: update base images, add CA certs, build internally on Ubuntu
-
- Jan 23, 2017
-
-
Felix Lange authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
- Jan 22, 2017
-
-
Felix Lange authored
-
Martin Holst Swende authored
* evm: added debug flag (back) * cmd/evm: gofmt
-
- Jan 20, 2017
-
-
Péter Szilágyi authored
Gas estimation currently mostly works, but can underestimate for more funky refunds. This is because various ops (e.g. CALL) need more gas to run than they actually consume (e.g. 2300 stipend that is refunded if not used). With more intricate contract interplays, it becomes almost impossible to return a proper value to the user. This commit swaps out the simplistic gas estimation to a binary search approach, honing in on the correct gas use. This does mean that gas estimation needs to rerun the transaction log(max-price) times to measure whether it fails or not, but it's a price paid by the transaction issuer, and it should be worth it to support proper estimates.
-
Bas van Kervel authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
The Android NDK was recently removed from gomobile, leading to our Android builds failing. Starting from https://go-review.googlesource.com/#/c/35173/ , gomobile requires a locally installed NDK. This PR ensures that travis installs that too before running the build steps.
-
Péter Szilágyi authored
-
- Jan 18, 2017
-
-
Péter Szilágyi authored
core: removal of dead-code
-