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
7 years ago
Guillaume Ballet
fb5d085234
Merge pull request #16146 from status-im/pombeirp/whisperv6-peer-race-cond-fix
...
Fix race condition in whisperv6/peer.go
7 years ago
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
7 years ago
Vlad
d7b4b40cb6
whisper: light client mode introduced
7 years ago
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
7 years ago
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
7 years ago
Balint Gabor
a1984ce727
Merge pull request #15748 from janos/multiple-ens-endpoints
...
swarm: repeated --ens-api CLI flag (#14386 )
7 years ago
Janos Guljas
6a9730edaa
swarm, cmd/swarm: Merge branch 'master' into multiple-ens-endpoints
7 years ago
Ivan Daniluk
8522b31221
p2p: remove unused code ( #16158 )
...
* p2p: remove unused code
* p2p: remove unused imports
7 years ago
Péter Szilágyi
5cf1d35470
eth, les, light: filter on logs only, derive receipts on demand
7 years ago
Janoš Guljaš
4535247793
rpc: set rpcRequest.service as methodNotFoundError.service value ( #16163 )
...
RPC Server readRequest method sets the serverRequest error service
value as the rpcRequest.method and this change sets it to the right
service value.
7 years ago
Péter Szilágyi
44c393607e
Merge pull request #16166 from karalabe/drop-dead
...
core: yeah, funny file, drop it
7 years ago
Balint Gabor
221486a291
Merge pull request #15919 from ethersphere/p2p-protocols-pr
...
p2p/protocols, p2p/testing: protocol abstraction and testing
7 years ago
Péter Szilágyi
0b3e23f636
core: yeah, funny file, drop it
7 years ago
Janos Guljas
a3a07350dc
swarm, cmd/swarm: Merge branch 'master' into multiple-ens-endpoints
7 years ago
Péter Szilágyi
5be1085b6b
Merge pull request #16165 from karalabe/faucet-twitter-api
...
cmd/faucet: resolve twitter user from final redirect
7 years ago
Péter Szilágyi
72c4c50777
cmd/faucet: resolve twitter user from final redirect
7 years ago
Anton Evangelatov
1e457b6599
p2p: don't send DiscReason when using net.Pipe ( #16004 )
7 years ago
Felix Lange
28b20cff4b
p2p/protocols: gofmt -w -s
7 years ago
Guillaume Ballet
bb5349b154
whisper: Support for v2 has long been discontinued, remove it. ( #16153 )
7 years ago
Péter Szilágyi
724a915470
Merge pull request #16157 from nileshtrivedi/master
...
cmd/puppeth: Don't allow hyphen in network name. Fixes #16155
7 years ago
Nilesh Trivedi
085d3fbf72
cmd/puppeth: Don't allow hyphen in network name. Fixes #16155
7 years ago
Martin Holst Swende
45ce4dce3f
Merge pull request #15776 from ProChain/master
...
accounts/abi: Fix the bug of mobile framework crashing
7 years ago
Martin Holst Swende
f54506ccf8
Merge pull request #15770 from holiman/abi_nostruct
...
accounts/abi: add another unpack interface
7 years ago
Martin Holst Swende
b585f76128
ethapi: prevent creating contract if no data is provided ( #16108 )
...
* ethapi: prevent creating contract if no data is provided
* internal/ethapi: downcase error for no data on contract creation
7 years ago
Dmitry Shulyak
14c76371ba
p2p: when peer is removed remove it also from dial history ( #16060 )
...
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.
7 years ago
Péter Szilágyi
7d57824663
Merge pull request #16142 from karalabe/graceful-sigterm
...
cmd, console: support all termination signals
7 years ago
Péter Szilágyi
01507d9b9d
cmd, console: support all termination signals
7 years ago
Pedro Pombeiro
34d94e22d9
whisper: Fix race condition in whisperv6/peer.go
7 years ago
Martin Holst Swende
61f2279bde
abi: fix missing method on go 1.7/1.8
7 years ago
Martin Holst Swende
bd6ed23899
accounts/abi: harden unpacking against malicious input
7 years ago
Martin Holst Swende
08c5d4dd27
accounts/abi: address review concerns
7 years ago
Martin Holst Swende
f0f594d045
accounts/abi: Deduplicate code in unpacker
7 years ago
Martin Holst Swende
1ede68355d
accounts/abi: add another unpack interface
7 years ago
steve greensill
5603715c06
README: add goreportcard.com badge to Readme ( #16133 )
...
* README: add goreportcard.com badge to Readme
* README: fix double github.com
7 years ago
Péter Szilágyi
46a5532ac5
VERSION, params: begin v1.8.2 release cycle
7 years ago
Péter Szilágyi
1e67410e88
params: release Geth v1.8.1
7 years ago
Felföldi Zsolt
1bdde620da
les: fix light fetcher database race ( #16103 )
...
* les: fix light fetcher database race
* les: lightFetcher comments
7 years ago
Péter Szilágyi
06c5cae315
Merge pull request #16115 from nonsense/update_rjeczalik_notify
...
vendor: update rjeczalik/notify so that it compiles on go1.10
7 years ago
Janos Guljas
e07603bbc4
p2p/testing: check for all expectations in TestExchanges
...
Handle all expectations in ProtocolSession.TestExchanges in any
order that are received.
7 years ago
Péter Szilágyi
9fd76e33af
Merge pull request #16109 from karalabe/p2p-bond-check
...
p2p/discover: validate bond against lastpong, not db presence
7 years ago
Anton Evangelatov
0a7cbd915a
vendor: update rjeczalik/notify so that it compiles on go1.10
7 years ago
Felix Lange
aeedec4078
p2p/discover: s/lastPong/bondTime/, update TestUDP_findnode
...
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.
7 years ago
Péter Szilágyi
32301a4d6b
p2p/discover: validate bond against lastpong, not db presence
7 years ago
Fynn
1e72271f57
accounts/abi: use unpackTuple to unpack event arguments
...
Events with just 1 argument fail before this change
7 years ago
cooganb
4e61ed02e2
swarm: add favicon for Swarm templates served by browser ( #15958 )
...
* 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
7 years ago
Guillaume Ballet
5f9b01a283
whisper: only use the node id as a p2p id, not for sending messages ( #16102 )
...
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.
7 years ago
gluk256
fac6d9ce77
whisper: test timeout extended ( #16088 )
...
* whisper: timeout extended
* whisper: test updated
* whisper: test updated
7 years ago
Péter Szilágyi
2003b79779
Merge pull request #16095 from karalabe/les-lock
...
les: add missing lock around peer access
7 years ago
GuiltyMorishita
e2f2bb3e2e
node: fix typo hvosts -> vhosts ( #16096 )
7 years ago