aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | | | | | | p2p, p2p/discover: misc connectivity improvements (#16069)Felix Lange2018-02-1210-277/+801
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p2p: add DialRatio for configuration of inbound vs. dialed connections * p2p: add connection flags to PeerInfo * p2p/netutil: add SameNet, DistinctNetSet * p2p/discover: improve revalidation and seeding This changes node revalidation to be periodic instead of on-demand. This should prevent issues where dead nodes get stuck in closer buckets because no other node will ever come along to replace them. Every 5 seconds (on average), the last node in a random bucket is checked and moved to the front of the bucket if it is still responding. If revalidation fails, the last node is replaced by an entry of the 'replacement list' containing recently-seen nodes. Most close buckets are removed because it's very unlikely we'll ever encounter a node that would fall into any of those buckets. Table seeding is also improved: we now require a few minutes of table membership before considering a node as a potential seed node. This should make it less likely to store short-lived nodes as potential seeds. * p2p/discover: fix nits in UDP transport We would skip sending neighbors replies if there were fewer than maxNeighbors results and CheckRelayIP returned an error for the last one. While here, also resolve a TODO about pong reply tokens.
* | | | | | | | Merge pull request #16068 from karalabe/import-known-rolledback-blocksPéter Szilágyi2018-02-121-2/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | core: force import known but rolled back blocks
| * | | | | | | | core: force import known but rolled back blocksPéter Szilágyi2018-02-121-2/+6
|/ / / / / / / /
* | | | | | | | internal/build: fix usage of strings.TrimLeft (#16066)ferhat elmas2018-02-121-1/+1
| | | | | | | |
* | | | | | | | Merge pull request #16063 from karalabe/deprecate-ubuntu-zestyPéter Szilágyi2018-02-121-1/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | build: deprecate zesty, add bionic PPA
| * | | | | | | | build: deprecate zesty, add bionic PPAPéter Szilágyi2018-02-121-1/+2
|/ / / / / / / /
* | | | | | | | Merge pull request #16062 from karalabe/nodisable-fastsyncPéter Szilágyi2018-02-121-10/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | eth: only disable fast sync after success
| * | | | | | | | eth: only disable fast sync after successPéter Szilágyi2018-02-111-10/+5
|/ / / / / / / /
* | | | | | | | Merge pull request #16061 from karalabe/downloader-nostate-ancestor-lookupPéter Szilágyi2018-02-112-13/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | eth/downloader: don't require state for ancestor lookups
| * | | | | | | | eth/downloader: don't require state for ancestor lookupsPéter Szilágyi2018-02-112-13/+9
| | | | | | | | |
* | | | | | | | | les, light: fix CHT trie retrievals (#16039)Péter Szilágyi2018-02-1110-119/+210
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * les, light: fix CHT trie retrievals * les, light: minor polishes, test remote CHT retrievals * les, light: deterministic nodeset rlp, bloombits test skeleton * les: add an event emission to the les bloombits test * les: drop dead tester code
* | | | | | | | whisper: get wnode to work with v6 (#16051)Guillaume Ballet2018-02-1011-54/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bulk of the issue was to adapt to the new requirement that a v6 filter has to either contain a symmertric key or an asymmetric one. This commits revert one of the fixes that I made to remove a linter warning: unexporting NewSentMessage. This is not really a problem as I have a cleanup in the pipe that will solve this issue.
* | | | | | | | les: fix server panic when discovery disabled (#16055)Felföldi Zsolt2018-02-101-9/+11
| | | | | | | |
* | | | | | | | README: remove --fast and --cache flags and clarify default sync mode (#16043)Chase Wright2018-02-101-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove --fast flag and clarify default `--fast` is no longer a flag it's `--syncmode "fast"` and that is the default * Remove --cache flag --cache=512 is no longer required as of 1.8 as the default has been increased * README: Minor cache amount fix, mention Rinkeby
* | | | | | | | whisper: bloom filter refactoring (#16046)gluk2562018-02-092-16/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * whisper: bloom filter refactoring * whisper: fixed full node
* | | | | | | | whisper: Seal function fixed (#16048)gluk2562018-02-091-6/+14
| | | | | | | |
* | | | | | | | p2p/discv5: fix multiple discovery issues (#16036)Felföldi Zsolt2018-02-093-27/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p2p/discv5: add query delay, fix node address update logic, retry refresh if empty * p2p/discv5: remove unnecessary ping before topic query * p2p/discv5: do not filter local address from topicNodes * p2p/discv5: remove canQuery() * p2p/discv5: gofmt
* | | | | | | | params: update ropsten bootnodes (#16029)cdetrio2018-02-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * params: update ropsten bootnodes * params: fix linter
* | | | | | | | Merge pull request #16037 from karalabe/light-startup-polishesPéter Szilágyi2018-02-084-9/+4
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | eth, light: minor light client startup cleanups
| * | | | | | | eth, light: minor light client startup cleanupsPéter Szilágyi2018-02-084-9/+4
| | | | | | | |
* | | | | | | | Merge pull request #16022 from gballet/whisper-v6-investigate-macos-timeoutgluk2562018-02-071-1/+1
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | whisper: improve a log message to analyze a travis issue
| * | | | | | | whisper: improve a log message to analyze a travis issueGuillaume Ballet2018-02-061-1/+1
| | | | | | | |
* | | | | | | | core, trie: intermediate mempool between trie and database (#15857)Péter Szilágyi2018-02-0669-1159/+1953
| | | | | | | | | | | | | | | | | | | | | | | | This commit reduces database I/O by not writing every state trie to disk.
* | | | | | | | Merge pull request #16020 from evertonfraga/patch-1Péter Szilágyi2018-02-051-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | github: Replaces Wiki link [ci skip]
| * | | | | | | | github: Replaces Wiki linkEv2018-02-051-1/+1
|/ / / / / / / /
* | | | | | | | les: limit LES peer count and improve peer configuration logic (#16010)Felföldi Zsolt2018-02-057-11/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * les: limit number of LES connections * eth, cmd/utils: light vs max peer configuration logic
* | | | | | | | eth/downloader: fix #15858 by checking if downloader dropPeer function is ↵Martin Holst Swende2018-02-051-3/+20
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | set (#15992)
* | | | | | | Merge pull request #16009 from holiman/db_handlesPéter Szilágyi2018-02-041-3/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | cmd/utils: fix #16006 by not lowering OS ulimit
| * | | | | | | utils: fix #16006 by not lowering OS ulimitMartin Holst Swende2018-02-021-3/+5
| | | | | | | |
* | | | | | | | Merge pull request #16011 from karalabe/fix-bootnode-gofmtPéter Szilágyi2018-02-021-2/+2
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | params: fix bootnodes gofmt
| * | | | | | | params: fix bootnodes gofmtPéter Szilágyi2018-02-021-2/+2
|/ / / / / / /
* | | | | | | params: Add Ropsten bootnodes (#16008)Afri Schoedon2018-02-011-0/+2
| | | | | | |
* | | | | | | Merge pull request #15996 from karalabe/drop-redundant-methodsPéter Szilágyi2018-01-3110-65/+54
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | core, eth, les, light: get rid of redundant methods
| * | | | | | | core, eth, les, light: get rid of redundant methodsPéter Szilágyi2018-01-3110-65/+54
| | | | | | | |
* | | | | | | | Merge pull request #15997 from karalabe/batch-reset-sizePéter Szilágyi2018-01-311-0/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | ethdb: reset the batch size too on reset
| * | | | | | | | ethdb: reset the batch size too on resetPéter Szilágyi2018-01-311-0/+1
|/ / / / / / / /
* / / / / / / / core, ethdb: reuse database batches (#15989)Martin Holst Swende2018-01-314-1/+16
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * leveldb: Update leveldb to 211f780 (poolfix) * core, ethdb: reuse database batches
* | | | | | | p2p/discv5: fix removeTicketRef cached ticket removal (#15995)Felföldi Zsolt2018-01-311-4/+4
| | | | | | |
* | | | | | | whisper: change the whisper message format so as to add the payload size ↵gluk2562018-01-308-183/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#15870) * whisper: message format changed * whisper: tests fixed * whisper: style fixes * whisper: fixed names, fixed failing tests * whisper: fix merge issue in #15870 Occured while using the github online merge tool. Lesson learned. * whisper: fix a gofmt error for #15870
* | | | | | | vendor: update leveldb to 211f780 (poolfix) (#15988)Martin Holst Swende2018-01-295-22/+27
| | | | | | |
* | | | | | | internal: fix a typo that caused a lint error on travis (#15987)Guillaume Ballet2018-01-291-1/+1
| | | | | | |
* | | | | | | ethapi: add personal.signTransaction (#15971)Martin Holst Swende2018-01-272-20/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ethapi: add personal.signTransaction * ethapi: refactor to minimize duplicate code * ethapi: make nonce,gas,gasPrice obligatory in signTransaction
* | | | | | | les: fix TxStatusMsg RLP coding (#15974)Felföldi Zsolt2018-01-273-5/+5
| | | | | | |
* | | | | | | whisper: remove linter warnings (#15972)Guillaume Ballet2018-01-2619-328/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * whisper: fixes warnings from the code linter * whisper: more non-API-breaking changes The remaining lint errors are because of auto-generated files and one is because an exported function has a non- exported return type. Changing this would break the API, and will be part of another commit for easier reversal. * whisper: un-export NewSentMessage to please the linter This is an API change, which is why it's in its own commit. This change was initiated after the linter complained that the returned type wasn't exported. I chose to un-export the function instead of exporting the type, because that type is an implementation detail that I would like to change in the near future to make the code more readable and with an increased coverage. * whisper: update gencodec output after upgrading it to new lint standards
* | | | | | | whisper: fix empty topic (#15811)b00ris2018-01-266-16/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * whisper: fix empty topic * whisper: add check to matchSingleTopic * whisper: add tests * whisper: fix gosimple * whisper: added lastTopicByte const
* | | | | | | accounts: fix comment typo (#15977)Miguel Mota2018-01-261-1/+1
| | | | | | |
* | | | | | | accounts/abi/bind/backends: fix comment typo (#15914)waymobetta2018-01-250-0/+0
| | | | | | |
* | | | | | | cmd, params: update discovery v5 bootnodes (#15954)Felföldi Zsolt2018-01-252-9/+2
| | | | | | |
* | | | | | | rpc: Support specifying HTTP client in RPC dialing (#15836)Steven Roose2018-01-241-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rpc: Support specifying HTTP client in RPC dialing Adds a minimal interface that captures http.Client and adds a new method rpc.DialHTTPClient that takes a client using that interface. The existing rpc.DialHTTP method is then alternatively implemented by using the new rpc.DialHTTPClient method provided with a standard *http.Client. * rpc: fix minor doc typos
* | | | | | | Merge pull request #15832 from karalabe/abigen-eventsPéter Szilágyi2018-01-2425-1463/+2524
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | accounts/abi/bind: support event filtering in abigen