aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* | | | | eth: fixed typo (#16274)Kyuntae Ethan Kim2018-03-071-1/+1
|/ / / /
* | | | whisper: final refactoring (#16259)gluk2562018-03-072-31/+60
| | | | | | | | | | | | | | | | whisper: final refactoring
* | | | swarm/storage: disable treechunker test while it is flaky (#16254)Anton Evangelatov2018-03-061-1/+1
| |_|/ |/| |
* | | VERSION, params: begin 1.8.3 release cyclePéter Szilágyi2018-03-052-5/+5
| | |
* | | params: release Geth 1.8.2 stablePéter Szilágyi2018-03-051-4/+4
| | |
* | | github: config for probot-stale bot (#16235)Anton Evangelatov2018-03-051-0/+17
| | | | | | | | | | | | | | | | | | * github: config for probot-stale bot * github: use stale label, instead of wontfix
* | | core/vm, crypto/bn256: switch over to cloudflare library (#16203)Péter Szilágyi2018-03-0533-58/+2799
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * core/vm, crypto/bn256: switch over to cloudflare library * crypto/bn256: unmarshal constraint + start pure go impl * crypto/bn256: combo cloudflare and google lib * travis: drop 386 test job
* | | Merge pull request #16229 from karalabe/evm-call-fixPéter Szilágyi2018-03-054-25/+14
|\ \ \ | | | | | | | | cmd/evm, core/vm, internal/ethapi: don't disable call gas metering
| * | | cmd/evm, core/vm, internal/ethapi: don't disable call gas meteringPéter Szilágyi2018-03-054-25/+14
|/ / /
* | | utils: fix #16138 by checking if vhosts flag is set (#16141)Martin Holst Swende2018-03-052-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | * utils: fix #16138 by checking if vhosts flag is set * utils,node: fix defaults for rpcvhosts * node,utils: address review concerns
* | | Merge pull request #16250 from gluk256/317-fatalfGuillaume Ballet2018-03-051-24/+32
|\ \ \ | | | | | | | | | | | | | | | | whisper: refactoring go-routines workflow Move the call mailServer.Init() down (to the bottom of the function) because if the function initialize() completes successfully, then it will be followed by mailServer.Close() in shutdown(). The workflow of the corresponding goroutines is clearer now.
| * | | whisper: refactoring go-routinesVlad2018-03-051-24/+32
| | | |
* | | | consensus/ethash: fixed typo (#16253)Kyuntae Ethan Kim2018-03-051-1/+1
|/ / /
* | | accounts/abi: Abi binding support for nested arrays, fixes #15648, including ↵protolambda2018-03-056-79/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nested array unpack fix (#15676) * accounts/abi/bind: support for multi-dim arrays Also: - reduce usage of regexes a bit. - fix minor Java syntax problems Fixes #15648 * accounts/abi/bind: Add some more documentation * accounts/abi/bind: Improve code readability * accounts/abi: bugfix for unpacking nested arrays The code previously assumed the arrays/slices were always 1 level deep. While the packing supports nested arrays (!!!). The current code for unpacking doesn't return the "consumed" length, so this fix had to work around that by calculating it (i.e. packing and getting resulting length) after the unpacking of the array element. It's far from ideal, but unpacking behaviour is fixed now. * accounts/abi: Fix unpacking of nested arrays Removed the temporary workaround of packing to calculate size, which was incorrect for slice-like types anyway. Full size of nested arrays is used now. * accounts/abi: deeply nested array unpack test Test unpacking of an array nested more than one level. * accounts/abi: Add deeply nested array pack test Same as the deep nested array unpack test, but the other way around. * accounts/abi/bind: deeply nested arrays bind test Test the usage of bindings that were generated for methods with multi-dimensional (and not just a single extra dimension, like foo[2][3]) array arguments and returns. edit: trigger rebuild, CI failed to fetch linter module. * accounts/abi/bind: improve array binding wrapArray uses a regex now, and arrayBindingJava is improved. * accounts/abi: Improve naming of element size func The full step size for unpacking an array is now retrieved with "getFullElemSize". * accounts/abi: support nested nested array args Previously, the code only considered the outer-size of the array, ignoring the size of the contents. This was fine for most types, but nested arrays are packed directly into it, and count towards the total size. This resulted in arguments following a nested array to replicate some of the binary contents of the array. The fix: for arrays, calculate their complete contents size: count the arg.Type.Elem.Size when Elem is an Array, and repeat when their child is an array too, etc. The count is the number of 32 byte elements, similar to how it previously counted, but nested. * accounts/abi: Test deep nested arr multi-arguments Arguments with a deeply nested array should not cause the next arguments to be read from the wrong position.
* | | Merge pull request #16245 from gluk256/311-close-channelGuillaume Ballet2018-03-051-8/+4
|\ \ \ | | | | | | | | whisper: close the `done` channel in one location
| * | | whisper: minor refactoringVlad2018-03-041-8/+4
|/ / /
* | | Merge pull request #16231 from gluk256/303-readergluk2562018-03-032-0/+41
|\ \ \ | | | | | | | | whisper: filereader mode introduced to wnode
| * | | whisper: filereader mode introduced to wnodeVlad2018-03-022-0/+41
| | | |
* | | | whisper/whisperv6: delete unused function (#16234)gluk2562018-03-031-14/+0
| | | |
* | | | light: new CHTs (#16233)Felföldi Zsolt2018-03-032-8/+10
| | | |
* | | | eth/downloader: save and load trie sync progress (#16224)Péter Szilágyi2018-03-033-1/+29
| | | |
* | | | internal/debug: add support for mutex profiles (#16230)Felix Lange2018-03-032-4/+38
| | | |
* | | | Merge pull request #16228 from karalabe/faucet-background-skipPéter Szilágyi2018-03-021-3/+16
|\ \ \ \ | | | | | | | | | | cmd/faucet: update state in background, skip when busy
| * | | | cmd/faucet: update state in background, skip when busyPéter Szilágyi2018-03-021-3/+16
| |/ / /
* / / / cmd/swarm: fix some typos in manifest cmd (#16227)Zhenguo Niu2018-03-021-3/+3
|/ / / | | | | | | Replace "atleast" with "at least" in the manifest error message.
* | | Merge pull request #16223 from gluk256/300-msg-serialiationGuillaume Ballet2018-03-029-68/+100
|\ \ \ | | | | | | | | whisper: topics replaced by bloom filters in mailserver communication
| * | | whisper: topics replaced by bloom filtersVlad2018-03-019-68/+100
| | | |
* | | | metrics: fix flaky Example metrics test (#16222)Anton Evangelatov2018-03-022-3/+4
|/ / / | | | | | | | | | | | | | | | * metrics: add sleep to test in order to get predictable output * metrics: relax constraints on timer test
* | | whisper: serious security issue fixed (#16219)gluk2562018-03-011-7/+10
| | | | | | | | | | | | | | | | | | | | | The diagnostic tool was saving the unencrypted version of the messages, which is an obvious security flaw. As of this commit: * encrypted messages saved instead of plain text. * all messages are stored, even that created by the user of wnode.
* | | Merge pull request #16210 from gluk256/288-filter-optimizationGuillaume Ballet2018-03-014-78/+76
|\ \ \ | | | | | | | | | | | | | | | | whisper: message filtering optimization Only run the message through filters who registered their interest.
| * | | whisper: style fixesVlad2018-02-282-17/+10
| | | |
| * | | whsiper: refactoringVlad2018-02-284-61/+22
| | | |
| * | | whisper: message filtering optimizedVlad2018-02-281-11/+55
| | | |
* | | | Merge pull request #16214 from b00ris/whisperv6_dataraceGuillaume Ballet2018-02-281-7/+11
|\ \ \ \ | | | | | | | | | | whisper: fixed dataraces in peer unit tests
| * | | | whisper: fix typob00ris2018-02-281-2/+2
| | | | |
| * | | | whisper: fixed dataraceb00ris2018-02-281-7/+11
| | | | |
* | | | | Merge pull request #16206 from gluk256/277-mailserverGuillaume Ballet2018-02-282-4/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | whisper: mailserver no longer supports the signature validation Mailserver is provided as an example, but client validation belongs to the upper layer protocol and needs not be covered in this example. The check that was previously available hinders the switch to libp2p so we agreed not to include that check in that example code anymore.
| * | | | | whisper: comment updatedVlad2018-02-281-1/+1
| | | | | |
| * | | | | whisper: test fixedVlad2018-02-271-1/+2
| | | | | |
| * | | | | whisper: mailserver no longer supports the signature vaidationVlad2018-02-271-2/+4
| | |/ / / | |/| | |
* | | | | Merge pull request #16217 from karalabe/rpc-receipt-fetch-fixPéter Szilágyi2018-02-281-2/+2
|\ \ \ \ \ | | | | | | | | | | | | internal/ethapi: fix getTransactionReceipt
| * | | | | internal/ethapi: fix getTransactionReceiptPéter Szilágyi2018-02-281-2/+2
| | | | | |
* | | | | | Merge pull request #16207 from karalabe/drop-go1.7Péter Szilágyi2018-02-288-169/+64
|\ \ \ \ \ \ | |/ / / / / |/| | | | | travis, build, consensus: drop support for Go 1.7
| * | | | | travis, build, consensus: drop support for Go 1.7Péter Szilágyi2018-02-288-169/+64
| | |/ / / | |/| | |
* / | | | core/asm: rename isAlphaNumeric to isLetter (#16212)Mark Rushakoff2018-02-281-2/+2
|/ / / / | | | | | | | | | | | | The function would return false for numbers, so isLetter is a more accurate description of the behavior.
* | | | swarm: give correct error on 0x hash prefix (#16195)Elad Nachmias2018-02-275-21/+98
| | | | | | | | | | | | | | | | | | | | | | | | - added a case error struct that contains information about certain error cases in which we would like to output more information to the client - added a validation method that iterates and adds the information that is stored in the error cases
* | | | node: fill StandardCounters as part of debugapi/metrics (#16054)Anton Evangelatov2018-02-271-0/+10
| | | |
* | | | eth: added travis build badge (#16117)Elad Nachmias2018-02-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * eth: added travis build status for master branch * README: fix travis badge order, link to CI
* | | | puppeth: fix Parity Chain Spec parameter GasLimitBoundDivision (#16188)Saulius Grigaitis2018-02-271-14/+14
| | | |
* | | | eth, les: allow exceeding maxPeers for trusted peers (#16189)Andrey Petrov2018-02-272-2/+4
|/ / / | | | | | | Fixes #3326, #14472
* | | Merge pull request #16198 from gluk256/266-wnodeGuillaume Ballet2018-02-271-14/+12
|\ \ \ | | | | | | | | whisper: refactor wnode to systematically store messages if a directory is provided
| * | | whipser: comments updatedVlad2018-02-271-3/+5
| | | |
| * | | whisper: wnode updated - all messages are saved if savedir param is givenVlad2018-02-261-14/+10
| | | |
* | | | p2p: fix doEncHandshake documentation (#16184)JU HYEONG PARK2018-02-271-4/+4
| | | |
* | | | core: make current*Block atomic, and accessor functions mutex-free (#16171)Martin Holst Swende2018-02-263-81/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * core: make current*Block atomic, and accessor functions mutex-free * core: fix review concerns * core: fix error in atomic assignment * core/light: implement atomic getter/setter for headerchain
* | | | cmd/geth: fix broken links to JavaScript-Console wiki in cmd line help (#16183)Domino Valdano2018-02-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | * Fixed broken link to JavaScript-Console wiki in cmd line help * cmd/geth: Added missing r in 'JavaScript'
* | | | contracts/chequebook: increase interval between auto deposits (#16178)Anton Evangelatov2018-02-261-2/+2
| | | |
* | | | swarm: creates Swarm landing page for browser 'localhost:xxxx/' GET request ↵cooganb2018-02-262-0/+152
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when running Swarm (#15926) * swarm: began work on GetHandleFile method re: issue #155 * swarm: now able to serve landing page template * swarm: added landing page template * swarm: landing page has working input * swarm: fixed CSS issue in template * swarm: deleted extra lines * swarm: deleted time header and made redirect a relative path * swarm: removed code mistakenly left
* | | Merge pull request #16176 from gluk256/255-refactoringGuillaume Ballet2018-02-243-51/+3
|\ \ \ | | | | | | | | whisper: filters no longer get removed after a while
| * | | whisper: refactoringVlad2018-02-233-51/+3
| | | |
* | | | swarm/metrics: introduce metrics export flag (#16177)Anton Evangelatov2018-02-231-13/+22
| | | |
* | | | swarm: initial instrumentation (#15969)Anton Evangelatov2018-02-2316-10/+381
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * swarm: initial instrumentation with go-metrics * swarm: initialise metrics collection and add ResettingTimer to HTTP requests * swarm: update metrics flags names. remove redundant Timer. * swarm: rename method for periodically updating gauges * swarm: finalise metrics after feedback * swarm/network: always init kad metrics containers * swarm/network: off-by-one index in metrics containers * swarm, metrics: resolved conflicts
* | | swarm/api/http: Fix using deprecated bzzr scheme (#16152)Lewis Marshall2018-02-231-1/+1
| | | | | | | | | | | | | | | Without this, deprecated bzzr requests just return an empty response. Signed-off-by: Lewis Marshall <lewis@lmars.net>
* | | Merge pull request #16172 from gluk256/244-light-clientgluk2562018-02-232-4/+19
|\ \ \ | | | | | | | | whisper: light client mode introduced
| * | | whisper: light client mode introducedVlad2018-02-232-4/+19
| | | |
* | | | core: flush out trie cache more meaningfully on stop (#16143)Péter Szilágyi2018-02-233-128/+123
| | | | | | | | | | | | | | | | | | | | | | | | * core: flush out trie cache more meaningfully on stop * core: upgrade legacy tests to chain maker
* | | | Merge pull request #16146 from status-im/pombeirp/whisperv6-peer-race-cond-fixGuillaume Ballet2018-02-231-0/+6
|\ \ \ \ | | | | | | | | | | Fix race condition in whisperv6/peer.go
| * | | | whisper: Fix race condition in whisperv6/peer.goPedro Pombeiro2018-02-211-0/+6
| | | | |
* | | | | core, vm, common: define constantinople fork + shift (#16045)Martin Holst Swende2018-02-238-41/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * core, vm, common: define constantinople fork, start implementation of shift instructions * vm: more testcases * vm: add tests for intpool erroneous intpool handling * core, vm, common: fix constantinople review concerns * vm: add string<->op definitions for new opcodes
* | | | | metrics: pull library and introduce ResettingTimer and InfluxDB reporter ↵Anton Evangelatov2018-02-2388-346/+7837
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#15910) * go-metrics: fork library and introduce ResettingTimer and InfluxDB reporter. * vendor: change nonsense/go-metrics to ethersphere/go-metrics * go-metrics: add tests. move ResettingTimer logic from reporter to type. * all, metrics: pull in metrics package in go-ethereum * metrics/test: make sure metrics are enabled for tests * metrics: apply gosimple rules * metrics/exp, internal/debug: init expvar endpoint when starting pprof server * internal/debug: tiny comment formatting fix
* | | | | Merge pull request #16164 from karalabe/les-receipt-fix-optimalPéter Szilágyi2018-02-238-17/+123
|\ \ \ \ \ | |_|/ / / |/| | | | eth, les, light: filter on logs only, derive receipts on demand
| * | | | eth, les, light: filter on logs only, derive receipts on demandPéter Szilágyi2018-02-238-17/+123
| | | | |
* | | | | Merge pull request #15748 from janos/multiple-ens-endpointsBalint Gabor2018-02-238-89/+586
|\ \ \ \ \ | | | | | | | | | | | | swarm: repeated --ens-api CLI flag (#14386)
| * \ \ \ \ swarm, cmd/swarm: Merge branch 'master' into multiple-ens-endpointsJanos Guljas2018-02-23148-3854/+3421
| |\ \ \ \ \
| * \ \ \ \ \ swarm, cmd/swarm: Merge branch 'master' into multiple-ens-endpointsJanos Guljas2018-02-22487-8032/+177991
| |\ \ \ \ \ \
| * | | | | | | cmd/swarm: return error early in buildConfig functionJanos Guljas2017-12-201-0/+3
| | | | | | | |
| * | | | | | | cmd/swarm: add validation for EnsAPIs configuration parameterJanos Guljas2017-12-192-0/+130
| | | | | | | |
| * | | | | | | swarm/api: implement NoResolverError with information about TLDJanos Guljas2017-12-192-7/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MultiResolver needs to provide information about TLD that has no resolver configured for.
| * | | | | | | cmd/swarm, swarm: disable ENS API by defaultJanos Guljas2017-12-183-36/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifying ENS API CLI flag, env variable or configuration field is required for ENS resolving. Backward compatibility is preserved with --ens-api="" CLI flag value.
| * | | | | | | cmd/swarm: Merge branch 'master' into multiple-ens-endpointsJanos Guljas2017-12-1430-79/+547
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a conflict in cmd/swarm envVarsOverride function.
| * \ \ \ \ \ \ \ swarm, cmd/swarm: Merge branch 'master' into multiple-ens-endpointsJanos Guljas2017-12-13140-2064/+4996
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge with changes that implement config file PR #15548. Field *EnsApi string* in swarm/api.Config is replaced with *EnsAPIs []string*. A new field *EnsDisabled bool* is added to swarm/api.Config for easy way to disable ENS resolving with config file. Signature of function swarm.NewSwarm is changed and simplified.
| * | | | | | | | | swarm/api: use path.Ext instead strings.LastIndex in MultiResolver.ResolveJanos Guljas2017-12-051-2/+3
| | | | | | | | | |
| * | | | | | | | | swarm: deprecate --ens-addr CLI flag with a warning messageJanos Guljas2017-12-051-6/+10
| | | | | | | | | |
| * | | | | | | | | swarm/api: remove unneeded blank assignementJanos Guljas2017-12-051-1/+1
| | | | | | | | | |
| * | | | | | | | | swarm/api: initialize map with make to comply with the conventionJanos Guljas2017-12-051-1/+1
| | | | | | | | | |
| * | | | | | | | | swarm/api: remove unneeded assignment in MultiResolverOptionWithResolverJanos Guljas2017-12-051-3/+0
| | | | | | | | | |
| * | | | | | | | | swarm: check if "--ens-api ''" is specified in order to disable ENSJanos Guljas2017-12-051-0/+4
| | | | | | | | | |
| * | | | | | | | | swarm: add comment for parseFlagEnsAPI and fix a mistake in comment in codeJanos Guljas2017-12-051-1/+3
| | | | | | | | | |
| * | | | | | | | | swarm: multiple --ens-api flagsJanos Guljas2017-12-042-20/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow multiple --ens-api flags to be specified with value format [tld:][contract-addr@]url. Backward compatibility with only one --ens-api flag and --ens-addr flag is preserved and conflict cases are handled: - multiple --ens-api with --ens-addr returns an error - single --ens-api with contract address and --ens-addr with different contract address returns an error Previously implemented --ens-endpoint is removed. Its functionality is replaced with multiple --ens-api flags.
| * | | | | | | | | swarm: add CLI --ens-endpoint flag (#14386)Janos Guljas2017-12-015-63/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a CLI flag that can be repeated to allow multiple ENS resolvers for different TLDs.
* | | | | | | | | | p2p: remove unused code (#16158)Ivan Daniluk2018-02-232-29/+1
| |_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p2p: remove unused code * p2p: remove unused imports
* | | | | | | | | rpc: set rpcRequest.service as methodNotFoundError.service value (#16163)Janoš Guljaš2018-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RPC Server readRequest method sets the serverRequest error service value as the rpcRequest.method and this change sets it to the right service value.