Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ethstats: fix timestamps and add custom proto support | Péter Szilágyi | 2016-12-12 | 1 | -1/+8 |
| | |||||
* | build: safe update of PATH on Windows (#3419) | bas-vk | 2016-12-11 | 5 | -3/+164 |
| | | | | | | | NSIS has a default MAX_STR_LEN of 1024. If $ENV{PATH} is longer the returned string is truncated to an empty string. Its then not possible to distinguis between the variable not set or too long. As a result the variable is set with the location where geth and/or dev tools are installed. This may override any previous set values. | ||||
* | core: bugfix state change race condition in txpool (#3412) | bas-vk | 2016-12-11 | 12 | -56/+171 |
| | | | | | | | | The transaction pool keeps track of the current nonce in its local pendingState. When a new block comes in the pendingState is reset. During the reset it fetches multiple times the current state through the use of the currentState callback. When a second block comes in during the reset its possible that the state changes during the reset. If that block holds transactions that are currently in the pool the local pendingState that is used to determine nonces can get out of sync. | ||||
* | mobile: iOS naming and API fixes for generators and Swift (#3408) | Péter Szilágyi | 2016-12-08 | 15 | -147/+151 |
| | | | | | * build: modify the iOS namespace to iGeth (gomobile limitation) * mobile: assign names to return types for ObjC wrapper * mobile: use more expanded names for iOS/Swift API | ||||
* | core, core/vm: implemented a generic environment (#3348) | Jeffrey Wilcke | 2016-12-06 | 39 | -1253/+952 |
| | | | | | | | | Environment is now a struct (not an interface). This reduces a lot of tech-debt throughout the codebase where a virtual machine environment had to be implemented in order to test or run it. The new environment is suitable to be used en the json tests, core consensus and light client. | ||||
* | Merge pull request #3402 from fjl/ethclient-api-fixes | Felix Lange | 2016-12-06 | 12 | -190/+327 |
|\ | | | | | eth/filters, ethclient, ethereum: API improvements | ||||
| * | ethereum: document use of Removed field for SubscribeFilterLogs | Felix Lange | 2016-12-05 | 1 | -0/+3 |
| | | |||||
| * | core, core/vm, eth/filters: move Removed field into vm.Log | Felix Lange | 2016-12-05 | 8 | -165/+252 |
| | | | | | | | | | | | | | | | | | | | | | | | | This field used to be assigned by the filter system and returned through the RPC API. Now that we have a Go client that uses the underlying type, the field needs to move. It is now assigned to true when the RemovedLogs event is generated so the filter system doesn't need to care about the field at all. While here, remove the log list from ChainSideEvent. There are no users of this field right now and any potential users could subscribe to RemovedLogsEvent instead. | ||||
| * | ethclient, ethereum: add NotFound, split transactions out of ChainReader | Felix Lange | 2016-12-05 | 4 | -23/+67 |
| | | | | | | | | | | | | | | | | | | ethclient now returns ethereum.NotFound if the server returns null and no error while accessing blockchain data. The light client cannot provide arbitrary transactions. The change to split transaction access into its own interface emphasizes that transactions should not be relied on and recommends use of logs. | ||||
| * | ethclient: use package hexutil for number encoding | Felix Lange | 2016-12-05 | 1 | -2/+2 |
| | | |||||
| * | ethclient: don't crash if server returns null uncle header | Felix Lange | 2016-12-05 | 1 | -0/+3 |
|/ | | | | | It should never return null for a known uncle, but even if it does we can't just crash. | ||||
* | whisper/shhapi, whisper/whisperv5: refactoring (#3364) | gluk256 | 2016-12-02 | 14 | -650/+828 |
| | | | | | | | | | | * Filter refactoring * API tests added + bugfix * fixed the error logs * FilterID fixed * test cases fixed * key generation updated * POW updated * got rid of redundant stuff | ||||
* | swarm/api: Update ENS root address for Ropsten & prod (#3391) | Nick Johnson | 2016-12-02 | 2 | -5/+4 |
| | |||||
* | Merge pull request #3390 from bas-vk/statsd-stop | Péter Szilágyi | 2016-12-01 | 1 | -1/+9 |
|\ | | | | | ethstats: check if received event is valid | ||||
| * | ethstats: check if received event is valid | Bas van Kervel | 2016-12-01 | 1 | -1/+9 |
| | | |||||
* | | README: removed develop mentions | Maran | 2016-12-01 | 1 | -3/+1 |
|/ | |||||
* | cmd/geth: tidied up the source (#3385) | Péter Szilágyi | 2016-11-30 | 3 | -133/+174 |
| | | | cmd/geth: tidied up the source | ||||
* | Merge pull request #3373 from karalabe/ethstats-block-fields | Péter Szilágyi | 2016-11-30 | 1 | -16/+16 |
|\ | | | | | ethstats: don't drop concurrent head reports (mini forks) | ||||
| * | ethstats: don't drop concurrent head reports (mini forks) | Péter Szilágyi | 2016-11-29 | 1 | -16/+16 |
| | | |||||
* | | Merge pull request #3368 from bas-vk/sha3 | Péter Szilágyi | 2016-11-30 | 1 | -3/+3 |
|\ \ | | | | | | | node: improve error handling for web3_sha3 RPC method | ||||
| * | | node: improve error handling for web3_sha3 RPC method | Bas van Kervel | 2016-11-29 | 1 | -3/+3 |
| | | | |||||
* | | | eth, miner: removed unnecessary state.Copy() | Martin Holst Swende | 2016-11-30 | 3 | -2/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | * miner: removed unnecessary state.Copy() * eth: made use of new miner method without state copying * miner: More documentation about new method | ||||
* | | | cmd/utils: update helpscreen's testnet description (#3377) | Luca Zeug | 2016-11-29 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #3376 from karalabe/drop-dao-flags | Péter Szilágyi | 2016-11-29 | 3 | -88/+17 |
|\ \ \ | |_|/ |/| | | cmd: drop DAO related choice flags since ETC diverged | ||||
| * | | cmd: drop DAO related choice flags since ETC diverged | Péter Szilágyi | 2016-11-29 | 3 | -88/+17 |
|/ / | |||||
* | | Merge pull request #3370 from karalabe/ethstats-block-fields | Péter Szilágyi | 2016-11-29 | 1 | -6/+12 |
|\ \ | | | | | | | ethstats: report block miner, gas limit and gas consumption | ||||
| * | | ethstats: report block miner, gas limit and gas consumption | Péter Szilágyi | 2016-11-29 | 1 | -6/+12 |
|/ / | |||||
* / | core/types: Document Transaction.To (#3366) | Steven Roose | 2016-11-29 | 1 | -0/+2 |
|/ | |||||
* | VERSION, params: bump unstable version 1.5.5 (#3361) | Jeffrey Wilcke | 2016-11-28 | 2 | -5/+5 |
| | |||||
* | params: stable version 1.5.4 (#3360) | Jeffrey Wilcke | 2016-11-28 | 1 | -4/+4 |
| | |||||
* | eth/filter: add support for pending logs (#3219) | bas-vk | 2016-11-28 | 7 | -92/+319 |
| | |||||
* | common/hexutil: fix Test{Decode,Unmarshal}Uint64 on 32bit arch (#3363) | Felix Lange | 2016-11-28 | 2 | -2/+2 |
| | |||||
* | cmd/bzzd: swarm daemon fixes (#3359) | Viktor Trón | 2016-11-28 | 7 | -46/+56 |
| | | | | | | | | | | | | * cmd/bzzd: add missing p2p/discovery flags * cmd/bzzd: fix two bugs crashing bzzd if bootnodes flag given * cmd/bzzd: make no swap default, renamed flag bzznoswap->bzzswap * internal/web3ext: correct methods for bzz IPC module * cmd/bzzd: ethapi param not mandatory. Warning if no blockchain * cmd/bzzd: correct default IPC modules in help string * cmd/utils: fix help description for networkId - add Ropsten * cmd/bzz, swarm/api, swarm/network: add swarm networkId flag * cmd/bzzd: change nosync flag to sync and BootTFlag | ||||
* | Merge pull request #3355 from fjl/hexutil-2 | Péter Szilágyi | 2016-11-28 | 17 | -566/+1125 |
|\ | | | | | Improve hex encoding/decoding | ||||
| * | ethclient: "addresses" -> "address" in filter query encoding | Felix Lange | 2016-11-28 | 1 | -1/+1 |
| | | |||||
| * | eth/filters: simplify query object decoding | Felix Lange | 2016-11-28 | 1 | -47/+44 |
| | | |||||
| * | accounts: don't use common.Address for address field | Felix Lange | 2016-11-28 | 1 | -4/+5 |
| | | | | | | | | | | common.Address JSON encoding now enforces the 0x prefix, but key files don't have the prefix. | ||||
| * | common: use package hexutil for fixed size type encoding | Felix Lange | 2016-11-28 | 2 | -60/+30 |
| | | |||||
| * | ethclient: use package hexutil for JSON handling | Felix Lange | 2016-11-28 | 1 | -34/+35 |
| | | |||||
| * | core/types: use package hexutil for JSON handling | Felix Lange | 2016-11-28 | 6 | -392/+40 |
| | | |||||
| * | core/vm: use package hexutil for JSON handling | Felix Lange | 2016-11-28 | 2 | -28/+23 |
| | | |||||
| * | common/hexutil: new package for 0x hex encoding | Felix Lange | 2016-11-28 | 4 | -0/+947 |
| | | | | | | | | | | The new package is purpose-built to handle the encoding consumed and produced by the RPC API. | ||||
* | | Merge pull request #3362 from karalabe/cocoapods-fix-3000 | Péter Szilágyi | 2016-11-28 | 2 | -8/+6 |
|\ \ | | | | | | | build: use single CocoaPods package, pre-release dev builds | ||||
| * | | build: use single CocoaPods package, pre-release dev builds | Péter Szilágyi | 2016-11-28 | 2 | -8/+6 |
|/ / | |||||
* | | light: implemented VMState.Empty() (#3357) | Felföldi Zsolt | 2016-11-28 | 2 | -2/+14 |
| | | |||||
* | | build/ci: add swarm related executables (bzzd, bzzup, bzzhash) to binary ↵ | Viktor Trón | 2016-11-28 | 1 | -0/+15 |
|/ | | | | packages (#3354) | ||||
* | core: fixed unwinding bad hash (#3347) | Jeffrey Wilcke | 2016-11-28 | 1 | -3/+8 |
| | | | Fixed unwinding of bad hashes when already on the canon chain | ||||
* | Merge pull request #3356 from fjl/accounts-no-watch-on-windows | Péter Szilágyi | 2016-11-28 | 2 | -2/+2 |
|\ | | | | | accounts: disable file system watcher on windows | ||||
| * | accounts: disable file system watcher on windows | Felix Lange | 2016-11-28 | 2 | -2/+2 |
| | | | | | | | | | | The watcher is unreliable and causes test failures on Windows. Disable it until we have a better solution. | ||||
* | | Merge pull request #3352 from fjl/build-git-tag | Péter Szilágyi | 2016-11-28 | 1 | -1/+6 |
|\ \ | | | | | | | internal/build: use 'git tag --points-at' to get the current tag | ||||
| * | | internal/build: use 'git tag --points-at' to get the current tag | Felix Lange | 2016-11-28 | 1 | -1/+6 |
| |/ | | | | | | | This should restore support for building with git 1.x. | ||||
* / | core: eip unit tests (#3309) | Jeffrey Wilcke | 2016-11-28 | 1 | -7/+71 |
|/ | |||||
* | cmd, ethstats, les, mobile, params: native netstats (#3336) | Péter Szilágyi | 2016-11-25 | 8 | -46/+533 |
| | |||||
* | Merge pull request #3325 from fjl/p2p-netrestrict | Felix Lange | 2016-11-25 | 25 | -230/+643 |
|\ | | | | | Prevent relay of invalid IPs, add --netrestrict | ||||
| * | cmd/bootnode, cmd/geth, cmd/bzzd: add --netrestrict | Felix Lange | 2016-11-23 | 6 | -2/+35 |
| | | |||||
| * | p2p, p2p/discover, p2p/discv5: add IP network restriction feature | Felix Lange | 2016-11-23 | 9 | -34/+124 |
| | | | | | | | | | | | | The p2p packages can now be configured to restrict all communication to a certain subset of IP networks. This feature is meant to be used for private networks. | ||||
| * | swarm/network: prevent relay of invalid IPs | Felix Lange | 2016-11-23 | 1 | -0/+5 |
| | | |||||
| * | p2p/discover, p2p/discv5: prevent relay of invalid IPs and low ports | Felix Lange | 2016-11-23 | 6 | -28/+56 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The discovery DHT contains a number of hosts with LAN and loopback IPs. These get relayed because some implementations do not perform any checks on the IP. go-ethereum already prevented relay in most cases because it verifies that the host actually exists before adding it to the local table. But this verification causes other issues. We have received several reports where people's VPSs got shut down by hosting providers because sending packets to random LAN hosts is indistinguishable from a slow port scan. The new check prevents sending random packets to LAN by discarding LAN IPs sent by Internet hosts (and loopback IPs from LAN and Internet hosts). The new check also blacklists almost all currently registered special-purpose networks assigned by IANA to avoid inciting random responses from services in the LAN. As another precaution against abuse of the DHT, ports below 1024 are now considered invalid. | ||||
| * | p2p/discover, p2p/discv5: use netutil.IsTemporaryError | Felix Lange | 2016-11-23 | 8 | -248/+2 |
| | | |||||
| * | p2p/netutil: new package for network utilities | Felix Lange | 2016-11-23 | 6 | -0/+503 |
| | | | | | | | | | | | | | | | | The new package contains three things for now: - IP network list parsing and matching - The WSAEMSGSIZE workaround, which is duplicated in p2p/discover and p2p/discv5. | ||||
* | | Merge pull request #3346 from obscuren/registrar-removal | Péter Szilágyi | 2016-11-25 | 11 | -1296/+5 |
|\ \ | | | | | | | common/registrar, eth: removed registrar (tech debt) | ||||
| * | | common/httpclient, les: removed httpclient | Jeffrey Wilcke | 2016-11-25 | 4 | -210/+4 |
| | | | |||||
| * | | cmd/utils, internal/web3ext: removed httpGet | Jeffrey Wilcke | 2016-11-25 | 2 | -6/+1 |
| | | | |||||
| * | | eth: removed http doc backend api | Jeffrey Wilcke | 2016-11-25 | 1 | -7/+0 |
| | | | |||||
| * | | common/registrar: delete the old registrar code | Felix Lange | 2016-11-25 | 5 | -1043/+0 |
| | | | | | | | | | | | | | | | | | | | | | The registrar was broken, unmaintained and there is a much better replacement: ENS. (cherry picked from commit 6ca8f57b08d550613175260cab7633adcacbe6ab) | ||||
| * | | internal/web3ext: remove registrar-related extensions | Felix Lange | 2016-11-25 | 1 | -30/+0 |
| | | | | | | | | | | | | (cherry picked from commit d54ad55c6079ae6eab93d7f34ce5c4ec829f8e5b) | ||||
* | | | Merge pull request #3345 from karalabe/cleanup-mobile-crossbuilds | Péter Szilágyi | 2016-11-25 | 2 | -16/+29 |
|\ \ \ | |/ / |/| | | Makefile, build: do proper mobile builds, not cross builds | ||||
| * | | Makefile, build: do proper mobile builds, not cross builds | Péter Szilágyi | 2016-11-25 | 2 | -16/+29 |
|/ / | |||||
* | | cmd/utils, VERSION: 1.5.4 unstable | Felix Lange | 2016-11-25 | 2 | -5/+5 |
| | | |||||
* | | cmd/utils: 1.5.3 stable | Felix Lange | 2016-11-25 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #3341 from obscuren/touch-delete-fix | Felix Lange | 2016-11-25 | 38 | -1096/+1971 |
|\ \ | | | | | | | core, core/state: fixed consensus issue added touch revert | ||||
| * | | tests: update from github.com/ethereum/tests @ f21c49dc816e | Felix Lange | 2016-11-25 | 31 | -1065/+1799 |
| | | | |||||
| * | | core, core/state: fixed consensus issue added touch revert | Jeffrey Wilcke | 2016-11-25 | 8 | -31/+172 |
| | | | | | | | | | | | | | | | Implemented proper touch revert journal entries and copied a Parity consensus bug in order to remain in sync with the current longest chain. | ||||
* | | | Merge pull request #3338 from karalabe/miner-driveby-cleanup | Péter Szilágyi | 2016-11-24 | 1 | -3/+4 |
|\ \ \ | | | | | | | | | miner: remove dead code, add gas price getter | ||||
| * | | | miner: remove dead code, add gas price getter | Péter Szilágyi | 2016-11-24 | 1 | -3/+4 |
| |/ / | |||||
* | | | Merge pull request #3337 from karalabe/core-driveby-cleanup | Péter Szilágyi | 2016-11-24 | 1 | -3/+0 |
|\ \ \ | |/ / |/| | | core: remove dead event | ||||
| * | | core: remove dead event | Péter Szilágyi | 2016-11-24 | 1 | -3/+0 |
|/ / | |||||
* | | core: improved bad block error reporting (#3320) | Jeffrey Wilcke | 2016-11-23 | 5 | -18/+47 |
| | | |||||
* | | Merge pull request #3317 from fjl/build-unstable-simplify | Péter Szilágyi | 2016-11-23 | 4 | -10/+15 |
|\ \ | | | | | | | build, internal/build: simplify unstable build checks | ||||
| * | | internal/build: add support for git tag in local Environment | Felix Lange | 2016-11-23 | 2 | -3/+9 |
| | | | | | | | | | | | | | | | | | | I didn't add this initially because the command I tried was too slow. The 'git for-each-ref ...' invocation takes 40ms on my machine. That ought to be acceptable. | ||||
| * | | appveyor: use native 32bit go | Felix Lange | 2016-11-21 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | This simplifies the build and should speed it up a bit because the standard library doesn't need to be cross compiled on the 32bit builder. | ||||
| * | | build: simplify unstable build check | Felix Lange | 2016-11-19 | 1 | -1/+1 |
| |/ | | | | | | | | | | | | | | | | | ci.go decides whether a build is unstable by looking at the branch and tag. This causes issues when a GitHub release is created on the master branch because the build is considered unstable (the CI environment reports the branch as "master"). Fix this by looking at the tag only. Any tagged build is stable. | ||||
* | | Merge pull request #3327 from karalabe/cocoapods-version-round2 | Péter Szilágyi | 2016-11-23 | 1 | -1/+1 |
|\ \ | | | | | | | build: remove hash metadata from cocoapod version | ||||
| * | | build: remove hash metadata from cocoapod version | Péter Szilágyi | 2016-11-23 | 1 | -1/+1 |
|/ / | |||||
* | | core: implemented new ropsten testnet | Jeffrey Wilcke | 2016-11-23 | 8 | -66/+42 |
| | | |||||
* | | cmd/geth, core, light, mobile: removed state account StartingNonce | Jeffrey Wilcke | 2016-11-23 | 7 | -33/+5 |
| | | | | | | | | All account's nonce start at 0. | ||||
* | | build: mobile CI fixes (#3322) | Péter Szilágyi | 2016-11-23 | 2 | -8/+10 |
| | | | | | | | | | | * build: use metatags on cocoapods, not prerelease tags * build: fix Maven and CocoaPods author email addresses | ||||
* | | README: Changed http:// to https:// for swarm link (#3312) | sandakersmann | 2016-11-21 | 1 | -1/+1 |
| | | | | | | Changed http:// to https:// on one link in README.md | ||||
* | | cmd/bzzup: trim directory in the manifest entry path (#3299) | Aron Fischer | 2016-11-18 | 1 | -2/+2 |
|/ | |||||
* | node: Remove redundant filepath.Join in parsePersistentNodes (#3300) | FrankWang | 2016-11-18 | 1 | -2/+1 |
| | |||||
* | cmd/utils, VERSION: 1.5.3 unstable (#3306) | Nick Johnson | 2016-11-18 | 2 | -3/+3 |
| | |||||
* | core: Don't perform EIP150 hash check on uncles (#3303) | Nick Johnson | 2016-11-18 | 1 | -1/+1 |
| | |||||
* | cmd/utils: Set version string to stable (#3304) | Nick Johnson | 2016-11-18 | 1 | -1/+1 |
| | |||||
* | README: add documentation for bzz related executables to the table (#3294) | Viktor Trón | 2016-11-18 | 1 | -1/+4 |
| | |||||
* | travis: dash of black magic to summon the cache daemon (#3288) | Péter Szilágyi | 2016-11-17 | 2 | -11/+9 |
| | |||||
* | Dockerfile: Add git dependency to Dockerfile (#3295) | Nick Johnson | 2016-11-17 | 1 | -2/+2 |
| | |||||
* | cmd/utils, VERSION: 1.5.2 unstable | Felix Lange | 2016-11-17 | 2 | -5/+5 |
| | |||||
* | Merge pull request #3278 from obscuren/version-1-5-1 | Jeffrey Wilcke | 2016-11-16 | 1 | -4/+4 |
|\ | | | | | utils: bump stable 1.5.1 | ||||
| * | utils: bump stable | Jeffrey Wilcke | 2016-11-16 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #3280 from fjl/fix-go15 | Jeffrey Wilcke | 2016-11-16 | 1 | -1/+2 |
|\ \ | |/ |/| | build: set GO15VENDOREXPERIMENT in env.sh | ||||
| * | build: set GO15VENDOREXPERIMENT in env.sh | Felix Lange | 2016-11-16 | 1 | -1/+2 |
|/ | | | | This should fix the 'make' build with Go 1.5. | ||||
* | cmd/utils, mobile, params: set the correct field on testnet EIP 155 (#3272) | Péter Szilágyi | 2016-11-16 | 4 | -50/+35 |
| | |||||
* | travis: only install the needed three android platforms (#3274) | Péter Szilágyi | 2016-11-16 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3275 from obscuren/les-print-fix | Péter Szilágyi | 2016-11-16 | 1 | -1/+1 |
|\ | | | | | les: fixed logging | ||||
| * | les: fixed logging | Jeffrey Wilcke | 2016-11-16 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #3271 from Arachnid/dockerfiles | Jeffrey Wilcke | 2016-11-16 | 3 | -2/+16 |
|\ \ | | | | | | | Dockerfile revamp | ||||
| * | | containers/docker: Fix dockerfiles for new branch layout; add dockerfile in root | Nick Johnson | 2016-11-16 | 3 | -2/+16 |
| | | | |||||
* | | | cmd/utils: remove jit flag handling (#3273) | Felix Lange | 2016-11-16 | 1 | -14/+0 |
|/ / | | | | | | | The jit config options are not handled, but random selection still took place, printing confusing messages. | ||||
* | | Merge pull request #3270 from fjl/version-1.5.1 | Péter Szilágyi | 2016-11-15 | 2 | -19/+5 |
|\ \ | |/ |/| | README, VERSION: update for 1.5 release | ||||
| * | README: update for develop->master switch, remove old build table | Felix Lange | 2016-11-15 | 1 | -18/+4 |
| | | |||||
| * | VERSION: bump unstable version to 1.5.1 | Felix Lange | 2016-11-15 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #3260 from obscuren/version-1-5-1 | Jeffrey Wilcke | 2016-11-15 | 1 | -4/+4 |
|\ | | | | | utils: unstable 1.5.1 | ||||
| * | utils: unstable 1.5.1 | Jeffrey Wilcke | 2016-11-15 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #3259 from obscuren/version-1-5-0 | Jeffrey Wilcke | 2016-11-15 | 1 | -4/+4 |
|\| | | | | | utils: stable 1.5.0 | ||||
| * | utils: stable 1.5.0 | Jeffrey Wilcke | 2016-11-15 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #3268 from fjl/build-master-unstable | Jeffrey Wilcke | 2016-11-15 | 1 | -2/+2 |
|\ \ | | | | | | | build: master is unstable | ||||
| * | | build: master is unstable | Felix Lange | 2016-11-15 | 1 | -2/+2 |
|/ / | |||||
* | | Merge pull request #3266 from fjl/travis-ppa-live | Péter Szilágyi | 2016-11-15 | 2 | -2/+2 |
|\ \ | | | | | | | travis.yml: upload to the real PPA | ||||
| * | | travis.yml: upload to the real PPA | Felix Lange | 2016-11-15 | 2 | -2/+2 |
|/ / | |||||
* | | travis: force xcode to finish iOS simulator configs (#3265) | Péter Szilágyi | 2016-11-15 | 1 | -0/+2 |
| | | |||||
* | | params: hardfork blocknumber (#3264) | Jeffrey Wilcke | 2016-11-15 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #3263 from karalabe/travis-cocoapods-gpg2 | Péter Szilágyi | 2016-11-15 | 3 | -15/+16 |
|\ \ | | | | | | | travis, build: further maven and gpg refinements | ||||
| * | | travis, build: further maven and gpg refinements | Péter Szilágyi | 2016-11-15 | 3 | -15/+16 |
| | | | |||||
* | | | Merge pull request #3262 from karalabe/travis-cocoapods-gpg2 | Péter Szilágyi | 2016-11-15 | 2 | -1/+2 |
|\| | | |/ |/| | travis, build: fix mobile build issues on travis | ||||
| * | travis, build: fix mobile build issues on travis | Péter Szilágyi | 2016-11-15 | 2 | -1/+2 |
|/ | |||||
* | Merge pull request #3258 from karalabe/unfuckup-travis | Péter Szilágyi | 2016-11-15 | 1 | -1/+1 |
|\ | | | | | travis: work around "timeout features" | ||||
| * | travis: work around "timeout features" | Péter Szilágyi | 2016-11-15 | 1 | -1/+1 |
| | | |||||
* | | core, core/types: refactored tx chain id checking (#3257) | Jeffrey Wilcke | 2016-11-15 | 6 | -12/+58 |
|\ \ | |/ |/| | | | | | | | | | | | * core, core/types: refactored tx chain id checking Refactored explicit chain id checking in to the Sender deriviation method * cmd/utils, params: define chain ids | ||||
| * | cmd/utils, params: define chain ids | Jeffrey Wilcke | 2016-11-15 | 2 | -0/+10 |
| | | |||||
| * | core, core/types: refactored tx chain id checking | Jeffrey Wilcke | 2016-11-14 | 4 | -12/+48 |
| | | | | | | | | Refactored explicit chain id checking in to the Sender deriviation method | ||||
* | | Merge pull request #2977 from karalabe/initial-mobile-suport | Felix Lange | 2016-11-15 | 44 | -112/+3278 |
|\ \ | | | | | | | mobile: initial wrappers for mobile support | ||||
| * | | cmd/utils, mobile: place bootnodes in LGPL packages | Péter Szilágyi | 2016-11-15 | 4 | -22/+22 |
| | | | |||||
| * | | mobile: port wrappers to EIP155 and EIP158 fork | Péter Szilágyi | 2016-11-15 | 6 | -48/+58 |
| | | | |||||
| * | | travis, build: cocoapods build fixes and travis caches | Péter Szilágyi | 2016-11-15 | 4 | -3/+18 |
| | | | |||||
| * | | accounts/abi/bind, mobile: review fixes and android tests | Péter Szilágyi | 2016-11-15 | 3 | -8/+215 |
| | | | |||||
| * | | cmd, mobile, node, p2p: surface the discovery V5 bootnodes | Péter Szilágyi | 2016-11-15 | 8 | -68/+101 |
| | | | |||||
| * | | cmd/utils, mobile: update to reprice HF and light client | Péter Szilágyi | 2016-11-14 | 3 | -31/+55 |
| | | | |||||
| * | | build: iOS XCode framework build and upload | Péter Szilágyi | 2016-11-14 | 4 | -25/+140 |
| | | | |||||
| * | | .travis, build: Build step to push .aar to Maven Central | Péter Szilágyi | 2016-11-14 | 6 | -15/+216 |
| | | | |||||
| * | | mobile: initial wrappers for mobile support | Péter Szilágyi | 2016-11-14 | 33 | -33/+2594 |
|/ / | |||||
* | | Merge pull request #3253 from zsfelfoldi/light-topic3 | Felix Lange | 2016-11-14 | 13 | -100/+148 |
|\ \ | |/ |/| | Light client bugfixes and updates | ||||
| * | core/types: turn off nonce checking for Call messages | Zsolt Felfoldi | 2016-11-14 | 6 | -22/+25 |
| | | |||||
| * | light: updated CHTs for mainnet and testnet | Zsolt Felfoldi | 2016-11-14 | 1 | -4/+4 |
| | | |||||
| * | p2p/discv5: added new bootnodes | Zsolt Felfoldi | 2016-11-14 | 1 | -1/+2 |
| | | |||||
| * | p2p/discv5: fixed bootnode connect issues | Zsolt Felfoldi | 2016-11-14 | 5 | -69/+110 |
| | | |||||
| * | les/flowcontrol: fixed locking scheme | Zsolt Felfoldi | 2016-11-14 | 1 | -4/+7 |
|/ | |||||
* | Merge pull request #3179 from obscuren/eip-158 | Felix Lange | 2016-11-14 | 961 | -58765/+141709 |
|\ | | | | | EIP158 & 160 Hardfork | ||||
| * | core/vm/runtime: fixed go vet | Jeffrey Wilcke | 2016-11-14 | 1 | -1/+9 |
| | | |||||
| * | core, params: EIP#170 | Jeffrey Wilcke | 2016-11-14 | 2 | -6/+6 |
| | | |||||
| * | tests: updated | Jeffrey Wilcke | 2016-11-14 | 156 | -56657/+55468 |
| | | |||||
| * | cmd/utils: set temporary HF number | Jeffrey Wilcke | 2016-11-13 | 2 | -13/+31 |
| | | |||||
| * | core/types, params: EIP#155 | Jeffrey Wilcke | 2016-11-13 | 46 | -464/+1068 |
| | | |||||
| * | tests: added new EIP158 tests | Jeffrey Wilcke | 2016-11-13 | 731 | -1158/+84508 |
| | | |||||
| * | core/vm, params: EIP160: EXP reprice | Jeffrey Wilcke | 2016-11-13 | 2 | -9/+6 |
| | | |||||
| * | core, core/state, trie: EIP158, reprice & skip empty account write | Jeffrey Wilcke | 2016-11-13 | 74 | -561/+717 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org> | ||||
* | | les: cleaned up logging (#3256) | Jeffrey Wilcke | 2016-11-13 | 2 | -24/+29 |
|/ | |||||
* | Merge pull request #3248 from zsfelfoldi/light-topic3 | Felix Lange | 2016-11-11 | 2 | -2/+8 |
|\ | | | | | Topic discovery bugfix | ||||
| * | les: add missing nil check and handle quit in findServers | Zsolt Felfoldi | 2016-11-11 | 1 | -2/+5 |
| | | |||||
| * | discv5: fixed state machine lockup bug | Zsolt Felfoldi | 2016-11-11 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #3247 from fjl/bzzd | Felix Lange | 2016-11-11 | 11 | -117/+492 |
|\ \ | |/ |/| | cmd: add swarm command line tools | ||||
| * | cmd/bzzhash: add swarm hashing tool | Felix Lange | 2016-11-11 | 1 | -0/+49 |
| | | |||||
| * | cmd/bzzup: add swarm upload tool | Felix Lange | 2016-11-11 | 1 | -0/+161 |
| | | |||||
| * | cmd/bzzd: add swarm server daemon | Felix Lange | 2016-11-11 | 1 | -0/+246 |
| | | |||||
| * | swarm/api/http: reject requests without content-length | Felix Lange | 2016-11-11 | 1 | -1/+5 |
| | | |||||
| * | swarm/network: skip TestSyncDb | Felix Lange | 2016-11-11 | 1 | -0/+2 |
| | | |||||
| * | swarm/api: add bzz prefix to swarm directory | Felix Lange | 2016-11-11 | 2 | -12/+7 |
| | | |||||
| * | node: add InstanceDir method | Felix Lange | 2016-11-11 | 2 | -2/+15 |
| | | |||||
| * | accounts: add Find method | Felix Lange | 2016-11-11 | 1 | -1/+7 |
| | | |||||
| * | cmd/v5test: delete the v5test tool | Felix Lange | 2016-11-11 | 1 | -101/+0 |
|/ | |||||
* | cmd/geth: improve command help messages (#3227) | Kenji Siu | 2016-11-10 | 5 | -87/+132 |
| | |||||
* | Merge pull request #3244 from karalabe/reinstate-cache | Péter Szilágyi | 2016-11-10 | 1 | -0/+1 |
|\ | | | | | cmd/geth: reinstate dropped --cache flag | ||||
| * | cmd/geth: reinstate dropped --cache flag | Péter Szilágyi | 2016-11-10 | 1 | -0/+1 |
|/ | |||||
* | cmd/geth: use a loop in TestDAOForkBlockNewChain (#3222) | xiekeyang | 2016-11-09 | 1 | -84/+68 |
| | |||||
* | Merge pull request #3232 from zsfelfoldi/light-topic3 | Felix Lange | 2016-11-09 | 112 | -278/+16197 |
|\ | |||||
| * | les: print 'experimental feature' warning on startup | Felix Lange | 2016-11-09 | 1 | -0/+3 |
| | | |||||
| * | all: update license information | Felix Lange | 2016-11-09 | 59 | -61/+251 |
| | | |||||
| * | core/types: remove header accessors | Felix Lange | 2016-11-09 | 12 | -35/+26 |
| | | | | | | | | | | | | These accessors were introduced by light client changes, but the only method that is actually used is GetNumberU64. This commit replaces all uses of .GetNumberU64 with .Number.Uint64. | ||||
| * | p2p/discv5: fix build with Go 1.5, delete package testimg | Felix Lange | 2016-11-09 | 5 | -879/+18 |
| | | |||||
| * | p2p/discv5: added new topic discovery package | Zsolt Felfoldi | 2016-11-09 | 39 | -49/+8096 |
| | | |||||
| * | cmd, eth: added light client and light server modes | zsfelfoldi | 2016-11-09 | 17 | -94/+298 |
| | | |||||
| * | les: light client protocol and API | Zsolt Felfoldi | 2016-11-09 | 41 | -33/+5860 |
| | | |||||
| * | light: light chain, VM env and tx pool | Zsolt Felfoldi | 2016-11-09 | 15 | -124/+2642 |
|/ | |||||
* | build: fix remote path for archive uploads (#3243) | Felix Lange | 2016-11-09 | 2 | -2/+8 |
| | | | | archiveUpload did not handle absolute paths correctly. Fix it by using the basename and ensure that uploads can be tested using -n. | ||||
* | build: NSIS based Windows installer (#3240) | Péter Szilágyi | 2016-11-09 | 9 | -9/+632 |
| | | | | This commit adds support for creating Windows installers to ci.go | ||||
* | Merge pull request #3241 from karalabe/fix-pgp-signer | Péter Szilágyi | 2016-11-08 | 1 | -1/+1 |
|\ | | | | | internal/build: call correct signer method | ||||
| * | internal/build: call correct signer method | Péter Szilágyi | 2016-11-08 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #3239 from karalabe/fix-windows-separators | Péter Szilágyi | 2016-11-07 | 1 | -1/+1 |
|\ | | | | | build: fix missing .exe executable names on cross builds | ||||
| * | build: fix missing .exe executable names on cross builds | Péter Szilágyi | 2016-11-07 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #3231 from fjl/liner-update | Péter Szilágyi | 2016-11-07 | 9 | -79/+132 |
|\ \ | |/ |/| | console, vendor: update liner and enable multiline mode | ||||
| * | console: enable multiline mode | Felix Lange | 2016-11-04 | 1 | -1/+1 |
| | | |||||
| * | vendor: update github.com/peterh/liner | Felix Lange | 2016-11-04 | 8 | -78/+131 |
| | | |||||
* | | Merge pull request #3238 from karalabe/appveyor-azure-push | Péter Szilágyi | 2016-11-07 | 1 | -17/+23 |
|\ \ | | | | | | | appveyor: build 386 too, upload both to the gethstore | ||||
| * | | appveyor: build 386 too, upload both to the gethstore | Péter Szilágyi | 2016-11-07 | 1 | -17/+23 |
|/ / | |||||
* | | travis: build to all supported linux architectures (#3235) | Péter Szilágyi | 2016-11-04 | 2 | -1/+26 |
| | | |||||
* | | accounts/abi: differentiate between static and dynamic arrays (#3121) | RJ | 2016-11-04 | 4 | -26/+64 |
|/ | | | | | solves #3119 Signed-off-by: VoR0220 <rj@erisindustries.com> | ||||
* | build, internal/build: misc improvements (#3229) | Felix Lange | 2016-11-03 | 6 | -24/+33 |
| | | | | | | | | | | | | | * travis.yml: don't create darwin/386 builds * build: remove godep remains * internal/build: improve archives - enable compression for zip files - don't write half-complete archives * build: add -unstable to archive names | ||||
* | Merge pull request #3226 from karalabe/azure-gethstore | Felix Lange | 2016-11-03 | 60 | -44/+11437 |
|\ | | | | | travis, build: implement uploading archives to azure | ||||
| * | travis, build: enable 386 builds too for linux and osx | Péter Szilágyi | 2016-11-03 | 2 | -14/+61 |
| | | |||||
| * | vendor: pull in azure sdk and openpgp signer | Péter Szilágyi | 2016-11-03 | 56 | -25/+11204 |
| | | |||||
| * | travis, build: implement uploading archives to azure | Péter Szilágyi | 2016-11-03 | 4 | -13/+180 |
| | | |||||
* | | Merge pull request #3225 from kenji-isuntv/develop | Péter Szilágyi | 2016-11-03 | 1 | -1/+1 |
|\ \ | |/ |/| | common/math: go fmt | ||||
| * | common/math: go fmt | Kenji Siu | 2016-11-02 | 1 | -1/+1 |
|/ | |||||
* | common/math, core/vm: implement fast EXP (#3214) | Jeffrey Wilcke | 2016-11-02 | 2 | -2/+31 |
| | | | | | | | * common/math, core/vm: implement fast EXP. Courtesy @chfast & @karalabe * common/math: fix go vet issues on exp calculation | ||||
* | core: metrics collection for transaction events (#3157) | Martin Holst Swende | 2016-11-01 | 2 | -0/+39 |
| | | | | | | | | | | | | | | | | * core: Add metrics collection for transaction events; replace/discard for pending and future queues, as well as invalid transactions * core: change namespace for txpool metrics * core: define more metrics (not yet used) * core: implement more tx metrics for when transactions are dropped * core: minor formatting tweeks (will squash later) * core: remove superfluous meter, fix missing pending nofunds * core, metrics: switch txpool meters to counters | ||||
* | Merge pull request #3216 from karalabe/fastsync-bigdb-tuning | Péter Szilágyi | 2016-11-01 | 7 | -195/+273 |
|\ | | | | | core/state, eth/downloader, trie: reset fast-failure on progress | ||||
| * | eth/downloader: clear pending requests when switching trie root | Péter Szilágyi | 2016-11-01 | 1 | -9/+18 |
| | | |||||
| * | eth/downloader: lower a state sync log level (users freak out) | Péter Szilágyi | 2016-11-01 | 1 | -1/+1 |
| | | |||||
| * | eth/downloader: reduce fast sync block requirements, fix test | Péter Szilágyi | 2016-10-31 | 2 | -13/+28 |
| | | |||||
| * | core/state, eth/downloader, trie: reset fast-failure on progress | Péter Szilágyi | 2016-10-31 | 7 | -179/+233 |
| | | |||||
* | | Merge pull request #3218 from kenji-isuntv/develop | Péter Szilágyi | 2016-11-01 | 4 | -25/+24 |
|\ \ | | | | | | | internal/debug, internal/ethapi, rpc, swarm/storage: go fmt | ||||
| * | | internal/debug, internal/ethapi, rpc, swarm/storage: Ran "go fmt" | Kenji Siu | 2016-11-01 | 4 | -25/+24 |
|/ / | |||||
* | | Merge pull request #3064 from pirapira/limit_struct_logs | Jeffrey Wilcke | 2016-10-31 | 4 | -4/+16 |
|\ \ | |/ |/| | core/vm: add limit option to LogConfig | ||||
| * | vm, ethapi: add `limit` option to traceTransaction | Yoichi Hirai | 2016-09-30 | 4 | -4/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | that specifies the maximum number of elements in the `structLogs` output. This option is useful for debugging a transaction that involves a large number of repetition. For example, ``` debug.traceTransaction(tx, {disableStorage: true, limit: 2}) ``` shows at most the first two steps in the `structLogs`. | ||||
* | | Merge pull request #3215 from fjl/weird-files | Péter Szilágyi | 2016-10-30 | 15 | -109/+0 |
|\ \ | | | | | | | all: remove weird files | ||||
| * | | all: remove weird files | Felix Lange | 2016-10-30 | 15 | -109/+0 |
|/ / | |||||
* | | Merge pull request #3195 from karalabe/fix-testnet-fastsync | Péter Szilágyi | 2016-10-29 | 5 | -31/+68 |
|\ \ | | | | | | | cmd/utils, core, params: explicitly pick reprice fork for fast sync | ||||
| * | | cmd, params: only set default fork configs for test and mainnet | Péter Szilágyi | 2016-10-29 | 4 | -31/+43 |
| | | | |||||
| * | | cmd/utils, core, params: explicitly pick reprice fork for fast sync | Péter Szilágyi | 2016-10-29 | 4 | -7/+32 |
| | | | |||||
* | | | whisper: project restructured, version 5 introduced (#3022) | gluk256 | 2016-10-29 | 32 | -16/+4449 |
|/ / | | | | | | | | | | | | | whisper: project restructured, version 5 introduced This commits adds a draft version of the new shh v5 protocol. The new version is not on by default, --shh still selects version 2. | ||||
* | | cmd/evm: Allow stdin and files as sources of bytecode (#3172) | Nick Johnson | 2016-10-29 | 1 | -4/+32 |
| | | | | | | | | | | | | | | | | * cmd/evm: Allow stdin and files as sources of bytecode * cmd/evm: Print and exit instead of panicing * cmd/evm: fix compile and vet errors | ||||
* | | internal/ethapi: add personal_sign and fix eth_sign to hash message (#2940) | bas-vk | 2016-10-29 | 13 | -34/+220 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes several API changes: - The behavior of eth_sign is changed. It now accepts an arbitrary message, prepends the well-known string \x19Ethereum Signed Message:\n<length of message> hashes the result using keccak256 and calculates the signature of the hash. This breaks backwards compatability! - personal_sign(hash, address [, password]) is added. It has the same semantics as eth_sign but also accepts a password. The private key used to sign the hash is temporarily unlocked in the scope of the request. - personal_recover(message, signature) is added and returns the address for the account that created a signature. | ||||
* | | Godeps, vendor: convert dependency management to trash (#3198) | Péter Szilágyi | 2016-10-29 | 1022 | -233760/+224098 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit converts the dependency management from Godeps to the vendor folder, also switching the tool from godep to trash. Since the upstream tool lacks a few features proposed via a few PRs, until those PRs are merged in (if), use github.com/karalabe/trash. You can update dependencies via trash --update. All dependencies have been updated to their latest version. Parts of the build system are reworked to drop old notions of Godeps and invocation of the go vet command so that it doesn't run against the vendor folder, as that will just blow up during vetting. The conversion drops OpenCL (and hence GPU mining support) from ethash and our codebase. The short reasoning is that there's noone to maintain and having opencl libs in our deps messes up builds as go install ./... tries to build them, failing with unsatisfied link errors for the C OpenCL deps. golang.org/x/net/context is not vendored in. We expect it to be fetched by the user (i.e. using go get). To keep ci.go builds reproducible the package is "vendored" in build/_vendor. | ||||
* | | ethclient: changed TransactionByHash to only pass one argument to api method ↵ | Steven Roose | 2016-10-28 | 1 | -1/+1 |
| | | | | | | | | | | (#3209) Fixes #3203 | ||||
* | | Merge pull request #3189 from fjl/leveldb-update | Péter Szilágyi | 2016-10-22 | 30 | -506/+846 |
|\ \ | | | | | | | Update goleveldb, add debug.chaindbCompact | ||||
| * | | Godeps: update github.com/syndtr/goleveldb to 6b4daa5362 | Felix Lange | 2016-10-20 | 28 | -506/+823 |
| | | | |||||
| * | | internal/ethapi: add debug.chaindbCompact | Felix Lange | 2016-10-20 | 2 | -0/+23 |
| | | | |||||
* | | | core/vm: Ignore EnableJit ChainConfig setting (#3166) | Hao Bryan Cheng | 2016-10-21 | 1 | -1/+3 |
| | | | |||||
* | | | trie: while fast syncing, don't keep trie nodes in memory (#3186) | Péter Szilágyi | 2016-10-21 | 1 | -19/+13 |
| | | | |||||
* | | | Merge pull request #3185 from karalabe/fix-log-race | Péter Szilágyi | 2016-10-21 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | eth/downloader: fix a data race in a log output | ||||
| * | | | eth/downloader: fix a data race in a log output | Péter Szilágyi | 2016-10-21 | 1 | -1/+2 |
|/ / / | |||||
* | | | Merge pull request #3184 from karalabe/import-gas-use | Péter Szilágyi | 2016-10-21 | 4 | -26/+66 |
|\ \ \ | |/ / |/| | | cmd/geth, code, eth/downloader: tune import logs and mem stats | ||||
| * | | cmd/geth, code, eth/downloader: tune import logs and mem stats | Péter Szilágyi | 2016-10-21 | 4 | -26/+66 |
|/ / | |||||
* | | Merge pull request #3176 from karalabe/trie-stats-report | Péter Szilágyi | 2016-10-19 | 3 | -1/+11 |
|\ \ | | | | | | | cmd/geth, trie: report on trie cache unloads, also add debug log | ||||
| * | | cmd/geth, trie: report on trie cache unloads, also add debug log | Péter Szilágyi | 2016-10-19 | 3 | -1/+11 |
|/ / | |||||
* | | trie: add metric to track cache unloading (#3175) | Felix Lange | 2016-10-19 | 2 | -1/+5 |
| | | |||||
* | | Merge pull request #3173 from karalabe/parametrized-trie-cache-get | Péter Szilágyi | 2016-10-19 | 5 | -12/+29 |
|\ \ | | | | | | | cmd, core/state: allow configurable trie cache generations | ||||
| * | | cmd, core/state: allow configurable trie cache generations | Péter Szilágyi | 2016-10-19 | 5 | -12/+29 |
| | | | |||||
* | | | trie: make the cache miss counter a real metric | Felix Lange | 2016-10-19 | 1 | -7/+5 |
|/ / | |||||
* | | Merge pull request #3168 from benjaminbrent/develop | Jeffrey Wilcke | 2016-10-19 | 1 | -1/+1 |
|\ \ | | | | | | | core/vm: fix GASPRICE string (resolves #2553) | ||||
| * | | core/vm: fix GASPRICE string (resolves #2553) | Benjamin Brent | 2016-10-19 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #3153 from fjl/trie-unload-fix | Jeffrey Wilcke | 2016-10-19 | 7 | -70/+130 |
|\ \ \ | | | | | | | | | trie: improve cache unloading mechanism | ||||
| * | | | trie: ensure dirty flag is unset for embedded child nodes | Felix Lange | 2016-10-18 | 2 | -32/+42 |
| | | | | | | | | | | | | | | | | This was caught by the new invariant check. | ||||
| * | | | core/state: bump trie cache values slightly | Felix Lange | 2016-10-18 | 1 | -4/+4 |
| | | | | |||||
| * | | | trie: ensure resolved nodes stay loaded | Felix Lange | 2016-10-18 | 6 | -43/+95 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 40cdcf1183 broke the optimisation which kept nodes resolved during Get in the trie. The decoder assigned cache generation 0 unconditionally, causing resolved nodes to get flushed on Commit. This commit fixes it and adds two tests. | ||||
| * | | | trie: avoid loading the root node twice | Felix Lange | 2016-10-18 | 1 | -6/+4 |
| | | | | | | | | | | | | | | | | | | | | New checks whether the root node is present by loading it from the database. Keep the node around instead of discarding it. | ||||
* | | | | Merge pull request #3161 from karalabe/trie-cache-counters | Péter Szilágyi | 2016-10-19 | 2 | -4/+28 |
|\ \ \ \ | |_|/ / |/| | | | cmd/geth, trie: track and report trie cache misses | ||||
| * | | | cmd/geth, trie: track and report trie cache misses | Péter Szilágyi | 2016-10-19 | 2 | -4/+28 |
|/ / / | |||||
* | | | miner: copy pending state before handing it to callers (#3162) | Nick Johnson | 2016-10-19 | 1 | -1/+1 |
| | | | | | | | | | The pending state was not copied while not mining, leading to a data race. | ||||
* | | | Merge pull request #3156 from holiman/metrics-blocks | Jeffrey Wilcke | 2016-10-18 | 1 | -0/+2 |
|\ \ \ | | | | | | | | | core: Add block processing time metric collection | ||||
| * | | | core: Add block processing time metric collection | Martin Holst Swende | 2016-10-18 | 1 | -0/+2 |
| | | | |