aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmd/geth: export metrics to InfluxDB (#16979)Anton Evangelatov2018-07-024-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 Raetz2018-07-026-16/+18
|
* Merge pull request #17092 from pilu/masterPéter Szilágyi2018-07-021-6/+6
|\ | | | | remove formatting from ResettingTimer metrics if requested in raw format
| * node: remove formatting from ResettingTimer metrics if requested in rawAndrea Franz2018-06-271-6/+6
| |
* | ethdb, core: implement delete for db batch (#17101)gary rong2018-07-026-14/+51
| |
* | ethstats: comment minor correction (#17102)kevin.xu2018-06-291-1/+1
|/ | | spell correction from `repors` to `reports`
* Merge pull request #17087 from OpenCommunityCoin/build/portable-shellPéter Szilágyi2018-06-271-11/+11
|\ | | | | build: make build/goimports.sh more potable
| * build: make build/goimports.sh more potablehackyminer2018-06-261-11/+11
| |
* | core/vm: clear linter warnings (#17057)Guillaume Ballet2018-06-269-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à Cidre2018-06-262-2/+2
|
* swarm/pss: Hide big network tests under longrunning flag (#17074)lash2018-06-251-0/+14
|
* swarm/fuse: Disable fuse tests, they are flaky (#17072)Balint Gabor2018-06-251-0/+1
|
* Merge pull request #17054 from chfast/log-time-formatPéter Szilágyi2018-06-251-1/+1
|\ | | | | log: Change time format
| * log: Change time formatPaweł Bylica2018-06-251-1/+1
| | | | | | | | | | - Keep the tailing zeros. - Limit precision to milliseconds.
* | les: handle conn/disc/reg logic in the eventloop (#16981)gary rong2018-06-251-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-mergeViktor Trón2018-06-22201-9705/+39389
|\ \ | |/ |/| Swarm POC3 - happy solstice
| * swarm: network rewrite mergeethersphere2018-06-22201-9705/+39389
| |
* | trie: cache collapsed tries node, not rlp blobs (#16876)Péter Szilágyi2018-06-218-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)nobody2018-06-211-1/+1
| | | | | | remove the tail "," from genesis config, which will cause genesis config parse error .
* | mobile: correct comment typo in ethereum.go (#17040)Husam Ibrahim2018-06-211-2/+2
| |
* | accounts: remove deadcode isSigned (#16990)Wenbiao Zheng2018-06-202-26/+0
| |
* | Merge pull request #16954 from holiman/more_tracersPéter Szilágyi2018-06-205-3/+214
|\ \ | | | | | | eth/tracers: fix err in 4byte, add some opcode analysis tools
| * | tracers: fix err in 4byte, add some opcode analysis toolsMartin Holst Swende2018-06-205-3/+214
| | |
* | | travis: use NDK 17b for Android archives (#17029)ligi2018-06-201-4/+4
|/ /
* | signer: remove useless errorWrapper (#17003)Wenbiao Zheng2018-06-191-9/+0
| |
* | accounts/usbwallet: correct comment typo (#16998)Husam Ibrahim2018-06-191-1/+1
| |
* | core: remove dead code, limit test code scope (#17006)Wenbiao Zheng2018-06-194-48/+34
| | | | | | | | | | | | * core: move test util var/func to test file * core: remove useless func
* | accounts/usbwallet: correct comment typo (#17008)Husam Ibrahim2018-06-191-1/+1
| |
* | mobile: correct comment typo in geth.go (#17021)Husam Ibrahim2018-06-191-1/+1
|/
* cmd: remove faucet/puppeth dead code (#16991)Wenbiao Zheng2018-06-152-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 Zheng2018-06-141-1/+1
|
* internal/debug: use pprof goroutine writer for debug_stacks (#16892)Ryan Schneider2018-06-141-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 Chad2018-06-141-2/+2
| | | | | | | | * core/asm/compiler: correct comments typo core/asm/compiler: correct comments typo * Correct comments typo
* common/number: delete unused package (#16983)Felix Lange2018-06-142-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 barry2018-06-141-1/+1
|
* core: reduce nesting in transaction pool code (#16980)Wenbiao Zheng2018-06-141-5/+3
|
* eth: conform better to the golint standards (#16783)williambannas2018-06-147-26/+27
| | | | | | * eth: made changes to conform better to the golint standards * eth: fix comment nit
* common: all golint warnings removed (#16852)kiel barry2018-06-146-8/+14
| | | | | | * common: all golint warnings removed * common: fixups
* Merge pull request #16977 from karalabe/go-1.10.3Péter Szilágyi2018-06-142-3/+3
|\ | | | | travis, appveyor: update to Go 1.10.3
| * travis, appveyor: update to Go 1.10.3Péter Szilágyi2018-06-142-3/+3
|/
* cmd/utils: fix NetworkId default when -dev is set (#16833)Jeremy Schlatter2018-06-141-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)knarfeh2018-06-141-3/+3
|
* core/vm: optimize MSTORE and SLOAD (#16939)Martin Holst Swende2018-06-143-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)Elad2018-06-1424-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 Braun2018-06-142-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 Chad2018-06-141-1/+1
| | | console/console: correct some comments typo
* core/asm: correct comments typo (#16975)Caesar Chad2018-06-141-1/+1
| | | core/asm/lexer: correct comments typo
* eth/fetcher: fix annotation (#16969)Wenbiao Zheng2018-06-131-1/+1
|
* internal/web3ext: fix method name for enabling mutex profiling (#16964)Ryan Schneider2018-06-131-2/+2
|
* core: change comment to match code more closely (#16963)John C. Vernaleo2018-06-131-1/+1
|
* VERSION, params: begin v1.8.12 release cyclePéter Szilágyi2018-06-122-5/+5
|
* params: release go-ethereum v1.8.11Péter Szilágyi2018-06-121-4/+4
|
* les: fix retriever logic (#16776)Felföldi Zsolt2018-06-121-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 Zsolt2018-06-125-27/+106
|
* crypto: replace ToECDSAPub with error-checking func UnmarshalPubkey (#16932)Felix Lange2018-06-129-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-fastPéter Szilágyi2018-06-121-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ágyi2018-06-121-4/+9
| |
* | Merge pull request #16959 from karalabe/fix-lintersPéter Szilágyi2018-06-121-2/+2
|\ \ | | | | | | metrics: fix gofmt linter warnings
| * | metrics: fix gofmt linter warningsPéter Szilágyi2018-06-121-2/+2
|/ /
* / les: pass server pool to protocol manager (#16947)Felföldi Zsolt2018-06-124-4/+5
|/
* ethdb: gracefullly handle quit channel (#16794)gary rong2018-06-111-34/+40
| | | | | | * ethdb: gratefullly handle quit channel * ethdb: minor polish
* core/rawdb: wrap db key creations (#16914)Wenbiao Zheng2018-06-114-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-warningPéter Szilágyi2018-06-111-2/+2
|\ | | | | trie: don't report the root flushlist as an alloc
| * trie: don't report the root flushlist as an allocPéter Szilágyi2018-06-111-2/+2
| |
* | metrics: removed repetitive calculations (#16944)Clayton Jacobs2018-06-111-10/+13
|/
* Merge pull request #16942 from karalabe/rpc-nil-replyPéter Szilágyi2018-06-114-31/+7
|\ | | | | rpc: support returning nil pointer big.Ints (null)
| * rpc: support returning nil pointer big.Ints (null)Péter Szilágyi2018-06-114-31/+7
|/
* rpc: fix a comment typo (#16929)xincaosu2018-06-111-1/+1
|
* core: improve getBadBlocks to return full block rlp (#16902)Martin Holst Swende2018-06-113-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 Roose2018-06-111-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 Zsolt2018-06-111-8/+8
|
* metrics: return an empty snapshot for NilResettingTimer (#16930)Anton Evangelatov2018-06-111-1/+5
|
* cmd/ethkey: add command to change key passphrase (#16516)Steven Roose2018-06-086-19/+100
| | | | | | | This change introduces ethkey changepassphrase <keyfile> to change the passphrase of a key file.
* trie: avoid unnecessary slicing on shortnode decoding (#16917)Sarlor2018-06-071-4/+3
| | | optimization code
* core: relax type requirement for bc in ApplyTransaction (#16901)ledgerwatch2018-06-071-1/+1
|
* cmd/puppeth: fixed a typo in a wizard input query (#16910)Bruno Škvorc2018-06-061-2/+2
|
* whisper: re-insert #16757 that has been lost during a merge (#16889)Guillaume Ballet2018-06-050-0/+0
|
* Merge pull request #16882 from karalabe/streaming-ecrecoverPéter Szilágyi2018-06-053-0/+113
|\ | | | | core: concurrent background transaction sender ecrecover
| * core: concurrent background transaction sender ecrecoverPéter Szilágyi2018-06-053-0/+113
| |
* | trie: reduce hasher allocations (#16896)Felix Lange2018-06-051-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 ↵Elad2018-06-0530-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 barry2018-06-0522-61/+72
| | | | | | params: fix golint warnings
* | cmd/abigen: support for reading solc output from stdin (#16683)Antonio Salazar Cardozo2018-06-052-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)Mark2018-06-051-10/+0
|/
* eth/tracers: fix minor off-by-one error (#16879)Martin Holst Swende2018-06-052-15/+56
| | | | | | * tracing: fix minor off-by-one error * tracers: go generate
* les: add Skip overflow check to GetBlockHeadersMsg handler (#16891)Felföldi Zsolt2018-06-051-7/+18
|
* Merge pull request #16894 from hadv/masterPéter Szilágyi2018-06-051-1/+1
|\ | | | | core: fix typo in comment code
| * core: fix typo in comment codehadv2018-06-051-1/+1
|/
* Merge pull request #16800 from rjl493456442/memory_allowance_wariningPéter Szilágyi2018-06-041-0/+20
|\ | | | | cmd: cap cache size if exceeds reasonable range
| * cmd/geth: cap cache allowancerjl4934564422018-06-041-0/+20
|/
* Merge pull request #16880 from holiman/http_timeoutsPéter Szilágyi2018-06-041-1/+6
|\ | | | | rpc: set timeouts for http server, see #16859
| * rpc: set timeouts for http server, see #16859Martin Holst Swende2018-06-041-1/+6
| |
* | metrics: expvar support for ResettingTimer (#16878)Anton Evangelatov2018-06-044-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ágyi2018-06-044-38/+202
| | | | | | * core, eth, trie: streaming GC for the trie cache * trie: track memcache statistics
* consensus/ethash: reduce keccak hash allocations (#16857)Felix Lange2018-06-041-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 Schneider2018-06-021-1/+1
|
* console: squash golint warnings (#16836)kiel barry2018-05-312-2/+4
|
* ethstats: fix last golint warning (#16837)kiel barry2018-05-301-2/+2
|
* VERSION, params: begin 1.8.11 release cyclePéter Szilágyi2018-05-302-5/+5
|
* params: release Geth 1.8.10 hotfixPéter Szilágyi2018-05-301-4/+4
|
* Merge pull request #16843 from karalabe/txpool-fix-deadlockPéter Szilágyi2018-05-301-1/+1
|\ | | | | core: fix transaction event asynchronicity
| * core: fix transaction event asynchronicityPéter Szilágyi2018-05-301-1/+1
|/
* trie: rename TrieSync to Sync and improve hexToKeybytes (#16804)Wenbiao Zheng2018-05-295-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-1Péter Szilágyi2018-05-291-1/+1
|\ | | | | core/vm: fix typo in comment
| * core/vm: fix typo in commentAbel Nieto2018-05-291-1/+1
| |
* | core: improve test for TransactionPriceNonceSort (#16413)kimmylin2018-05-291-22/+7
| |
* | p2p/discv5: add egress/ingress traffic metrics to discv5 udp transport (#16369)Dmitry Shulyak2018-05-292-1/+12
|/
* common: improve documentation comments (#16701)kiel barry2018-05-299-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 Franz2018-05-291-3/+3
| | | | | (#16757) Fixes #16756
* eth/fetcher: reuse variables for hash and number (#16819)Smilenator2018-05-291-4/+4
|
* ethereum: fix a typo in FilterQuery{} (#16827)Mohanson2018-05-291-1/+1
| | | Fix a spelling mistake in comment
* VERSION, params: begin 1.8.10 release cyclePéter Szilágyi2018-05-282-5/+5
|
* params: release go-ethereum v1.8.9Péter Szilágyi2018-05-281-4/+4
|
* eth, node, trie: fix minor typos (#16802)Wenbiao Zheng2018-05-243-8/+8
|
* Merge pull request #16803 from karalabe/trie-avoid-funccallPéter Szilágyi2018-05-241-2/+2
|\ | | | | trie: cleaner logic, one less func call
| * trie: cleaner logic, one less func callPéter Szilágyi2018-05-241-2/+2
| |
* | core: use a wrapped map to remove contention in `TxPool.Get`. (#16670)Ryan Schneider2018-05-233-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 Nieto2018-05-231-1/+1
| |
* | Merge pull request #16722 from karalabe/trie-iterator-proofsPéter Szilágyi2018-05-232-48/+150
|\ \ | |/ |/| trie: support proof generation from the iterator
| * trie: support proof generation from the iteratorPéter Szilágyi2018-05-232-48/+150
|/
* core/types: convert status type from uint to uint64 (#16784)gary rong2018-05-232-8/+10
|
* vendor, ethdb: print warning log if leveldb is performing compaction (#16766)gary rong2018-05-224-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 barry2018-05-223-6/+6
| | | | | | | | * node: all golint warnings fixed * node: rm per peter * node: rm per peter
* log: fixes for golint warnings (#16775)kiel barry2018-05-225-19/+20
|
* trie: fixes to comply with golint (#16771)kiel barry2018-05-225-21/+26
|
* Merge pull request #16769 from karalabe/async-broadcastsPéter Szilágyi2018-05-212-12/+117
|\ | | | | eth: propagate blocks and transactions async
| * eth: propagate blocks and transactions asyncPéter Szilágyi2018-05-212-12/+117
|/
* Merge pull request #16758 from hadv/fix/typosPéter Szilágyi2018-05-202-2/+2
|\ | | | | Fix some typos in comment code and output log
| * core, consensus: fix some typos in comment code and output loghadv2018-05-192-2/+2
| |
* | Merge pull request #16720 from rjl493456442/PreTxsEventPéter Szilágyi2018-05-2019-121/+172
|\ \ | | | | | | all: collate new transaction events together
| * | core, eth: minor txpool event cleanupsPéter Szilágyi2018-05-1819-92/+89
| | |
| * | all: collate new transaction events togetherrjl4934564422018-05-1819-111/+165
| | |
* | | Merge pull request #16753 from karalabe/go-1.10.2Péter Szilágyi2018-05-182-3/+3
|\ \ \ | |/ / |/| | travis, appveyor: bump Go release to 1.10.2
| * | travis, appveyor: bump Go release to 1.10.2Péter Szilágyi2018-05-182-3/+3
|/ /
* | p2p/enr: updates for discovery v4 compatibility (#16679)Felix Lange2018-05-175-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-trustyPéter Szilágyi2018-05-141-1/+1
|\ \ | | | | | | travis: try to upgrade android builder to trusty
| * | travis: try to upgrade android builder to trustyPéter Szilágyi2018-05-141-1/+1
|/ /
* | accounts/abi: allow abi: tags when unpacking structsGuillaume Ballet2018-05-143-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 cyclePéter Szilágyi2018-05-142-5/+5
| |
* | params: release go-ethereum v1.8.8Péter Szilágyi2018-05-141-4/+4
| |
* | light: new CHT for mainnet and ropsten (#16736)Felföldi Zsolt2018-05-141-8/+8
|/
* bmt: golint updates for this or self warning (#16628)kiel barry2018-05-101-89/+89
| | | | | | * bmt/*: golint updates for this or self warning * Update bmt.go
* travis: use Android NDK 16b (#16562)ligi2018-05-101-4/+4
|
* event: document select case slice use and add edge case test (#16680)Felix Lange2018-05-102-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 rong2018-05-0948-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 Franz2018-05-091-2/+2
| | | | string (#16668)
* eth/filter: check nil pointer when unsubscribe (#16682)gary rong2018-05-092-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 barry2018-05-094-42/+42
|
* cmd: various golint fixes (#16700)kiel barry2018-05-095-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 Salgado2018-05-091-0/+1
| | | | Peer.run was discarding the reason for disconnection sent to the disc channel by Disconnect.
* crypto: fix golint warnings (#16710)kiel barry2018-05-095-13/+13
|
* build: specify the key to use when invoking gpg:sign-and-deploy-file (#16696)ligi2018-05-092-8/+25
|
* p2p/simulations/adapters: fix websocket log line parsing in exec adapter ↵Ivan Daniluk2018-05-083-23/+75
| | | | (#16667)
* eth/filters: derive FilterCriteria from ethereum.FilterQuery (#16629)Domino Valdano2018-05-081-8/+2
|
* p2p: fix some golint warnings (#16577)kiel barry2018-05-0813-291/+292
|
* rlp: fix some golint warnings (#16659)kiel barry2018-05-082-37/+27
|
* core/rawdb: separate raw database access to own package (#16666)Péter Szilágyi2018-05-0752-1296/+1289
|
* mobile: add GetStatus Method for Receipt (#16598)Erichin2018-05-071-0/+1
|
* common: changed if-else blocks to conform with golint (#16656)GagziW2018-05-071-8/+6
|
* whisper/mailserver: pass init error to the caller (#16671)Ivan Daniluk2018-05-043-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)Eli2018-05-048-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 barry2018-05-032-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 barry2018-05-031-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-Zhou2018-05-031-1/+1
|
* metrics: golint updates for this or self warning (#16635)kiel barry2018-05-032-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 barry2018-05-033-6/+6
| | | | | | * rpc/*: golint error with context as last parameter * Update json.go
* accounts: changed if-else blocks to conform with golint (#16654)GagziW2018-05-032-4/+2
|
* les: changed if-else blocks to conform with golint (#16658)GagziW2018-05-034-19/+13
|
* p2p: changed if-else blocks to conform with golint (#16660)GagziW2018-05-032-17/+15
|
* log: changed if-else blocks to conform with golint (#16661)GagziW2018-05-031-8/+6
|
* VERSION, params: begin v1.8.8 release cyclePéter Szilágyi2018-05-022-5/+5
|
* params: release geth 1.8.7Péter Szilágyi2018-05-021-4/+4
|
* cmd/clef: documentation about setup (#16568)Martin Holst Swende2018-05-029-1/+251
| | | clef: documentation about setup
* Merge pull request #16644 from ligi/reduce_aar_sizePéter Szilágyi2018-05-021-2/+2
|\ | | | | build: Add ldflags "-s -w" when building aar
| * build: Add ldflags -s -w when building aarligi2018-05-021-2/+2
| | | | | | | | | | Smaller size on mobile is always good. Might also solve our maven central upload problem
* | Merge pull request #16569 from holiman/evm_blocknumPéter Szilágyi2018-05-021-7/+10
|\ \ | | | | | | cmd/evm: use block number from genesis
| * | evm/main: use blocknumber from genesisMartin Holst Swende2018-05-021-7/+10
| | |
* | | Merge pull request #16576 from CrispinFlowerday/bugfix/local_underpriced_txsPéter Szilágyi2018-05-022-10/+14
|\ \ \ | | | | | | | | core: ensure local transactions aren't discarded as underpriced
| * | | core: ensure local transactions aren't discarded as underpricedCrispin Flowerday2018-05-022-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 barry2018-05-024-18/+18
| | |
* | | internal: golint updates for this or self warning (#16634)kiel barry2018-05-021-27/+27
| | |
* | | trie: golint iterator fixes (#16639)Eli2018-05-021-7/+7
| | |
* | | tests: golint fixes for tests directory (#16640)Eli2018-05-024-10/+8
| | |
* | | accounts: golint updates for this or self warning (#16627)kiel barry2018-05-021-4/+4
|/ /
* | Merge pull request #16630 from tstranex/masterPéter Szilágyi2018-05-023-29/+33
|\ \ | | | | | | vendor: Fix index out of range panic when size is bigger than 1 TiB
| * | vendor: fix leveldb crash when bigger than 1 TiBtimothy2018-05-023-29/+33
| | |
* | | Merge pull request #16636 from reductionista/travisPéter Szilágyi2018-05-021-1/+0
|\ \ \ | |/ / |/| | travis.yml: remove obsolete brew-cask install
| * | travis.yml: remove obsolete brew-cask installDomino Valdano2018-05-021-1/+0
| | |
* | | whisper: Golint fixes in whisper packages (#16637)Eli2018-05-028-78/+74
|/ /
* | Merge pull request #16588 from karalabe/tracer-dirty-fixPéter Szilágyi2018-04-273-23/+8
|\ \ | | | | | | core, eth: fix tracer dirty finalization
| * | core, eth: fix tracer dirty finalizationPéter Szilágyi2018-04-273-23/+8
|/ /
* | trie: remove unused `buf` parameter (#16583)xincaosu2018-04-271-4/+4
| |
* | cmd/utils: point users to --syncmode under DEPRECATED (#16572)Martin Klepsch2018-04-271-2/+2
| | | | | | Indicate that --light and --fast options are replaced by --syncmode
* | core/state: cache missing storage entries (#16584)Felix Lange2018-04-271-4/+1
|/
* core/types: avoid duplicating transactions on changing signer (#16435)kimmylin2018-04-241-1/+4
|
* cmd/geth, mobile: add memsize to pprof server (#16532)Felix Lange2018-04-2313-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.7Péter Szilágyi2018-04-232-5/+5
|
* params: release v1.8.6 to fix docker imagesPéter Szilágyi2018-04-231-4/+4
|
* Dockerfile: drop legacy discovery v5 port mappingsPéter Szilágyi2018-04-232-2/+2
|
* Merge pull request #16552 from karalabe/revert-docker-userPéter Szilágyi2018-04-232-12/+0
|\ | | | | Dockerfile: revert the user change PR that broke all APIs
| * Dockerfile: revert the user change PR that broke all APIsPéter Szilágyi2018-04-232-12/+0
|/
* Merge pull request #16551 from ↵Péter Szilágyi2018-04-231-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ágyi2018-04-231-4/+4
|/
* Merge pull request #16550 from ethereum/revert-16478-fix-alltools-dockerfilePéter Szilágyi2018-04-231-1/+1
|\ | | | | Revert "Dockerfile.alltools: fix invalid command"
| * Revert "Dockerfile.alltools: fix invalid command"Péter Szilágyi2018-04-231-1/+1
|/
* cmd/geth: update the copyright year in the geth command usage (#16537)Vie2018-04-232-2/+2
|
* VERSION, params: begin Geth 1.8.6 release cyclePéter Szilágyi2018-04-232-5/+5
|
* params: release Geth v1.8.5 - Dirty Derivative²Péter Szilágyi2018-04-231-4/+4
|
* eth/downloader: fix for Issue #16539 (#16546)Domino Valdano2018-04-231-3/+11
|
* vendor: update elastic/gosigar so that it compiles on OpenBSD (#16542)Fabian Raetz2018-04-2212-7/+98
|
* ethclient: add DialContext and Close (#16318)Lorenzo Manacorda2018-04-191-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)gluk2562018-04-191-14/+26
|
* rpc: handle HTTP response error codes (#16500)Martin Holst Swende2018-04-191-1/+13
|
* all: fix various typos (#16533)Wuxiang2018-04-1914-23/+23
| | | | | | | | * fix typo * fix typo * fix typo
* core/asm: accept uppercase instructions (#16531)dm42018-04-191-2/+2
|
* rpc: clean up IPC handler (#16524)Felix Lange2018-04-186-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 Niu2018-04-181-1/+1
|
* core/asm: remove unused condition (#16487)dm42018-04-181-3/+0
|
* build: enable goimports and varcheck linters (#16446)thomasmodeneis2018-04-1828-98/+54
|
* VERSION, params: begin v1.8.5 release cyclePéter Szilágyi2018-04-172-5/+5
|
* params: release Geth v1.8.4Péter Szilágyi2018-04-171-4/+4
|
* light: new CHTs (#16515)Felföldi Zsolt2018-04-171-8/+8
|
* cmd/clef, signer: initial poc of the standalone signer (#16154)Martin Holst Swende2018-04-1637-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 rong2018-04-161-9/+8
| | | | (#16509)
* ethdb: add leveldb write delay statistic (#16499)gary rong2018-04-161-14/+81
|
* miner: remove contention on currentMu for pending data retrievals (#16497)Ryan Schneider2018-04-161-18/+33
|
* Merge pull request #16494 from karalabe/txpool-stable-pricedeletePéter Szilágyi2018-04-123-24/+101
|\ | | | | core: txpool stable underprice drop order, perf fixes
| * core: txpool stable underprice drop order, perf fixesPéter Szilágyi2018-04-123-24/+101
|/
* Merge pull request #16491 from holiman/fix_copy_againPéter Szilágyi2018-04-121-2/+8
|\ | | | | core/state: fix ripemd-cornercase in Copy
| * core/state: fix ripemd-cornercase in CopyMartin Holst Swende2018-04-111-2/+8
|/
* Merge pull request #16485 from holiman/fixcopycopyPéter Szilágyi2018-04-112-0/+26
|\ | | | | core/state: fix bug in copy of copy State
| * core/state: fix bug in copy of copy StateMartin Holst Swende2018-04-112-0/+26
| |
* | les: add ps.lock.Unlock() before return (#16360)cpusoft2018-04-111-0/+2
| |
* | Merge pull request #16481 from karalabe/go1.10.1Péter Szilágyi2018-04-112-11/+11
|\ \ | |/ |/| travis, appveyor: bump to Go 1.10.1
| * travis, appveyor: bump to Go 1.10.1Péter Szilágyi2018-04-102-11/+11
| |
* | travis.yml: add TEST_PACKAGES to speed up swarm testing (#16456)Elad_2018-04-101-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 Lange2018-04-102-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)ligi2018-04-101-1/+1
|
* Merge pull request #16478 from karalabe/fix-alltools-dockerfilePéter Szilágyi2018-04-101-1/+1
|\ | | | | Dockerfile.alltools: fix invalid command
| * Dockerfile.alltools: fix invalid commandPéter Szilágyi2018-04-101-1/+1
| |
* | common: delete StringToAddress, StringToHash (#16436)Felix Lange2018-04-104-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-fixPéter Szilágyi2018-04-101-4/+4
|\ | | | | cmd/puppeth: fix node deploys for updated dockerfile user
| * cmd/puppeth: fix node deploys for updated dockerfile userPéter Szilágyi2018-04-101-4/+4
|/
* Merge pull request #15225 from holiman/test_removefrom_dirtysetPéter Szilágyi2018-04-107-97/+277
|\ | | | | Change handling of dirty objects in state
| * core: add blockchain benchmarksMartin Holst Swende2018-04-101-0/+111
| |
| * state: handle nil in journal dirtiesMartin Holst Swende2018-04-101-1/+11
| |
| * core/state: avoid linear overhead on journal dirty listingPéter Szilágyi2018-03-284-66/+92
| |
| * core/state: rework dirty handling to avoid quadratic overheadMartin Holst Swende2018-03-286-79/+112
| |
* | eth/downloader: flush state sync data before exit (#16280)gary rong2018-04-092-6/+14
| |
* | compression/rle: delete RLE compression (#16468)Felix Lange2018-04-094-170/+2
| |