Felix Lange
12f4d28411
internal/debug: add support for mutex profiles ( #16230 )
2018-03-03 00:52:21 +01:00
Péter Szilágyi
49bcb5fbd5
Merge pull request #16228 from karalabe/faucet-background-skip
...
cmd/faucet: update state in background, skip when busy
2018-03-02 12:13:19 +02:00
Péter Szilágyi
6f13e515f4
cmd/faucet: update state in background, skip when busy
2018-03-02 12:02:23 +02:00
Zhenguo Niu
d520bf4503
cmd/swarm: fix some typos in manifest cmd ( #16227 )
...
Replace "atleast" with "at least" in the manifest error message.
2018-03-02 10:59:26 +01:00
Guillaume Ballet
a76e46e3d7
Merge pull request #16223 from gluk256/300-msg-serialiation
...
whisper: topics replaced by bloom filters in mailserver communication
2018-03-01 20:27:20 +01:00
Anton Evangelatov
3ca3fffdf0
metrics: fix flaky Example metrics test ( #16222 )
...
* metrics: add sleep to test in order to get predictable output
* metrics: relax constraints on timer test
2018-03-01 19:55:31 +02:00
Vlad
ee75a90ab4
whisper: topics replaced by bloom filters
2018-03-01 16:04:09 +01:00
gluk256
5a150e1b77
whisper: serious security issue fixed ( #16219 )
...
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.
2018-03-01 09:34:46 +01:00
Guillaume Ballet
9b4e182ce5
Merge pull request #16210 from gluk256/288-filter-optimization
...
whisper: message filtering optimization
Only run the message through filters who registered their interest.
2018-02-28 17:28:09 +01:00
Vlad
d24d10a764
whisper: style fixes
2018-02-28 15:05:35 +01:00
Guillaume Ballet
52bb0a1ec7
Merge pull request #16214 from b00ris/whisperv6_datarace
...
whisper: fixed dataraces in peer unit tests
2018-02-28 14:31:19 +01:00
Guillaume Ballet
1843615456
Merge pull request #16206 from gluk256/277-mailserver
...
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.
2018-02-28 14:10:08 +01:00
Péter Szilágyi
7843192c8e
Merge pull request #16217 from karalabe/rpc-receipt-fetch-fix
...
internal/ethapi: fix getTransactionReceipt
2018-02-28 13:40:17 +02:00
b00ris
62c239f608
whisper: fix typo
2018-02-28 14:38:42 +03:00
Péter Szilágyi
8f43c97433
Merge pull request #16207 from karalabe/drop-go1.7
...
travis, build, consensus: drop support for Go 1.7
2018-02-28 13:29:58 +02:00
Péter Szilágyi
ba7b384019
internal/ethapi: fix getTransactionReceipt
2018-02-28 12:40:15 +02:00
Mark Rushakoff
98ec5e5011
core/asm: rename isAlphaNumeric to isLetter ( #16212 )
...
The function would return false for numbers, so isLetter is a more
accurate description of the behavior.
2018-02-28 12:20:07 +02:00
b00ris
cf52d5c91f
whisper: fixed datarace
2018-02-28 09:50:36 +03:00
Vlad
a69cb3b4ff
whisper: comment updated
2018-02-28 00:39:38 +01:00
Vlad
c733792be4
whsiper: refactoring
2018-02-27 23:38:20 +01:00
Vlad
014d8d9837
whisper: message filtering optimized
2018-02-27 21:16:15 +01:00
Péter Szilágyi
17b0e226d3
travis, build, consensus: drop support for Go 1.7
2018-02-27 18:25:56 +02:00
Vlad
5e30a5f66e
whisper: test fixed
2018-02-27 15:52:10 +01:00
Vlad
dadf4d53ab
whisper: mailserver no longer supports the signature vaidation
2018-02-27 15:45:00 +01:00
Elad Nachmias
b574b57766
swarm: give correct error on 0x hash prefix ( #16195 )
...
- 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
2018-02-27 15:32:38 +02:00
Anton Evangelatov
18bb3da55e
node: fill StandardCounters as part of debugapi/metrics ( #16054 )
2018-02-27 15:30:07 +02:00
Elad Nachmias
dd389e595f
eth: added travis build badge ( #16117 )
...
* eth: added travis build status for master branch
* README: fix travis badge order, link to CI
2018-02-27 13:04:47 +02:00
Saulius Grigaitis
c41f1a3e23
puppeth: fix Parity Chain Spec parameter GasLimitBoundDivision ( #16188 )
2018-02-27 12:56:51 +02:00
Andrey Petrov
2e9c8fd4fb
eth, les: allow exceeding maxPeers for trusted peers ( #16189 )
...
Fixes #3326 , #14472
2018-02-27 12:52:59 +02:00
Guillaume Ballet
4c845bdc27
Merge pull request #16198 from gluk256/266-wnode
...
whisper: refactor wnode to systematically store messages if a directory is provided
2018-02-26 21:23:51 +01:00
Vlad
f4e676cccd
whipser: comments updated
2018-02-26 19:26:36 +01:00
JU HYEONG PARK
61c9730b2d
p2p: fix doEncHandshake documentation ( #16184 )
2018-02-26 17:22:46 +01:00
Vlad
6e0667fa06
whisper: wnode updated - all messages are saved if savedir param is given
2018-02-26 13:58:04 +01:00
Martin Holst Swende
f83237573f
core: make current*Block atomic, and accessor functions mutex-free ( #16171 )
...
* 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
2018-02-26 11:53:10 +02:00
Domino Valdano
d398d04e27
cmd/geth: fix broken links to JavaScript-Console wiki in cmd line help ( #16183 )
...
* Fixed broken link to JavaScript-Console wiki in cmd line help
* cmd/geth: Added missing r in 'JavaScript'
2018-02-26 11:38:17 +02:00
Anton Evangelatov
764878d988
contracts/chequebook: increase interval between auto deposits ( #16178 )
2018-02-26 11:36:26 +02:00
cooganb
22fc6928d7
swarm: creates Swarm landing page for browser 'localhost:xxxx/' GET request 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
2018-02-26 09:56:40 +01:00
Guillaume Ballet
423c8bb1d8
Merge pull request #16176 from gluk256/255-refactoring
...
whisper: filters no longer get removed after a while
2018-02-23 18:02:51 +01:00
Anton Evangelatov
114738982e
swarm/metrics: introduce metrics export flag ( #16177 )
2018-02-23 16:22:16 +01:00
Vlad
6919c36432
whisper: refactoring
2018-02-23 14:52:25 +01:00
Anton Evangelatov
dcca613a0b
swarm: initial instrumentation ( #15969 )
...
* 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
2018-02-23 14:19:59 +01:00
Lewis Marshall
b677a07d36
swarm/api/http: Fix using deprecated bzzr scheme ( #16152 )
...
Without this, deprecated bzzr requests just return an empty response.
Signed-off-by: Lewis Marshall <lewis@lmars.net>
2018-02-23 14:09:01 +01:00
gluk256
4702ace5f7
Merge pull request #16172 from gluk256/244-light-client
...
whisper: light client mode introduced
2018-02-23 14:07:29 +01:00
Péter Szilágyi
89f914c030
core: flush out trie cache more meaningfully on stop ( #16143 )
...
* core: flush out trie cache more meaningfully on stop
* core: upgrade legacy tests to chain maker
2018-02-23 14:02:33 +02:00
Guillaume Ballet
fb5d085234
Merge pull request #16146 from status-im/pombeirp/whisperv6-peer-race-cond-fix
...
Fix race condition in whisperv6/peer.go
2018-02-23 11:49:47 +01:00
Martin Holst Swende
44d40ffce1
core, vm, common: define constantinople fork + shift ( #16045 )
...
* 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
2018-02-23 12:32:57 +02:00
Vlad
d7b4b40cb6
whisper: light client mode introduced
2018-02-23 11:10:28 +01:00
Anton Evangelatov
ae9f97221a
metrics: pull library and introduce ResettingTimer and InfluxDB reporter ( #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
2018-02-23 11:56:08 +02:00
Péter Szilágyi
7f74bdf8dd
Merge pull request #16164 from karalabe/les-receipt-fix-optimal
...
eth, les, light: filter on logs only, derive receipts on demand
2018-02-23 11:50:16 +02:00
Balint Gabor
a1984ce727
Merge pull request #15748 from janos/multiple-ens-endpoints
...
swarm: repeated --ens-api CLI flag (#14386 )
2018-02-22 23:15:13 +01:00