aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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 stablev1.8.3Felix 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 stablev1.8.2Pé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.
* | | | | | | | | Merge pull request #16166 from karalabe/drop-deadPéter Szilágyi2018-02-221-23/+0
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | core: yeah, funny file, drop it
| * | | | | | | | core: yeah, funny file, drop itPéter Szilágyi2018-02-221-23/+0
| | | | | | | | |
* | | | | | | | | Merge pull request #15919 from ethersphere/p2p-protocols-prBalint Gabor2018-02-225-0/+1316
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | p2p/protocols, p2p/testing: protocol abstraction and testing
| * | | | | | | | p2p/protocols: gofmt -w -sFelix Lange2018-02-221-22/+22
| | | | | | | | |
| * | | | | | | | p2p/testing: check for all expectations in TestExchangesJanos Guljas2018-02-182-57/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle all expectations in ProtocolSession.TestExchanges in any order that are received.
| * | | | | | | | p2p/protocols, p2p/testing: protocol abstraction and testingzelig2018-01-185-0/+1173
| | | | | | | | |
* | | | | | | | | Merge pull request #16165 from karalabe/faucet-twitter-apiPéter Szilágyi2018-02-221-2/+7
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | cmd/faucet: resolve twitter user from final redirect
| * | | | | | | | | cmd/faucet: resolve twitter user from final redirectPéter Szilágyi2018-02-221-2/+7
|/ / / / / / / / /
* | | | | | | | | p2p: don't send DiscReason when using net.Pipe (#16004)Anton Evangelatov2018-02-222-5/+43
| | | | | | | | |
* | | | | | | | | whisper: Support for v2 has long been discontinued, remove it. (#16153)Guillaume Ballet2018-02-2215-2892/+0
| | | | | | | | |
* | | | | | | | | Merge pull request #16157 from nileshtrivedi/masterPéter Szilágyi2018-02-221-3/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | cmd/puppeth: Don't allow hyphen in network name. Fixes #16155
| * | | | | | | | | cmd/puppeth: Don't allow hyphen in network name. Fixes #16155Nilesh Trivedi2018-02-221-3/+4
|/ / / / / / / / /
* | | | | | | | | Merge pull request #15776 from ProChain/masterMartin Holst Swende2018-02-221-5/+13
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | accounts/abi: Fix the bug of mobile framework crashing
| * | | | | | | | | accounts/abi: fix the `output` at the beginning instead of making a workaroundcroath2018-01-233-51/+13
| | | | | | | | | |
| * | | | | | | | | accounts/abi: add a test case for unpacking mobile interfacescroath2017-12-311-0/+36
| | | | | | | | | |
| * | | | | | | | | accounts/abi: fix for one output interface crashingcroath2017-12-291-0/+10
| | | | | | | | | |
* | | | | | | | | | Merge pull request #15770 from holiman/abi_nostructMartin Holst Swende2018-02-215-63/+166
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | accounts/abi: add another unpack interface
| * | | | | | | | | | abi: fix missing method on go 1.7/1.8Martin Holst Swende2018-02-211-13/+23
| | | | | | | | | | |
| * | | | | | | | | | accounts/abi: harden unpacking against malicious inputMartin Holst Swende2018-02-212-4/+83
| | | | | | | | | | |
| * | | | | | | | | | accounts/abi: address review concernsMartin Holst Swende2018-02-214-352/+5
| | | | | | | | | | |
| * | | | | | | | | | accounts/abi: Deduplicate code in unpackerMartin Holst Swende2018-02-214-53/+33
| | | | | | | | | | |
| * | | | | | | | | | accounts/abi: add another unpack interfaceMartin Holst Swende2018-02-215-14/+395
| | |_|_|_|_|_|/ / / | |/| | | | | | | |
* | | | | | | | | | ethapi: prevent creating contract if no data is provided (#16108)Martin Holst Swende2018-02-211-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ethapi: prevent creating contract if no data is provided * internal/ethapi: downcase error for no data on contract creation
* | | | | | | | | | p2p: when peer is removed remove it also from dial history (#16060)Dmitry Shulyak2018-02-212-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change removes a peer information from dialing history when peer is removed from static list. It allows to force a server to re-dial concrete peer if it is needed. In our case we are running geth node on mobile devices, and it is common for a network connection to flap on mobile. Almost every time it flaps or network connection is changed from cellular to wifi peers are disconnected with read timeout. And usually it takes 30 seconds (default expiration timeout) to recover connection with static peers after connectivity is restored. This change allows us to reconnect with peers almost immediately and it seems harmless enough.
* | | | | | | | | | Merge pull request #16142 from karalabe/graceful-sigtermPéter Szilágyi2018-02-213-4/+7
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | cmd, console: support all termination signals
| * | | | | | | | | cmd, console: support all termination signalsPéter Szilágyi2018-02-213-4/+7
|/ / / / / / / / /
* | | | | | | | | README: add goreportcard.com badge to Readme (#16133)steve greensill2018-02-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: add goreportcard.com badge to Readme * README: fix double github.com
* | | | | | | | | VERSION, params: begin v1.8.2 release cyclePéter Szilágyi2018-02-192-5/+5
| | | | | | | | |
* | | | | | | | | params: release Geth v1.8.1v1.8.1Péter Szilágyi2018-02-191-4/+4
| | | | | | | | |
* | | | | | | | | les: fix light fetcher database race (#16103)Felföldi Zsolt2018-02-191-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * les: fix light fetcher database race * les: lightFetcher comments
* | | | | | | | | Merge pull request #16115 from nonsense/update_rjeczalik_notifyPéter Szilágyi2018-02-194-29/+6
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | vendor: update rjeczalik/notify so that it compiles on go1.10
| * | | | | | | | | vendor: update rjeczalik/notify so that it compiles on go1.10Anton Evangelatov2018-02-174-29/+6
| | |_|_|_|_|_|_|/ | |/| | | | | | |
* | | | | | | | | Merge pull request #16109 from karalabe/p2p-bond-checkPéter Szilágyi2018-02-185-25/+26
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | p2p/discover: validate bond against lastpong, not db presence
| * | | | | | | | p2p/discover: s/lastPong/bondTime/, update TestUDP_findnodeFelix Lange2018-02-175-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I forgot to change the check in udp.go when I changed Table.bond to be based on lastPong instead of node presence in db. Rename lastPong to bondTime and add hasBond so it's clearer what this DB key is used for now.
| * | | | | | | | p2p/discover: validate bond against lastpong, not db presencePéter Szilágyi2018-02-161-1/+1
|/ / / / / / / /
* | | | | | | | swarm: add favicon for Swarm templates served by browser (#15958)cooganb2018-02-153-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * swarm: added script to HTML header to create favicon addresses #153 * swarm: moved data blob direclty into link tag, removed script * swarm: added favicon info to other html templates * swarm: fixing test errors * swarm: fixing favicon test * swarm: fixing travis tests * swarm: added script to HTML header to create favicon addresses #153 * swarm: moved data blob direclty into link tag, removed script * swarm: added favicon info to other html templates * swarm: fixing test errors * swarm: fixing favicon test * swarm: fixing travis tests
* | | | | | | | whisper: only use the node id as a p2p id, not for sending messages (#16102)Guillaume Ballet2018-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is in preparation for the switch to libp2p: the ID generated will be from a private key created with the help of libp2p's crypto library, while Whisper will still use Go's default crypto libraries for encrypting its messages. This change removes a conflict. It shouldn't have any impact as the person receiving emails is the user, not the node.
* | | | | | | | whisper: test timeout extended (#16088)gluk2562018-02-151-25/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * whisper: timeout extended * whisper: test updated * whisper: test updated
* | | | | | | | Merge pull request #16095 from karalabe/les-lockPéter Szilágyi2018-02-151-0/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | les: add missing lock around peer access
| * | | | | | | | les: add missing lock around peer accessPéter Szilágyi2018-02-151-0/+3
| | | | | | | | |
* | | | | | | | | node: fix typo hvosts -> vhosts (#16096)GuiltyMorishita2018-02-151-1/+1
| | | | | | | | |
* | | | | | | | | Merge pull request #16098 from holiman/fix_importPéter Szilágyi2018-02-151-0/+3
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | main: add gc flags to import-command
| * | | | | | | | | main: add gc flags to import-commandMartin Holst Swende2018-02-151-0/+3
| | | | | | | | | |
* | | | | | | | | | core: handle ignored error (#16065)ferhat elmas2018-02-151-0/+3
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - according to implementation of `IntrinsicGas` we can continue execution since problem will be detected later. However, early return is future-proof for changes.
* | | | | | | | | core/vm: remove unused hashing (#16075)ferhat elmas2018-02-141-7/+0
| | | | | | | | |
* | | | | | | | | params, VERSION: v1.8.1 unstableFelix Lange2018-02-142-5/+5
| | | | | | | | |
* | | | | | | | | params: v1.8.0 stablev1.8.0Felix Lange2018-02-141-4/+4
| | | | | | | | |
* | | | | | | | | containers/docker: bump legacy images to 1.8 branch (#16084)Péter Szilágyi2018-02-142-2/+2
| | | | | | | | |
* | | | | | | | | all: update license information (#16089)Felix Lange2018-02-1437-73/+235
|/ / / / / / / /
* | | | | | | | Merge pull request #16085 from karalabe/p2p-fix-outofboundsPéter Szilágyi2018-02-141-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | p2p/discover: fix out-of-bounds issue
| * | | | | | | | p2p/discover: fix out-of-bounds issuePéter Szilágyi2018-02-141-1/+1
|/ / / / / / / /
* | | | | | | | travis.yml: work around Go 1.9.4 issue (#16082)Felix Lange2018-02-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * travis.yml: work around Go 1.9.4 issue * travis: workaround the workaround
* | | | | | | | core: soften up state memory force-commit log messages (#16080)Felix Lange2018-02-131-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Talk about "state" instead of "trie timing", "trie memory" and remove the overzealous warning when the limit is just reached. Since the time limit is always reached on slow machines, move the message to info level so users don't freak out about internal details.
* | | | | | | | Merge pull request #16073 from karalabe/puppeth-unify-discoveryPéter Szilágyi2018-02-139-101/+78
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | cmd/puppeth: unify discv4 and discv5 ports
| * | | | | | | | cmd/puppeth: unify discv4 and discv5 portsPéter Szilágyi2018-02-129-101/+78
| | | | | | | | |
* | | | | | | | | light: new CHTs (#16074)Felföldi Zsolt2018-02-131-8/+8
|/ / / / / / / /
* | | | | | | | Merge pull request #16071 from holiman/lintfixPéter Szilágyi2018-02-122-2/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | node, rpc: fix linter issues
| * | | | | | | | node, rpc: fix linter issuesMartin Holst Swende2018-02-122-2/+1
|/ / / / / / / /
* | | | | | | | rpc: dns rebind protection (#15962)Martin Holst Swende2018-02-128-22/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cmd,node,rpc: add allowedHosts to prevent dns rebinding attacks * p2p,node: Fix bug with dumpconfig introduced in r54aeb8e4c0bb9f0e7a6c67258af67df3b266af3d * rpc: add wildcard support for rpcallowedhosts + go fmt * cmd/geth, cmd/utils, node, rpc: ignore direct ip(v4/6) addresses in rpc virtual hostnames check * http, rpc, utils: make vhosts into map, address review concerns * node: change log messages to use geth standard (not sprintf) * rpc: fix spelling