Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd/geth: export metrics to InfluxDB (#16979) | Anton Evangelatov | 2018-07-02 | 4 | -11/+93 |
| | | | | | | | | * cmd/geth: add flags for metrics export * cmd/geth: update usage fields for metrics flags * metrics/influxdb: update reporter logger to adhere to geth logging convention | ||||
* | vendor: update docker/docker/pkg/reexec so that it compiles on OpenBSD (#17084) | Fabian Raetz | 2018-07-02 | 6 | -16/+18 |
| | |||||
* | Merge pull request #17092 from pilu/master | Péter Szilágyi | 2018-07-02 | 1 | -6/+6 |
|\ | | | | | remove formatting from ResettingTimer metrics if requested in raw format | ||||
| * | node: remove formatting from ResettingTimer metrics if requested in raw | Andrea Franz | 2018-06-27 | 1 | -6/+6 |
| | | |||||
* | | ethdb, core: implement delete for db batch (#17101) | gary rong | 2018-07-02 | 6 | -14/+51 |
| | | |||||
* | | ethstats: comment minor correction (#17102) | kevin.xu | 2018-06-29 | 1 | -1/+1 |
|/ | | | spell correction from `repors` to `reports` | ||||
* | Merge pull request #17087 from OpenCommunityCoin/build/portable-shell | Péter Szilágyi | 2018-06-27 | 1 | -11/+11 |
|\ | | | | | build: make build/goimports.sh more potable | ||||
| * | build: make build/goimports.sh more potable | hackyminer | 2018-06-26 | 1 | -11/+11 |
| | | |||||
* | | core/vm: clear linter warnings (#17057) | Guillaume Ballet | 2018-06-26 | 9 | -30/+51 |
|/ | | | | | | | | * core/vm: clear linter warnings * core/vm: review input * core/vm.go: revert lint in noop as per request | ||||
* | whisper: Reduce message loop log from Warn to Info (#17055) | Adrià Cidre | 2018-06-26 | 2 | -2/+2 |
| | |||||
* | swarm/pss: Hide big network tests under longrunning flag (#17074) | lash | 2018-06-25 | 1 | -0/+14 |
| | |||||
* | swarm/fuse: Disable fuse tests, they are flaky (#17072) | Balint Gabor | 2018-06-25 | 1 | -0/+1 |
| | |||||
* | Merge pull request #17054 from chfast/log-time-format | Péter Szilágyi | 2018-06-25 | 1 | -1/+1 |
|\ | | | | | log: Change time format | ||||
| * | log: Change time format | Paweł Bylica | 2018-06-25 | 1 | -1/+1 |
| | | | | | | | | | | - Keep the tailing zeros. - Limit precision to milliseconds. | ||||
* | | les: handle conn/disc/reg logic in the eventloop (#16981) | gary rong | 2018-06-25 | 1 | -74/+135 |
| | | | | | | | | | | | | | | | | | | | | * les: handle conn/disc/reg logic in the eventloop * les: try to dial before start eventloop * les: handle disconnect logic more safely * les: grammar fix | ||||
* | | Merge pull request #17041 from ethersphere/swarm-network-rewrite-merge | Viktor Trón | 2018-06-22 | 201 | -9705/+39389 |
|\ \ | |/ |/| | Swarm POC3 - happy solstice | ||||
| * | swarm: network rewrite merge | ethersphere | 2018-06-22 | 201 | -9705/+39389 |
| | | |||||
* | | trie: cache collapsed tries node, not rlp blobs (#16876) | Péter Szilágyi | 2018-06-21 | 8 | -75/+268 |
| | | | | | | | | | | | | | | | | | | | | | | | | The current trie memory database/cache that we do pruning on stores trie nodes as binary rlp encoded blobs, and also stores the node relationships/references for GC purposes. However, most of the trie nodes (everything apart from a value node) is in essence just a collection of references. This PR switches out the RLP encoded trie blobs with the collapsed-but-not-serialized trie nodes. This permits most of the references to be recovered from within the node data structure, avoiding the need to track them a second time (expensive memory wise). | ||||
* | | cmd/geth: remove the tail "," from genesis config (#17028) | nobody | 2018-06-21 | 1 | -1/+1 |
| | | | | | | remove the tail "," from genesis config, which will cause genesis config parse error . | ||||
* | | mobile: correct comment typo in ethereum.go (#17040) | Husam Ibrahim | 2018-06-21 | 1 | -2/+2 |
| | | |||||
* | | accounts: remove deadcode isSigned (#16990) | Wenbiao Zheng | 2018-06-20 | 2 | -26/+0 |
| | | |||||
* | | Merge pull request #16954 from holiman/more_tracers | Péter Szilágyi | 2018-06-20 | 5 | -3/+214 |
|\ \ | | | | | | | eth/tracers: fix err in 4byte, add some opcode analysis tools | ||||
| * | | tracers: fix err in 4byte, add some opcode analysis tools | Martin Holst Swende | 2018-06-20 | 5 | -3/+214 |
| | | | |||||
* | | | travis: use NDK 17b for Android archives (#17029) | ligi | 2018-06-20 | 1 | -4/+4 |
|/ / | |||||
* | | signer: remove useless errorWrapper (#17003) | Wenbiao Zheng | 2018-06-19 | 1 | -9/+0 |
| | | |||||
* | | accounts/usbwallet: correct comment typo (#16998) | Husam Ibrahim | 2018-06-19 | 1 | -1/+1 |
| | | |||||
* | | core: remove dead code, limit test code scope (#17006) | Wenbiao Zheng | 2018-06-19 | 4 | -48/+34 |
| | | | | | | | | | | | | * core: move test util var/func to test file * core: remove useless func | ||||
* | | accounts/usbwallet: correct comment typo (#17008) | Husam Ibrahim | 2018-06-19 | 1 | -1/+1 |
| | | |||||
* | | mobile: correct comment typo in geth.go (#17021) | Husam Ibrahim | 2018-06-19 | 1 | -1/+1 |
|/ | |||||
* | cmd: remove faucet/puppeth dead code (#16991) | Wenbiao Zheng | 2018-06-15 | 2 | -66/+0 |
| | | | | | | * cmd/faucet: authGitHub is not used anymore * cmd/puppeth: remove not used code | ||||
* | accounts/keystore: assign schema as const instead of var (#16985) | Wenbiao Zheng | 2018-06-14 | 1 | -1/+1 |
| | |||||
* | internal/debug: use pprof goroutine writer for debug_stacks (#16892) | Ryan Schneider | 2018-06-14 | 1 | -3/+4 |
| | | | | | | | | | | | | * debug: Use pprof goroutine writer in debug.Stacks() to ensure all goroutines are captured. * Up to 64MB limit, previous code only captured first 1MB of goroutines. * internal/debug: simplify stacks handler * fix typo * fix pointer receiver | ||||
* | core/asm: correct comments typo (#16974) | Caesar Chad | 2018-06-14 | 1 | -2/+2 |
| | | | | | | | | * core/asm/compiler: correct comments typo core/asm/compiler: correct comments typo * Correct comments typo | ||||
* | common/number: delete unused package (#16983) | Felix Lange | 2018-06-14 | 2 | -305/+0 |
| | | | | | This package was meant to hold an improved 256 bit integer library, but the effort was abandoned in 2015. AFAIK nothing ever used this package. Time to say goodbye. | ||||
* | bmt: fix package documentation comment (#16909) | kiel barry | 2018-06-14 | 1 | -1/+1 |
| | |||||
* | core: reduce nesting in transaction pool code (#16980) | Wenbiao Zheng | 2018-06-14 | 1 | -5/+3 |
| | |||||
* | eth: conform better to the golint standards (#16783) | williambannas | 2018-06-14 | 7 | -26/+27 |
| | | | | | | * eth: made changes to conform better to the golint standards * eth: fix comment nit | ||||
* | common: all golint warnings removed (#16852) | kiel barry | 2018-06-14 | 6 | -8/+14 |
| | | | | | | * common: all golint warnings removed * common: fixups | ||||
* | Merge pull request #16977 from karalabe/go-1.10.3 | Péter Szilágyi | 2018-06-14 | 2 | -3/+3 |
|\ | | | | | travis, appveyor: update to Go 1.10.3 | ||||
| * | travis, appveyor: update to Go 1.10.3 | Péter Szilágyi | 2018-06-14 | 2 | -3/+3 |
|/ | |||||
* | cmd/utils: fix NetworkId default when -dev is set (#16833) | Jeremy Schlatter | 2018-06-14 | 1 | -0/+3 |
| | | | | | | | | | Prior to this change, when geth was started with `geth -dev -rpc`, it would report a network id of `1` in response to the `net_version` RPC request. But the actual network id it used to verify transactions was `1337`. This change causes geth instead respond with `1337` to the `net_version` RPC when geth is started with `geth -dev -rpc`. | ||||
* | eth/filters: make filterLogs func more readable (#16920) | knarfeh | 2018-06-14 | 1 | -3/+3 |
| | |||||
* | core/vm: optimize MSTORE and SLOAD (#16939) | Martin Holst Swende | 2018-06-14 | 3 | -11/+68 |
| | | | | | | | | | | * vm/test: add tests+benchmarks for mstore * core/vm: less alloc and copying for mstore * core/vm: less allocs in sload * vm: check for errors more correctly | ||||
* | all: library changes for swarm-network-rewrite (#16898) | Elad | 2018-06-14 | 24 | -124/+527 |
| | | | | | | | | | | | | This commit adds all changes needed for the merge of swarm-network-rewrite. The changes: - build: increase linter timeout - contracts/ens: export ensNode - log: add Output method and enable fractional seconds in format - metrics: relax test timeout - p2p: reduced some log levels, updates to simulation packages - rpc: increased maxClientSubscriptionBuffer to 20000 | ||||
* | #15685 made peer_test.go more portable by using random free port instead of ↵ | Armin Braun | 2018-06-14 | 2 | -48/+35 |
| | | | | | | | | | | hardcoded port 30303 (#15687) Improves test portability by resolving 127.0.0.1:0 to get a random free port instead of the hard coded one. Now the test works if you have a running node on the same interface already. Fixes #15685 | ||||
* | console: correct some comments typo (#16971) | Caesar Chad | 2018-06-14 | 1 | -1/+1 |
| | | | console/console: correct some comments typo | ||||
* | core/asm: correct comments typo (#16975) | Caesar Chad | 2018-06-14 | 1 | -1/+1 |
| | | | core/asm/lexer: correct comments typo | ||||
* | eth/fetcher: fix annotation (#16969) | Wenbiao Zheng | 2018-06-13 | 1 | -1/+1 |
| | |||||
* | internal/web3ext: fix method name for enabling mutex profiling (#16964) | Ryan Schneider | 2018-06-13 | 1 | -2/+2 |
| | |||||
* | core: change comment to match code more closely (#16963) | John C. Vernaleo | 2018-06-13 | 1 | -1/+1 |
| | |||||
* | VERSION, params: begin v1.8.12 release cycle | Péter Szilágyi | 2018-06-12 | 2 | -5/+5 |
| | |||||
* | params: release go-ethereum v1.8.11 | Péter Szilágyi | 2018-06-12 | 1 | -4/+4 |
| | |||||
* | les: fix retriever logic (#16776) | Felföldi Zsolt | 2018-06-12 | 1 | -13/+17 |
| | | | | | | | | | | | This PR fixes a retriever logic bug. When a peer had a soft timeout and then a response arrived, it always assumed it was the same peer even though it could have been a later requested one that did not time out at all yet. In this case the logic went to an illegal state and deadlocked, causing a goroutine leak. Fixes #16243 and replaces #16359. Thanks to @riceke for finding the bug in the logic. | ||||
* | core, eth, les: more efficient hash-based header chain retrieval (#16946) | Felföldi Zsolt | 2018-06-12 | 5 | -27/+106 |
| | |||||
* | crypto: replace ToECDSAPub with error-checking func UnmarshalPubkey (#16932) | Felix Lange | 2018-06-12 | 9 | -39/+62 |
| | | | | | | ToECDSAPub was unsafe because it returned a non-nil key with nil X, Y in case of invalid input. This change replaces ToECDSAPub with UnmarshalPubkey across the codebase. | ||||
* | Merge pull request #16958 from karalabe/pending-account-fast | Péter Szilágyi | 2018-06-12 | 1 | -4/+9 |
|\ | | | | | internal/ethapi: reduce pendingTransactions to O(txs+accs) from O(txs*accs) | ||||
| * | internal/ethapi: reduce pendingTransactions to O(txs+accs) from O(txs*accs) | Péter Szilágyi | 2018-06-12 | 1 | -4/+9 |
| | | |||||
* | | Merge pull request #16959 from karalabe/fix-linters | Péter Szilágyi | 2018-06-12 | 1 | -2/+2 |
|\ \ | | | | | | | metrics: fix gofmt linter warnings | ||||
| * | | metrics: fix gofmt linter warnings | Péter Szilágyi | 2018-06-12 | 1 | -2/+2 |
|/ / | |||||
* / | les: pass server pool to protocol manager (#16947) | Felföldi Zsolt | 2018-06-12 | 4 | -4/+5 |
|/ | |||||
* | ethdb: gracefullly handle quit channel (#16794) | gary rong | 2018-06-11 | 1 | -34/+40 |
| | | | | | | * ethdb: gratefullly handle quit channel * ethdb: minor polish | ||||
* | core/rawdb: wrap db key creations (#16914) | Wenbiao Zheng | 2018-06-11 | 4 | -48/+85 |
| | | | | | | | | * core/rawdb: use wrappered helper to assemble key * core/rawdb: wrappered helper to assemble key * core/rawdb: rewrite the wrapper, pass common.Hash | ||||
* | Merge pull request #16945 from karalabe/triedb-spurious-warning | Péter Szilágyi | 2018-06-11 | 1 | -2/+2 |
|\ | | | | | trie: don't report the root flushlist as an alloc | ||||
| * | trie: don't report the root flushlist as an alloc | Péter Szilágyi | 2018-06-11 | 1 | -2/+2 |
| | | |||||
* | | metrics: removed repetitive calculations (#16944) | Clayton Jacobs | 2018-06-11 | 1 | -10/+13 |
|/ | |||||
* | Merge pull request #16942 from karalabe/rpc-nil-reply | Péter Szilágyi | 2018-06-11 | 4 | -31/+7 |
|\ | | | | | rpc: support returning nil pointer big.Ints (null) | ||||
| * | rpc: support returning nil pointer big.Ints (null) | Péter Szilágyi | 2018-06-11 | 4 | -31/+7 |
|/ | |||||
* | rpc: fix a comment typo (#16929) | xincaosu | 2018-06-11 | 1 | -1/+1 |
| | |||||
* | core: improve getBadBlocks to return full block rlp (#16902) | Martin Holst Swende | 2018-06-11 | 3 | -21/+48 |
| | | | | | | | | * core: improve getBadBlocks to return full block rlp * core, eth, ethapi: changes to getBadBlocks formatting * ethapi: address review concerns | ||||
* | ethclient: fix RPC parse error of Parity response (#16924) | Steven Roose | 2018-06-11 | 1 | -6/+12 |
| | | | | | The error produced when using a Parity RPC was the following: ERROR: transaction did not get mined: failed to get tx for txid 0xbdeb094b3278019383c8da148ff1cb5b5dbd61bf8731bc2310ac1b8ed0235226: json: cannot unmarshal non-string into Go struct field txExtraInfo.blockHash of type common.Hash | ||||
* | light: new CHTs for mainnet and ropsten (#16926) | Felföldi Zsolt | 2018-06-11 | 1 | -8/+8 |
| | |||||
* | metrics: return an empty snapshot for NilResettingTimer (#16930) | Anton Evangelatov | 2018-06-11 | 1 | -1/+5 |
| | |||||
* | cmd/ethkey: add command to change key passphrase (#16516) | Steven Roose | 2018-06-08 | 6 | -19/+100 |
| | | | | | | | This change introduces ethkey changepassphrase <keyfile> to change the passphrase of a key file. | ||||
* | trie: avoid unnecessary slicing on shortnode decoding (#16917) | Sarlor | 2018-06-07 | 1 | -4/+3 |
| | | | optimization code | ||||
* | core: relax type requirement for bc in ApplyTransaction (#16901) | ledgerwatch | 2018-06-07 | 1 | -1/+1 |
| | |||||
* | cmd/puppeth: fixed a typo in a wizard input query (#16910) | Bruno Škvorc | 2018-06-06 | 1 | -2/+2 |
| | |||||
* | whisper: re-insert #16757 that has been lost during a merge (#16889) | Guillaume Ballet | 2018-06-05 | 0 | -0/+0 |
| | |||||
* | Merge pull request #16882 from karalabe/streaming-ecrecover | Péter Szilágyi | 2018-06-05 | 3 | -0/+113 |
|\ | | | | | core: concurrent background transaction sender ecrecover | ||||
| * | core: concurrent background transaction sender ecrecover | Péter Szilágyi | 2018-06-05 | 3 | -0/+113 |
| | | |||||
* | | trie: reduce hasher allocations (#16896) | Felix Lange | 2018-06-05 | 1 | -12/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trie: reduce hasher allocations name old time/op new time/op delta Hash-8 4.05µs ±12% 3.56µs ± 9% -12.13% (p=0.000 n=20+19) name old alloc/op new alloc/op delta Hash-8 1.30kB ± 0% 0.66kB ± 0% -49.15% (p=0.000 n=20+20) name old allocs/op new allocs/op delta Hash-8 11.0 ± 0% 8.0 ± 0% -27.27% (p=0.000 n=20+20) * trie: bump initial buffer cap in hasher | ||||
* | | vendor: added vendor packages necessary for the swarm-network-rewrite merge ↵ | Elad | 2018-06-05 | 30 | -623/+29663 |
| | | | | | | | | | | | | | | | | (#16792) * vendor: added vendor packages necessary for the swarm-network-rewrite merge into ethereum master * vendor: removed multihash deps | ||||
* | | params: fix golint warnings (#16853) | kiel barry | 2018-06-05 | 22 | -61/+72 |
| | | | | | | params: fix golint warnings | ||||
* | | cmd/abigen: support for reading solc output from stdin (#16683) | Antonio Salazar Cardozo | 2018-06-05 | 2 | -10/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the --abi flag to be given - to indicate that it should read the ABI information from standard input. It expects to read the solc output with the --combined-json flag providing bin, abi, userdoc, devdoc, and metadata, and works very similarly to the internal invocation of solc, except it allows external invocation of solc. This facilitates integration with more complex solc invocations, such as invocations that require path remapping or --allow-paths tweaks. Simple usage example: solc --combined-json bin,abi,userdoc,devdoc,metadata *.sol | abigen --abi - | ||||
* | | miner: not call commitNewWork if it's a side block (#16751) | Mark | 2018-06-05 | 1 | -10/+0 |
|/ | |||||
* | eth/tracers: fix minor off-by-one error (#16879) | Martin Holst Swende | 2018-06-05 | 2 | -15/+56 |
| | | | | | | * tracing: fix minor off-by-one error * tracers: go generate | ||||
* | les: add Skip overflow check to GetBlockHeadersMsg handler (#16891) | Felföldi Zsolt | 2018-06-05 | 1 | -7/+18 |
| | |||||
* | Merge pull request #16894 from hadv/master | Péter Szilágyi | 2018-06-05 | 1 | -1/+1 |
|\ | | | | | core: fix typo in comment code | ||||
| * | core: fix typo in comment code | hadv | 2018-06-05 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #16800 from rjl493456442/memory_allowance_warining | Péter Szilágyi | 2018-06-04 | 1 | -0/+20 |
|\ | | | | | cmd: cap cache size if exceeds reasonable range | ||||
| * | cmd/geth: cap cache allowance | rjl493456442 | 2018-06-04 | 1 | -0/+20 |
|/ | |||||
* | Merge pull request #16880 from holiman/http_timeouts | Péter Szilágyi | 2018-06-04 | 1 | -1/+6 |
|\ | | | | | rpc: set timeouts for http server, see #16859 | ||||
| * | rpc: set timeouts for http server, see #16859 | Martin Holst Swende | 2018-06-04 | 1 | -1/+6 |
| | | |||||
* | | metrics: expvar support for ResettingTimer (#16878) | Anton Evangelatov | 2018-06-04 | 4 | -1/+154 |
|/ | | | | | | | | * metrics: expvar support for ResettingTimer * metrics: use integers for percentiles; remove Overall * metrics: fix edge-case panic for index-out-of-range | ||||
* | core, eth, trie: streaming GC for the trie cache (#16810) | Péter Szilágyi | 2018-06-04 | 4 | -38/+202 |
| | | | | | | * core, eth, trie: streaming GC for the trie cache * trie: track memcache statistics | ||||
* | consensus/ethash: reduce keccak hash allocations (#16857) | Felix Lange | 2018-06-04 | 1 | -6/+17 |
| | | | | | | | | | | Use Read instead of Sum to avoid internal allocations and copying the state. name old time/op new time/op delta CacheGeneration-8 764ms ± 1% 579ms ± 1% -24.22% (p=0.000 n=20+17) SmallDatasetGeneration-8 75.2ms ±12% 60.6ms ±10% -19.37% (p=0.000 n=20+20) HashimotoLight-8 1.58ms ±11% 1.55ms ± 8% ~ (p=0.322 n=20+19) HashimotoFullSmall-8 4.90µs ± 1% 4.88µs ± 1% -0.31% (p=0.013 n=19+18) | ||||
* | rpc: use HTTP request context as top-level context (#16861) | Ryan Schneider | 2018-06-02 | 1 | -1/+1 |
| | |||||
* | console: squash golint warnings (#16836) | kiel barry | 2018-05-31 | 2 | -2/+4 |
| | |||||
* | ethstats: fix last golint warning (#16837) | kiel barry | 2018-05-30 | 1 | -2/+2 |
| | |||||
* | VERSION, params: begin 1.8.11 release cycle | Péter Szilágyi | 2018-05-30 | 2 | -5/+5 |
| | |||||
* | params: release Geth 1.8.10 hotfix | Péter Szilágyi | 2018-05-30 | 1 | -4/+4 |
| | |||||
* | Merge pull request #16843 from karalabe/txpool-fix-deadlock | Péter Szilágyi | 2018-05-30 | 1 | -1/+1 |
|\ | | | | | core: fix transaction event asynchronicity | ||||
| * | core: fix transaction event asynchronicity | Péter Szilágyi | 2018-05-30 | 1 | -1/+1 |
|/ | |||||
* | trie: rename TrieSync to Sync and improve hexToKeybytes (#16804) | Wenbiao Zheng | 2018-05-29 | 5 | -37/+37 |
| | | | | | | | This removes a golint warning: type name will be used as trie.TrieSync by other packages, and that stutters; consider calling this Sync. In hexToKeybytes len(hex) is even and (even+1)/2 == even/2, remove the +1. | ||||
* | Merge pull request #16831 from abeln/patch-1 | Péter Szilágyi | 2018-05-29 | 1 | -1/+1 |
|\ | | | | | core/vm: fix typo in comment | ||||
| * | core/vm: fix typo in comment | Abel Nieto | 2018-05-29 | 1 | -1/+1 |
| | | |||||
* | | core: improve test for TransactionPriceNonceSort (#16413) | kimmylin | 2018-05-29 | 1 | -22/+7 |
| | | |||||
* | | p2p/discv5: add egress/ingress traffic metrics to discv5 udp transport (#16369) | Dmitry Shulyak | 2018-05-29 | 2 | -1/+12 |
|/ | |||||
* | common: improve documentation comments (#16701) | kiel barry | 2018-05-29 | 9 | -137/+83 |
| | | | | | This commit adds many comments and removes unused code. It also removes the EmptyHash function, which had some uses but was silly. | ||||
* | whisper/shhclient: update call to shh_post to expect string instead of bool ↵ | Andrea Franz | 2018-05-29 | 1 | -3/+3 |
| | | | | | (#16757) Fixes #16756 | ||||
* | eth/fetcher: reuse variables for hash and number (#16819) | Smilenator | 2018-05-29 | 1 | -4/+4 |
| | |||||
* | ethereum: fix a typo in FilterQuery{} (#16827) | Mohanson | 2018-05-29 | 1 | -1/+1 |
| | | | Fix a spelling mistake in comment | ||||
* | VERSION, params: begin 1.8.10 release cycle | Péter Szilágyi | 2018-05-28 | 2 | -5/+5 |
| | |||||
* | params: release go-ethereum v1.8.9 | Péter Szilágyi | 2018-05-28 | 1 | -4/+4 |
| | |||||
* | eth, node, trie: fix minor typos (#16802) | Wenbiao Zheng | 2018-05-24 | 3 | -8/+8 |
| | |||||
* | Merge pull request #16803 from karalabe/trie-avoid-funccall | Péter Szilágyi | 2018-05-24 | 1 | -2/+2 |
|\ | | | | | trie: cleaner logic, one less func call | ||||
| * | trie: cleaner logic, one less func call | Péter Szilágyi | 2018-05-24 | 1 | -2/+2 |
| | | |||||
* | | core: use a wrapped map to remove contention in `TxPool.Get`. (#16670) | Ryan Schneider | 2018-05-23 | 3 | -69/+132 |
| | | | | | | | | | | | | * core: use a wrapped `map` and `sync.RWMutex` for `TxPool.all` to remove contention in `TxPool.Get`. * core: Remove redundant `txLookup.Find` and improve comments on txLookup methods. | ||||
* | | core/vm: fix typo in instructions.go (#16788) | Abel Nieto | 2018-05-23 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #16722 from karalabe/trie-iterator-proofs | Péter Szilágyi | 2018-05-23 | 2 | -48/+150 |
|\ \ | |/ |/| | trie: support proof generation from the iterator | ||||
| * | trie: support proof generation from the iterator | Péter Szilágyi | 2018-05-23 | 2 | -48/+150 |
|/ | |||||
* | core/types: convert status type from uint to uint64 (#16784) | gary rong | 2018-05-23 | 2 | -8/+10 |
| | |||||
* | vendor, ethdb: print warning log if leveldb is performing compaction (#16766) | gary rong | 2018-05-22 | 4 | -5/+90 |
| | | | | | | | | * vendor: update leveldb package * ethdb: print warning log if db is performing compaction * ethdb: update annotation and log | ||||
* | node: all golint warnings fixed (#16773) | kiel barry | 2018-05-22 | 3 | -6/+6 |
| | | | | | | | | * node: all golint warnings fixed * node: rm per peter * node: rm per peter | ||||
* | log: fixes for golint warnings (#16775) | kiel barry | 2018-05-22 | 5 | -19/+20 |
| | |||||
* | trie: fixes to comply with golint (#16771) | kiel barry | 2018-05-22 | 5 | -21/+26 |
| | |||||
* | Merge pull request #16769 from karalabe/async-broadcasts | Péter Szilágyi | 2018-05-21 | 2 | -12/+117 |
|\ | | | | | eth: propagate blocks and transactions async | ||||
| * | eth: propagate blocks and transactions async | Péter Szilágyi | 2018-05-21 | 2 | -12/+117 |
|/ | |||||
* | Merge pull request #16758 from hadv/fix/typos | Péter Szilágyi | 2018-05-20 | 2 | -2/+2 |
|\ | | | | | Fix some typos in comment code and output log | ||||
| * | core, consensus: fix some typos in comment code and output log | hadv | 2018-05-19 | 2 | -2/+2 |
| | | |||||
* | | Merge pull request #16720 from rjl493456442/PreTxsEvent | Péter Szilágyi | 2018-05-20 | 19 | -121/+172 |
|\ \ | | | | | | | all: collate new transaction events together | ||||
| * | | core, eth: minor txpool event cleanups | Péter Szilágyi | 2018-05-18 | 19 | -92/+89 |
| | | | |||||
| * | | all: collate new transaction events together | rjl493456442 | 2018-05-18 | 19 | -111/+165 |
| | | | |||||
* | | | Merge pull request #16753 from karalabe/go-1.10.2 | Péter Szilágyi | 2018-05-18 | 2 | -3/+3 |
|\ \ \ | |/ / |/| | | travis, appveyor: bump Go release to 1.10.2 | ||||
| * | | travis, appveyor: bump Go release to 1.10.2 | Péter Szilágyi | 2018-05-18 | 2 | -3/+3 |
|/ / | |||||
* | | p2p/enr: updates for discovery v4 compatibility (#16679) | Felix Lange | 2018-05-17 | 5 | -154/+277 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This applies spec changes from ethereum/EIPs#1049 and adds support for pluggable identity schemes. Some care has been taken to make the "v4" scheme standalone. It uses public APIs only and could be moved out of package enr at any time. A couple of minor changes were needed to make identity schemes work: - The sequence number is now updated in Set instead of when signing. - Record is now copy-safe, i.e. calling Set on a shallow copy doesn't modify the record it was copied from. | ||||
* | | Merge pull request #16739 from karalabe/android-trusty | Péter Szilágyi | 2018-05-14 | 1 | -1/+1 |
|\ \ | | | | | | | travis: try to upgrade android builder to trusty | ||||
| * | | travis: try to upgrade android builder to trusty | Péter Szilágyi | 2018-05-14 | 1 | -1/+1 |
|/ / | |||||
* | | accounts/abi: allow abi: tags when unpacking structs | Guillaume Ballet | 2018-05-14 | 3 | -35/+194 |
| | | | | | | | | | | | | Go code users can now tag event struct members with `abi:` to specify in what fields the event will be de-serialized. See PR #16648 for details. | ||||
* | | VERSION, params: start 1.8.9 release cycle | Péter Szilágyi | 2018-05-14 | 2 | -5/+5 |
| | | |||||
* | | params: release go-ethereum v1.8.8 | Péter Szilágyi | 2018-05-14 | 1 | -4/+4 |
| | | |||||
* | | light: new CHT for mainnet and ropsten (#16736) | Felföldi Zsolt | 2018-05-14 | 1 | -8/+8 |
|/ | |||||
* | bmt: golint updates for this or self warning (#16628) | kiel barry | 2018-05-10 | 1 | -89/+89 |
| | | | | | | * bmt/*: golint updates for this or self warning * Update bmt.go | ||||
* | travis: use Android NDK 16b (#16562) | ligi | 2018-05-10 | 1 | -4/+4 |
| | |||||
* | event: document select case slice use and add edge case test (#16680) | Felix Lange | 2018-05-10 | 2 | -1/+43 |
| | | | | | | | | | | | Feed keeps active subscription channels in a slice called 'f.sendCases'. The Send method tracks the active cases in a local variable 'cases' whose value is f.sendCases initially. 'cases' shrinks to a shorter prefix of f.sendCases every time a send succeeds, moving the successful case out of range of the active case list. This can be confusing because the two slices share a backing array. Add more comments to document what is going on. Also add a test for removing a case that is in 'f.sentCases' but not 'cases'. | ||||
* | all: get rid of error when creating memory database (#16716) | gary rong | 2018-05-09 | 48 | -230/+172 |
| | | | | | | | | * all: get rid of error when create mdb * core: clean up variables definition * all: inline mdb definition | ||||
* | whisper/shhclient: update call to shh_generateSymKeyFromPassword to pass a ↵ | Andrea Franz | 2018-05-09 | 1 | -2/+2 |
| | | | | string (#16668) | ||||
* | eth/filter: check nil pointer when unsubscribe (#16682) | gary rong | 2018-05-09 | 2 | -41/+64 |
| | | | | | | | | | | * eth/filter: check nil pointer when unsubscribe * eth/filters, accounts, rpc: abort system if subscribe failed * eth/filter: add crit log before exit * eth/filter, event: minor fixes | ||||
* | eth: golint fixes to variable names (#16711) | kiel barry | 2018-05-09 | 4 | -42/+42 |
| | |||||
* | cmd: various golint fixes (#16700) | kiel barry | 2018-05-09 | 5 | -24/+28 |
| | | | | | | | | * cmd: various golint fixes * cmd: update to pr change request * cmd: update to pr change request | ||||
* | p2p: don't discard reason set by Disconnect (#16559) | Guilherme Salgado | 2018-05-09 | 1 | -0/+1 |
| | | | | Peer.run was discarding the reason for disconnection sent to the disc channel by Disconnect. | ||||
* | crypto: fix golint warnings (#16710) | kiel barry | 2018-05-09 | 5 | -13/+13 |
| | |||||
* | build: specify the key to use when invoking gpg:sign-and-deploy-file (#16696) | ligi | 2018-05-09 | 2 | -8/+25 |
| | |||||
* | p2p/simulations/adapters: fix websocket log line parsing in exec adapter ↵ | Ivan Daniluk | 2018-05-08 | 3 | -23/+75 |
| | | | | (#16667) | ||||
* | eth/filters: derive FilterCriteria from ethereum.FilterQuery (#16629) | Domino Valdano | 2018-05-08 | 1 | -8/+2 |
| | |||||
* | p2p: fix some golint warnings (#16577) | kiel barry | 2018-05-08 | 13 | -291/+292 |
| | |||||
* | rlp: fix some golint warnings (#16659) | kiel barry | 2018-05-08 | 2 | -37/+27 |
| | |||||
* | core/rawdb: separate raw database access to own package (#16666) | Péter Szilágyi | 2018-05-07 | 52 | -1296/+1289 |
| | |||||
* | mobile: add GetStatus Method for Receipt (#16598) | Erichin | 2018-05-07 | 1 | -0/+1 |
| | |||||
* | common: changed if-else blocks to conform with golint (#16656) | GagziW | 2018-05-07 | 1 | -8/+6 |
| | |||||
* | whisper/mailserver: pass init error to the caller (#16671) | Ivan Daniluk | 2018-05-04 | 3 | -9/+14 |
| | | | | | | | | * whisper/mailserver: pass init error to the caller * whisper/mailserver: add returns to fmt.Errorf * whisper/mailserver: check err in mailserver init test | ||||
* | signer: fix golint errors (#16653) | Eli | 2018-05-04 | 8 | -79/+78 |
| | | | | | | | | | | | | | | * signer/*: golint fixes Specifically naming and comment formatting for documentation * signer/*: fixed naming error crashing build * signer/*: corrected error * signer/core: fix tiny error whitespace * signer/rules: fix test refactor | ||||
* | eth: golint updates for this or self warning (#16632) | kiel barry | 2018-05-03 | 2 | -20/+20 |
| | | | | | | * eth/*:golint updates for this or self warning * eth/*: golint updates for this or self warning, pr updated per feedback | ||||
* | event: golint updates for this or self warning (#16631) | kiel barry | 2018-05-03 | 1 | -19/+19 |
| | | | | | | * event/*: golint updates for this or self warning * event/*: golint updates for this or self warning, pr updated per feedback | ||||
* | consensus/ethash: fixed typo (#16665) | YH-Zhou | 2018-05-03 | 1 | -1/+1 |
| | |||||
* | metrics: golint updates for this or self warning (#16635) | kiel barry | 2018-05-03 | 2 | -25/+25 |
| | | | | | | * metrics/*: golint updates for this or self warning * metrics/*: golint updates for this or self warning, updated pr from feedback | ||||
* | rpc: golint error with context as last parameter (#16657) | kiel barry | 2018-05-03 | 3 | -6/+6 |
| | | | | | | * rpc/*: golint error with context as last parameter * Update json.go | ||||
* | accounts: changed if-else blocks to conform with golint (#16654) | GagziW | 2018-05-03 | 2 | -4/+2 |
| | |||||
* | les: changed if-else blocks to conform with golint (#16658) | GagziW | 2018-05-03 | 4 | -19/+13 |
| | |||||
* | p2p: changed if-else blocks to conform with golint (#16660) | GagziW | 2018-05-03 | 2 | -17/+15 |
| | |||||
* | log: changed if-else blocks to conform with golint (#16661) | GagziW | 2018-05-03 | 1 | -8/+6 |
| | |||||
* | VERSION, params: begin v1.8.8 release cycle | Péter Szilágyi | 2018-05-02 | 2 | -5/+5 |
| | |||||
* | params: release geth 1.8.7 | Péter Szilágyi | 2018-05-02 | 1 | -4/+4 |
| | |||||
* | cmd/clef: documentation about setup (#16568) | Martin Holst Swende | 2018-05-02 | 9 | -1/+251 |
| | | | clef: documentation about setup | ||||
* | Merge pull request #16644 from ligi/reduce_aar_size | Péter Szilágyi | 2018-05-02 | 1 | -2/+2 |
|\ | | | | | build: Add ldflags "-s -w" when building aar | ||||
| * | build: Add ldflags -s -w when building aar | ligi | 2018-05-02 | 1 | -2/+2 |
| | | | | | | | | | | Smaller size on mobile is always good. Might also solve our maven central upload problem | ||||
* | | Merge pull request #16569 from holiman/evm_blocknum | Péter Szilágyi | 2018-05-02 | 1 | -7/+10 |
|\ \ | | | | | | | cmd/evm: use block number from genesis | ||||
| * | | evm/main: use blocknumber from genesis | Martin Holst Swende | 2018-05-02 | 1 | -7/+10 |
| | | | |||||
* | | | Merge pull request #16576 from CrispinFlowerday/bugfix/local_underpriced_txs | Péter Szilágyi | 2018-05-02 | 2 | -10/+14 |
|\ \ \ | | | | | | | | | core: ensure local transactions aren't discarded as underpriced | ||||
| * | | | core: ensure local transactions aren't discarded as underpriced | Crispin Flowerday | 2018-05-02 | 2 | -10/+14 |
| | |/ | |/| | | | | | | | | | | This fixes an issue where local transactions are discarded as underpriced when the pool and queue are full. | ||||
* | | | core: golint updates for this or self warning (#16633) | kiel barry | 2018-05-02 | 4 | -18/+18 |
| | | | |||||
* | | | internal: golint updates for this or self warning (#16634) | kiel barry | 2018-05-02 | 1 | -27/+27 |
| | | | |||||
* | | | trie: golint iterator fixes (#16639) | Eli | 2018-05-02 | 1 | -7/+7 |
| | | | |||||
* | | | tests: golint fixes for tests directory (#16640) | Eli | 2018-05-02 | 4 | -10/+8 |
| | | | |||||
* | | | accounts: golint updates for this or self warning (#16627) | kiel barry | 2018-05-02 | 1 | -4/+4 |
|/ / | |||||
* | | Merge pull request #16630 from tstranex/master | Péter Szilágyi | 2018-05-02 | 3 | -29/+33 |
|\ \ | | | | | | | vendor: Fix index out of range panic when size is bigger than 1 TiB | ||||
| * | | vendor: fix leveldb crash when bigger than 1 TiB | timothy | 2018-05-02 | 3 | -29/+33 |
| | | | |||||
* | | | Merge pull request #16636 from reductionista/travis | Péter Szilágyi | 2018-05-02 | 1 | -1/+0 |
|\ \ \ | |/ / |/| | | travis.yml: remove obsolete brew-cask install | ||||
| * | | travis.yml: remove obsolete brew-cask install | Domino Valdano | 2018-05-02 | 1 | -1/+0 |
| | | | |||||
* | | | whisper: Golint fixes in whisper packages (#16637) | Eli | 2018-05-02 | 8 | -78/+74 |
|/ / | |||||
* | | Merge pull request #16588 from karalabe/tracer-dirty-fix | Péter Szilágyi | 2018-04-27 | 3 | -23/+8 |
|\ \ | | | | | | | core, eth: fix tracer dirty finalization | ||||
| * | | core, eth: fix tracer dirty finalization | Péter Szilágyi | 2018-04-27 | 3 | -23/+8 |
|/ / | |||||
* | | trie: remove unused `buf` parameter (#16583) | xincaosu | 2018-04-27 | 1 | -4/+4 |
| | | |||||
* | | cmd/utils: point users to --syncmode under DEPRECATED (#16572) | Martin Klepsch | 2018-04-27 | 1 | -2/+2 |
| | | | | | | Indicate that --light and --fast options are replaced by --syncmode | ||||
* | | core/state: cache missing storage entries (#16584) | Felix Lange | 2018-04-27 | 1 | -4/+1 |
|/ | |||||
* | core/types: avoid duplicating transactions on changing signer (#16435) | kimmylin | 2018-04-24 | 1 | -1/+4 |
| | |||||
* | cmd/geth, mobile: add memsize to pprof server (#16532) | Felix Lange | 2018-04-23 | 13 | -10/+834 |
| | | | | | | | | * cmd/geth, mobile: add memsize to pprof server This is a temporary change, to be reverted before the next release. * cmd/geth: fix variable name | ||||
* | VERSION, params: begin release cycle 1.8.7 | Péter Szilágyi | 2018-04-23 | 2 | -5/+5 |
| | |||||
* | params: release v1.8.6 to fix docker images | Péter Szilágyi | 2018-04-23 | 1 | -4/+4 |
| | |||||
* | Dockerfile: drop legacy discovery v5 port mappings | Péter Szilágyi | 2018-04-23 | 2 | -2/+2 |
| | |||||
* | Merge pull request #16552 from karalabe/revert-docker-user | Péter Szilágyi | 2018-04-23 | 2 | -12/+0 |
|\ | | | | | Dockerfile: revert the user change PR that broke all APIs | ||||
| * | Dockerfile: revert the user change PR that broke all APIs | Péter Szilágyi | 2018-04-23 | 2 | -12/+0 |
|/ | |||||
* | Merge pull request #16551 from ↵ | Péter Szilágyi | 2018-04-23 | 1 | -4/+4 |
|\ | | | | | | | | | ethereum/revert-16477-puppeth-dockerfile-permission-fix Revert "cmd/puppeth: fix node deploys for updated dockerfile user" | ||||
| * | Revert "cmd/puppeth: fix node deploys for updated dockerfile user" | Péter Szilágyi | 2018-04-23 | 1 | -4/+4 |
|/ | |||||
* | Merge pull request #16550 from ethereum/revert-16478-fix-alltools-dockerfile | Péter Szilágyi | 2018-04-23 | 1 | -1/+1 |
|\ | | | | | Revert "Dockerfile.alltools: fix invalid command" | ||||
| * | Revert "Dockerfile.alltools: fix invalid command" | Péter Szilágyi | 2018-04-23 | 1 | -1/+1 |
|/ | |||||
* | cmd/geth: update the copyright year in the geth command usage (#16537) | Vie | 2018-04-23 | 2 | -2/+2 |
| | |||||
* | VERSION, params: begin Geth 1.8.6 release cycle | Péter Szilágyi | 2018-04-23 | 2 | -5/+5 |
| | |||||
* | params: release Geth v1.8.5 - Dirty Derivative² | Péter Szilágyi | 2018-04-23 | 1 | -4/+4 |
| | |||||
* | eth/downloader: fix for Issue #16539 (#16546) | Domino Valdano | 2018-04-23 | 1 | -3/+11 |
| | |||||
* | vendor: update elastic/gosigar so that it compiles on OpenBSD (#16542) | Fabian Raetz | 2018-04-22 | 12 | -7/+98 |
| | |||||
* | ethclient: add DialContext and Close (#16318) | Lorenzo Manacorda | 2018-04-19 | 1 | -1/+9 |
| | | | | | DialContext allows users to pass a Context object for cancellation. Close closes the underlying RPC connection. | ||||
* | whisper/whisperv6: post returns the hash of sent message (#16495) | gluk256 | 2018-04-19 | 1 | -14/+26 |
| | |||||
* | rpc: handle HTTP response error codes (#16500) | Martin Holst Swende | 2018-04-19 | 1 | -1/+13 |
| | |||||
* | all: fix various typos (#16533) | Wuxiang | 2018-04-19 | 14 | -23/+23 |
| | | | | | | | | * fix typo * fix typo * fix typo | ||||
* | core/asm: accept uppercase instructions (#16531) | dm4 | 2018-04-19 | 1 | -2/+2 |
| | |||||
* | rpc: clean up IPC handler (#16524) | Felix Lange | 2018-04-18 | 6 | -54/+23 |
| | | | | This avoids logging accept errors on shutdown and removes a bit of duplication. It also fixes some goimports lint warnings. | ||||
* | cmd/utils: fix help template issue for subcommands (#16351) | Zhenguo Niu | 2018-04-18 | 1 | -1/+1 |
| | |||||
* | core/asm: remove unused condition (#16487) | dm4 | 2018-04-18 | 1 | -3/+0 |
| | |||||
* | build: enable goimports and varcheck linters (#16446) | thomasmodeneis | 2018-04-18 | 28 | -98/+54 |
| | |||||
* | VERSION, params: begin v1.8.5 release cycle | Péter Szilágyi | 2018-04-17 | 2 | -5/+5 |
| | |||||
* | params: release Geth v1.8.4 | Péter Szilágyi | 2018-04-17 | 1 | -4/+4 |
| | |||||
* | light: new CHTs (#16515) | Felföldi Zsolt | 2018-04-17 | 1 | -8/+8 |
| | |||||
* | cmd/clef, signer: initial poc of the standalone signer (#16154) | Martin Holst Swende | 2018-04-16 | 37 | -94/+6283 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * signer: introduce external signer command * cmd/signer, rpc: Implement new signer. Add info about remote user to Context * signer: refactored request/response, made use of urfave.cli * cmd/signer: Use common flags * cmd/signer: methods to validate calldata against abi * cmd/signer: work on abi parser * signer: add mutex around UI * cmd/signer: add json 4byte directory, remove passwords from api * cmd/signer: minor changes * cmd/signer: Use ErrRequestDenied, enable lightkdf * cmd/signer: implement tests * cmd/signer: made possible for UI to modify tx parameters * cmd/signer: refactors, removed channels in ui comms, added UI-api via stdin/out * cmd/signer: Made lowercase json-definitions, added UI-signer test functionality * cmd/signer: update documentation * cmd/signer: fix bugs, improve abi detection, abi argument display * cmd/signer: minor change in json format * cmd/signer: rework json communication * cmd/signer: implement mixcase addresses in API, fix json id bug * cmd/signer: rename fromaccount, update pythonpoc with new json encoding format * cmd/signer: make use of new abi interface * signer: documentation * signer/main: remove redundant option * signer: implement audit logging * signer: create package 'signer', minor changes * common: add 0x-prefix to mixcaseaddress in json marshalling + validation * signer, rules, storage: implement rules + ephemeral storage for signer rules * signer: implement OnApprovedTx, change signing response (API BREAKAGE) * signer: refactoring + documentation * signer/rules: implement dispatching to next handler * signer: docs * signer/rules: hide json-conversion from users, ensure context is cleaned * signer: docs * signer: implement validation rules, change signature of call_info * signer: fix log flaw with string pointer * signer: implement custom 4byte databsae that saves submitted signatures * signer/storage: implement aes-gcm-backed credential storage * accounts: implement json unmarshalling of url * signer: fix listresponse, fix gas->uint64 * node: make http/ipc start methods public * signer: add ipc capability+review concerns * accounts: correct docstring * signer: address review concerns * rpc: go fmt -s * signer: review concerns+ baptize Clef * signer,node: move Start-functions to separate file * signer: formatting | ||||
* | eth/downloader: wait for all fetcher goroutines to exit before terminating ↵ | gary rong | 2018-04-16 | 1 | -9/+8 |
| | | | | (#16509) | ||||
* | ethdb: add leveldb write delay statistic (#16499) | gary rong | 2018-04-16 | 1 | -14/+81 |
| | |||||
* | miner: remove contention on currentMu for pending data retrievals (#16497) | Ryan Schneider | 2018-04-16 | 1 | -18/+33 |
| | |||||
* | Merge pull request #16494 from karalabe/txpool-stable-pricedelete | Péter Szilágyi | 2018-04-12 | 3 | -24/+101 |
|\ | | | | | core: txpool stable underprice drop order, perf fixes | ||||
| * | core: txpool stable underprice drop order, perf fixes | Péter Szilágyi | 2018-04-12 | 3 | -24/+101 |
|/ | |||||
* | Merge pull request #16491 from holiman/fix_copy_again | Péter Szilágyi | 2018-04-12 | 1 | -2/+8 |
|\ | | | | | core/state: fix ripemd-cornercase in Copy | ||||
| * | core/state: fix ripemd-cornercase in Copy | Martin Holst Swende | 2018-04-11 | 1 | -2/+8 |
|/ | |||||
* | Merge pull request #16485 from holiman/fixcopycopy | Péter Szilágyi | 2018-04-11 | 2 | -0/+26 |
|\ | | | | | core/state: fix bug in copy of copy State | ||||
| * | core/state: fix bug in copy of copy State | Martin Holst Swende | 2018-04-11 | 2 | -0/+26 |
| | | |||||
* | | les: add ps.lock.Unlock() before return (#16360) | cpusoft | 2018-04-11 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #16481 from karalabe/go1.10.1 | Péter Szilágyi | 2018-04-11 | 2 | -11/+11 |
|\ \ | |/ |/| | travis, appveyor: bump to Go 1.10.1 | ||||
| * | travis, appveyor: bump to Go 1.10.1 | Péter Szilágyi | 2018-04-10 | 2 | -11/+11 |
| | | |||||
* | | travis.yml: add TEST_PACKAGES to speed up swarm testing (#16456) | Elad_ | 2018-04-10 | 1 | -3/+3 |
|/ | | | | | | | | This commit is meant to allow ecosystem projects such as ethersphere to minimize CI build times by specifying an environment variable with the packages to run tests on. If the environment variable isn't defined the build script will test all packages so this shouldn't affect the main go-ethereum repository. | ||||
* | core: remove stray account creations in state transition (#16470) | Felix Lange | 2018-04-10 | 2 | -43/+16 |
| | | | | | | | | | | | | | | | | The 'from' and 'to' methods on StateTransitions are reader methods and shouldn't have inadvertent side effects on state. It is safe to remove the check in 'from' because account existence is implicitly checked by the nonce and balance checks. If the account has non-zero balance or nonce, it must exist. Even if the sender account has nonce zero at the start of the state transition or no balance, the nonce is incremented before execution and the account will be created at that time. It is safe to remove the check in 'to' because the EVM creates the account if necessary. Fixes #15119 | ||||
* | build: add -e and -X flags to get more information on #16433 (#16443) | ligi | 2018-04-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #16478 from karalabe/fix-alltools-dockerfile | Péter Szilágyi | 2018-04-10 | 1 | -1/+1 |
|\ | | | | | Dockerfile.alltools: fix invalid command | ||||
| * | Dockerfile.alltools: fix invalid command | Péter Szilágyi | 2018-04-10 | 1 | -1/+1 |
| | | |||||
* | | common: delete StringToAddress, StringToHash (#16436) | Felix Lange | 2018-04-10 | 4 | -12/+10 |
|/ | | | | | | | | | | * common: delete StringToAddress, StringToHash These functions are confusing because they don't parse hex, but use the bytes of the string. This change removes them, replacing all uses of StringToAddress(s) by BytesToAddress([]byte(s)). * eth/filters: remove incorrect use of common.BytesToAddress | ||||
* | Merge pull request #16477 from karalabe/puppeth-dockerfile-permission-fix | Péter Szilágyi | 2018-04-10 | 1 | -4/+4 |
|\ | | | | | cmd/puppeth: fix node deploys for updated dockerfile user | ||||
| * | cmd/puppeth: fix node deploys for updated dockerfile user | Péter Szilágyi | 2018-04-10 | 1 | -4/+4 |
|/ | |||||
* | Merge pull request #15225 from holiman/test_removefrom_dirtyset | Péter Szilágyi | 2018-04-10 | 7 | -97/+277 |
|\ | | | | | Change handling of dirty objects in state | ||||
| * | core: add blockchain benchmarks | Martin Holst Swende | 2018-04-10 | 1 | -0/+111 |
| | | |||||
| * | state: handle nil in journal dirties | Martin Holst Swende | 2018-04-10 | 1 | -1/+11 |
| | | |||||
| * | core/state: avoid linear overhead on journal dirty listing | Péter Szilágyi | 2018-03-28 | 4 | -66/+92 |
| | | |||||
| * | core/state: rework dirty handling to avoid quadratic overhead | Martin Holst Swende | 2018-03-28 | 6 | -79/+112 |
| | | |||||
* | | eth/downloader: flush state sync data before exit (#16280) | gary rong | 2018-04-09 | 2 | -6/+14 |
| | | |||||
* | | compression/rle: delete RLE compression (#16468) | Felix Lange | 2018-04-09 | 4 | -170/+2 |
| | |