aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
| |
* | ethclient: remove empty object in newHeads subscription call (#16454)Ivo Georgiev2018-04-091-1/+1
| |
* | bmt: fix comment typos (#16461)DoubleWoodH2018-04-091-5/+4
| |
* | cmd/evm: print vm output when debug flag is on (#16326)dm42018-04-062-3/+9
| |
* | cmd/geth: update template for 'geth bug' command (#16350)Zhenguo Niu2018-04-061-10/+14
| |
* | Dockerfile: use non-privileged user account (#16052)Federico Gimenez2018-04-052-0/+12
| |
* | core/types: remove String methods from struct types (#16205)Steven Roose2018-04-057-127/+3
| | | | | | | | | | | | Most of these methods did not contain all the relevant information inside the object and were not using a similar formatting type. Moreover, the existence of a suboptimal String method breaks usage with more advanced data dumping tools like go-spew.
* | README: change 'built in' to 'built-in'Giovanni HoSang2018-04-041-1/+1
| |
* | accounts/abi: improve test coverage (#16044)Ricardo Domingos2018-04-045-62/+82
| |
* | eth: fix typos (#16414)Yusup2018-04-0411-29/+29
| |
* | cmd/geth: remove relOracle variable (#16434)Nguyen Sy Thanh Son2018-04-041-3/+0
| |
* | core/state: avoid redundant addition to code size cache (#16427)Jia Chenhui2018-04-031-4/+1
| |
* | crypto/secp256k1: catch curve parameter parse errors (#16392)David Huie2018-04-031-5/+5
| |
* | .gitattributes: enable solidity highlighting on github (#16425)Li Xuanji2018-04-031-0/+1
| |
* | travis.yml: remove sudo requirement for PPA and Azure purge builders (#16404)Felix Lange2018-03-281-6/+17
|/ | | | This is supposed to fix the FTP upload issue according to travis-ci/travis-ci#9391.
* core/state: uniform parameter style (#16398)Jia Chenhui2018-03-281-10/+10
| | | - Uniform code style.
* whisper: fix issue in topic list copy (#16381)Guillaume Ballet2018-03-272-3/+82
| | | | | | | | - Fixes #16271. What was appeneded was a pointer to an object that changes during the iteration. - The topic is allocated as a 4-byte array, fill partial topics with 0s. Partial topics are currently disabled, but would crash as they rely on the presence of byte number 3.
* light: new CHT for ropsten (#16393)Felföldi Zsolt2018-03-271-4/+4
|
* Merge pull request #16394 from hydai/fix_typoPéter Szilágyi2018-03-271-2/+2
|\ | | | | core/vm: Fixed typos in core/vm/interpreter.go
| * core/vm: Fixed typos in core/vm/interpreter.gohydai2018-03-271-2/+2
|/
* params, VERSION: v1.8.4 unstableFelix Lange2018-03-272-5/+5
|
* params: v1.8.3 stableFelix Lange2018-03-271-4/+4
|
* light: new mainnet CHT (#16390)Felix Lange2018-03-261-4/+4
|
* whisper: switch all remaining components from v5 to v6Guillaume Ballet2018-03-264-13/+13
|\
| * whisper: some components are still using v5, switch to v6Guillaume Ballet2018-03-224-13/+13
| |
* | Merge pull request #16388 from hydai/fix_commentsPéter Szilágyi2018-03-261-3/+3
|\ \ | | | | | | core/vm: Fixed typos
| * | core/vm: Fixed typo in core/vm/evm.gohydai2018-03-261-3/+3
|/ /
* | cmd/puppeth: add constraints to network name (#16336)Zhenguo Niu2018-03-261-1/+6
| | | | | | | | | | | | | | | | * cmd/puppeth: add constraints to network name * cmd/puppeth: update usage of network arg * cmd/puppeth: avoid package dependency on utils
* | rpc: limit chunked requests (#16343)Felix Lange2018-03-261-1/+2
| |
* | core/state: fix typo (#16370)Jia Chenhui2018-03-261-2/+2
| |
* | Merge pull request #16319 from rjl493456442/dump_preimagesPéter Szilágyi2018-03-264-4/+160
|\ \ | | | | | | cmd: implement preimage dump and import cmds
| * | cmd: export preimages in RLP, support GZIP, uniform with block exportPéter Szilágyi2018-03-264-121/+156
| | |
| * | cmd: implement preimage dump and import cmdsrjl4934564422018-03-263-0/+121
| |/
* | core/asm: fixed typo (posititon -> position) (#16366)hydai2018-03-261-1/+1
| |
* | core/vm: remove JIT VM codes (#16362)hydai2018-03-267-434/+9
| |
* | ecies: drop randomness parameter from `PrivateKey.Decrypt` (#16374)David Huie2018-03-265-17/+17
| | | | | | | | | | The parameter `rand` is unused in `PrivateKey.Decrypt`. Decryption in the ECIES encryption scheme is deterministic, so randomness isn't needed.
* | Merge pull request #16387 from karalabe/evm-polsihesPéter Szilágyi2018-03-264-101/+107
|\ \ | |/ |/| core: minor evm polishes and optimizations
| * core: minor evm polishes and optimizationsPéter Szilágyi2018-03-264-101/+107
|/
* Merge pull request #16256 from epiclabs-io/unpack_one_arg_eventMartin Holst Swende2018-03-213-19/+62
|\ | | | | Fix issue unmarshaling single parameter events from abigen generated go code #16208
| * accounts/abi: Modified unpackAtomic to accept struct lvaluesJavier Peletier2018-03-053-19/+49
| |
| * accounts/abi: Add one-parameter event test case from ↵Javier Peletier2018-03-05256-4481/+14983
| |\ | | | | | | | | | enriquefynn/unpack_one_arg_event
| * | accounts/abi: use unpackTuple to unpack event argumentsFynn2018-02-162-2/+15
| | | | | | | | | | | | Events with just 1 argument fail before this change
* | | build: add GOBIN to PATH for gomobile (#16344)Felix Lange2018-03-201-3/+4
| | | | | | | | | | | | | | | | | | * build: add GOBIN to PATH for gomobile * build: install gobind alongside gomobile
* | | crypto/bn256: full switchover to cloudflare's code (#16301)Péter Szilágyi2018-03-2022-174/+783
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * crypto/bn256: full switchover to cloudflare's code * crypto/bn256: only use cloudflare for optimized architectures * crypto/bn256: upstream fallback for non-optimized code * .travis, build: drop support for Go 1.8 (need type aliases) * crypto/bn256/cloudflare: enable curve mul lattice optimization
* | | whisper: Notify Vlad and Guillaume of whisper PRs (#16340)Guillaume Ballet2018-03-191-0/+1
| | |
* | | Merge pull request #15990 from markya0616/sim_backend_block_hashMartin Holst Swende2018-03-192-3/+15
|\ \ \ | | | | | | | | accounts/abi, core: add AddTxWithChain in BlockGen for simulation
| * | | accounts/abi, core: add AddTxWithChain in BlockGen for simulationmark.lin2018-01-292-3/+15
| | | |
* | | | miner: remove duplicated code (#15968)stompesi2018-03-161-2/+1
| | | |
* | | | Merge pull request #16315 from karalabe/drop-vagrantPéter Szilágyi2018-03-165-72/+0
|\ \ \ \ | | | | | | | | | | containers: drop vagrant support, noone's maintaining it
| * | | | containers: drop vagrant support, noone's maintaining itPéter Szilágyi2018-03-145-72/+0
|/ / / /
* | | | core/asm: fixed typo (labal -> label) (#16313)hydai2018-03-142-2/+2
| | | |
* | | | Merge pull request #16310 from karalabe/websocket-request-limitsPéter Szilágyi2018-03-134-22/+66
|\ \ \ \ | | | | | | | | | | rpc: enforce the 128KB request limits on websockets too
| * | | | rpc: enforce the 128KB request limits on websockets tooPéter Szilágyi2018-03-134-22/+66
|/ / / /
* | | | github: more information bot configuration (#16298)Anton Evangelatov2018-03-121-0/+11
| | | |
* | | | cmd/utils: fix maxpeers vs lightpeers logic (#16125)Felföldi Zsolt2018-03-091-0/+3
| | | |
* | | | eth: update higest block we know during the sync if a higher was found (#16283)gary rong2018-03-092-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | * eth: update higest block we know during the sync if a higher was found * eth: avoid useless sync in fast sync
* | | | Merge pull request #16287 from razum2um/masterPéter Szilágyi2018-03-091-1/+1
|\ \ \ \ | | | | | | | | | | Allow any vhost for wallet deployed by puppeth
| * | | | cmd/puppeth: allow any vhost in walletVlad Bokov2018-03-091-1/+1
| | | | |
* | | | | Merge pull request #16289 from jeffwalsh/remove-add-std-argPéter Szilágyi2018-03-091-1/+0
|\ \ \ \ \ | | | | | | | | | | | | common/compiler: remove "--add-std" arg, deprecated in solidity 0.4.21
| * | | | | common/compiler: remove "--add-std" arg, deprecated in solidity 0.4.21Jeffery Robert Walsh2018-03-091-1/+0
|/ / / / /
* | | | | Merge pull request #16128 from karalabe/go1.10Péter Szilágyi2018-03-087-23/+29
|\ \ \ \ \ | |/ / / / |/| | | | travis, Dockerfile, appveyor, build: bump to Go 1.10
| * | | | travis, Dockerfile, appveyor, build: bump to Go 1.10Péter Szilágyi2018-03-087-23/+29
|/ / / /
* | | | cmd, ethdb, vendor: integrate leveldb iostats (#16277)Kurkó Mihály2018-03-0811-84/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmd, dashboard, ethdb, vendor: send iostats to dashboard * ethdb: change names * ethdb: handle parsing errors * ethdb: handle iostats syntax error * ethdb: r -> w
* | | | core/vm: optimize eq, slt, sgt and iszero + tests (#16047)Martin Holst Swende2018-03-082-25/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vm: optimize eq, slt, sgt and iszero + tests * core/vm: fix error in slt/sgt, found by vmtests. Added testcase * core/vm: make slt/sgt cleaner
* | | | Merge pull request #16285 from karalabe/fix-resend-optional-paramPéter Szilágyi2018-03-081-2/+2
|\ \ \ \ | | | | | | | | | | internal/ethapi: make resent gas params optional
| * | | | internal/ethapi: make resent gas params optionalPéter Szilágyi2018-03-081-2/+2
|/ / / /
* | | | cmd, dashboard: use webpack dev server, remove custom assets (#16263)Kurkó Mihály2018-03-0820-10003/+8879
| | | | | | | | | | | | | | | | | | | | | | | | * cmd, dashboard: remove custom assets, webpack dev server * dashboard: yarn commands, small fixes
* | | | Merge pull request #16275 from karalabe/bump-duktapePéter Szilágyi2018-03-073-5/+6
|\ \ \ \ | | | | | | | | | | vendor: bump duktape to get rid of build warning
| * | | | vendor: bump duktape to get rid of build warningPéter Szilágyi2018-03-073-5/+6
|/ / / /
* | | | accounts/abi: normalize method name to a camel-case string (#15976)Mark2018-03-072-10/+45
| | | |
* | | | core: check transaction/receipt count match when reconstructing blocks (#16272)Kyuntae Ethan Kim2018-03-072-3/+11
| | | |
* | | | Merge pull request #16240 from cuiweixie/txpoolPéter Szilágyi2018-03-072-55/+115
|\ \ \ \ | | | | | | | | | | core: should enqueue the invalids tx anyway
| * | | | core: update txpool tests for the removal fixPéter Szilágyi2018-03-072-53/+112
| | | | |
| * | | | core: should enqueue the invalids tx anywaycui2018-03-071-5/+6
| | | | | | | | | | | | | | | | | | | | even the pending is empty we shoud enqueue the invalid txs