Péter Szilágyi
b517967f86
eth/downloader: don't penalize for stale cross checks
9 years ago
Péter Szilágyi
83226762c2
eth, eth/downloader: detect and handle madeup hash attacks
9 years ago
Péter Szilágyi
9ad515d2dc
eth: drop a sync peer if it sends an invalid hash chain
9 years ago
Péter Szilágyi
72411eb24c
eth/downloader: circumvent hash reordering attacks
9 years ago
Péter Szilágyi
bcc2980179
eth/downloader: check sync after failed attacks
9 years ago
Péter Szilágyi
366e9627e8
eth/downloader: add a test for detecting missing blocks
9 years ago
Péter Szilágyi
cd2fb09051
eth, eth/downloader: prevent hash repeater attack
9 years ago
Jeffrey Wilcke
c1f0d40e34
Merge pull request #987 from obscuren/develop
...
Miner updates and downloader events
9 years ago
Jeffrey Wilcke
158efbaa45
Merge pull request #984 from tgerring/issue924
...
Omit replies for RPC notification requests
9 years ago
obscuren
cfb2b51b74
eth/downloader: fixed test
9 years ago
obscuren
f6669db001
core: fixed mining strategy
9 years ago
obscuren
b71091e337
eth, eth/downloader, miner: use download events to check miner start
9 years ago
obscuren
0f76a1c6df
core: changed how head events are checked
9 years ago
obscuren
580bae0a86
core: improved uncle messages
9 years ago
Taylor Gerring
44a7f997c3
Unreverse ordering
9 years ago
Taylor Gerring
5c6540452a
Omit replies for notification requests
...
When Id is missing, the client does not want a response
9 years ago
Jeffrey Wilcke
3ac34ee3c4
Merge pull request #975 from obscuren/develop
...
core: changed log message for forks. closes #952
9 years ago
Jeffrey Wilcke
69c78ddbb4
Merge pull request #983 from tgerring/issue958
...
Format contract code as hexdata
9 years ago
Jeffrey Wilcke
007bced276
Merge pull request #982 from tgerring/issue962
...
Check for error on DB fetch of tx
9 years ago
Jeffrey Wilcke
6bc8dec7ac
Merge pull request #980 from fjl/geth-test-no-scrypt
...
cmd/geth: use plain keystore for JS tests
9 years ago
Taylor Gerring
4ad8f1035b
Format contract code as hexdata
9 years ago
Taylor Gerring
12f82ab2ff
Check for error on DB fetch of tx
9 years ago
Felix Lange
559cc02313
cmd/geth: use plain keystore for JS tests
...
This reduces the time it takes to run the tests back to 3 seconds.
9 years ago
obscuren
b19bf3ec78
core: changed log message for forks. closes #952
9 years ago
Jeffrey Wilcke
060a07cf69
Merge pull request #974 from karalabe/downloader-fix-unknown-parent-attack
...
eth, eth/downloader: handle a potential unknown parent attack
9 years ago
Jeffrey Wilcke
90b94e64fc
Merge pull request #971 from fjl/p2p-limit-tweaks
...
p2p: tweak connection limits
9 years ago
Felix Lange
d2f119cf9b
p2p/discover: limit open files for node database
9 years ago
Felix Lange
206fe25971
p2p: remove testlog
9 years ago
Felix Lange
7fa2607bd1
p2p/discover: bump maxBondingPingPongs to 16
...
This should increase the speed a bit because all findnode
results (up to 16) can be verified at the same time.
9 years ago
Felix Lange
691cb90284
p2p: log remote reason when disconnect is requested
...
The returned reason is currently not used except for the log
message. This change makes the log messages a bit more useful.
The handshake code also returns the remote reason.
9 years ago
Jeffrey Wilcke
ff87c241a7
Merge pull request #973 from bas-vk/issue972
...
Introduced default unlock duration when an account is unlocked from t…
9 years ago
Péter Szilágyi
fe87feccb1
eth/downloader: add a small additional check to the test
9 years ago
Péter Szilágyi
ebf1eb9359
eth/downloader: remove a previous leftover
9 years ago
Péter Szilágyi
3eda70c64c
eth, eth/downloader: remove parent verification from the downlaoder
9 years ago
Bas van Kervel
1fa48bc5e7
Introduced default unlock duration when an account is unlocked from the console
9 years ago
Péter Szilágyi
a4246c2da6
eth, eth/downloader: handle a potential unknown parent attack
9 years ago
Jeffrey Wilcke
7fa740996c
Merge pull request #960 from fjl/nat-fixes
...
p2p/nat: fix UPnP auto discovery
9 years ago
Jeffrey Wilcke
c7a13c9be8
Merge pull request #969 from Gustav-Simonsson/ethash_improve_hashrate_update2
...
Make read of ethash hashrate atomic and update ethash godep
9 years ago
Jeffrey Wilcke
2b06fe3eff
Merge pull request #950 from karalabe/downloader-cancel-sync
...
eth/downloader: fix deliveries to check for sync cancels
9 years ago
Jeffrey Wilcke
cdeae22356
Merge pull request #949 from bas-vk/issue944
...
removed invalid filename characters
9 years ago
Felix Lange
5f706cd7f5
cmd/utils: print messages from package log through glog
...
Some of the dependencies use package log. This change ensures that the
log output looks uniform and respects glog flags.
9 years ago
Felix Lange
c14de2e973
p2p/nat: tweak port mapping log messages and levels
...
People stil get confused about the messages. This commit changes
the levels so that the only thing printed at the default level (info)
is a successful mapping.
9 years ago
Jeffrey Wilcke
e4aa011d23
Merge pull request #970 from ethereum/vitalik_quick_test
...
Created separate family and ancestors environment objects
9 years ago
Felix Lange
e7c7b54b82
Godeps: bump github.com/huin/goupnp to c57ae84
9 years ago
Felix Lange
663d4e0aff
p2p/nat: add test for UPnP auto discovery via SSDP
...
The test listens for multicast UDP packets on the default interface
because I couldn't get it to work reliably on loopback without massive
changes to goupnp. This means that the test might fail when there is a
UPnP-enabled router attached on that interface. I checked that locally
by looping the test and it passes reliably because the local SSDP server
always responds faster.
9 years ago
Vitalik Buterin
bdec8c3e41
Combined two loops
9 years ago
Gustav Simonsson
b24f16fa53
Make read of ethash hashrate atomic and update ethash godep
9 years ago
Felix Lange
983f5a717a
p2p/nat: fix concurrent access to autodisc Interface
...
Concurrent calls to Interface methods on autodisc could return a "not
discovered" error if the discovery did not finish before the call.
autodisc.wait expected the done channel to carry the found Interface
but it was closed instead.
The fix is to use sync.Once for now, which is easier to get right.
And there is a test. Finally.
This will have to change again when we introduce re-discovery.
9 years ago
Felix Lange
7efeb4bd96
p2p: bump maxAcceptConns and defaultDialTimout
...
On the test network, we've seen that it becomes harder to connect
if the queues are so short.
9 years ago
Vitalik Buterin
fca3333f7f
Created separate family and ancestors environment objects
9 years ago