subtly
|
f26bbb21e4
|
Drop socket and log when peer disconnect occurs mid-read.
|
10 years ago |
subtly
|
8593be1b6a
|
Log warning and disconnect when remote passes bad rlp during handshake.
|
10 years ago |
subtly
|
7b8a4cebd8
|
Better code.
|
10 years ago |
Gav Wood
|
a67d783379
|
Code cleanup.
|
10 years ago |
Vlad Gluhovsky
|
a706397875
|
MSVS compiler error and warnings fixed
|
10 years ago |
arkpar
|
597f56843b
|
GetBlockHashesByNumber packet
|
10 years ago |
arkpar
|
10cfa35c09
|
blockchain sync refactoring
|
10 years ago |
subtly
|
012ffd4adc
|
retain session when interacting with capability
|
10 years ago |
subtly
|
3a3647c9f0
|
Guard use of m_writeQueue operator[].
|
10 years ago |
Gav Wood
|
05ea9941c9
|
Move non-cryptopp dependent stuff into devcore.
|
10 years ago |
subtly
|
db12fc1d83
|
Don't abort connecting to required peer when it's not in node table.
|
10 years ago |
Gav Wood
|
3c410cf008
|
Lockup fix.
|
10 years ago |
arkpar
|
b7683a8c65
|
fixed m_pubkDiscoverPings guard
|
10 years ago |
Gav Wood
|
19f3a58021
|
Reduce p2p net verbosity.
|
10 years ago |
subtly
|
fb7c6a10c0
|
Bump ideal peer count based on network simulations. See also https://github.com/ethereum/devp2p/wiki/Peer-Selection-Strategy
|
10 years ago |
subtly
|
be5aa3dbf0
|
cleanup
|
10 years ago |
subtly
|
1aabac3cfc
|
Increase frequency of node discovery by factor of 8 (random lookup every 7 seconds).
|
10 years ago |
subtly
|
fc34ceb83f
|
Guard m_node.endpoint access and updates.
|
10 years ago |
Gav Wood
|
da25ad8b9f
|
Fix iteration in evictions.
|
10 years ago |
Gav Wood
|
4ef410eee0
|
Use Go bootnodes.
|
10 years ago |
Gav Wood
|
fda1fe5d37
|
Threading fixes & cleanup.
|
10 years ago |
subtly
|
f315243787
|
Ignore empty UDP messages (likely when udp/icmp error is received).
|
10 years ago |
subtly
|
a9d9afb042
|
Log errors instead of disconnecting socket.
|
10 years ago |
subtly
|
cd1dc2f5eb
|
fix and add guards
|
10 years ago |
subtly
|
b47431a328
|
remove misplaced comment
|
10 years ago |
subtly
|
b3aeb7bb27
|
Prevent socket from closing due to attempt to send to bad address.
|
10 years ago |
arkpar
|
990582cc7a
|
reverted NodeTable.cpp
|
10 years ago |
arkpar
|
5028ce3131
|
fixed a comment after sloppy merge
|
10 years ago |
arkpar
|
f52f8682c4
|
reverted changed in NodeTable::nearestNodeEntries
|
10 years ago |
subtly
|
e2c21916ef
|
Fix mutex when evicting node from node table.
|
10 years ago |
arkpar
|
de3ff170c8
|
use boost hash function for FixedHash, asio adress. Style fixes
|
10 years ago |
arkpar
|
cc5a617aa6
|
set and map to hash tables
|
10 years ago |
subtly
|
d651501be0
|
Fix network-snapshot method when there's a lot of node activity (dereferencing shared pointer from weak ptr without verifying weak ptr).
|
10 years ago |
Gav Wood
|
97f936d30c
|
Only report worker stuff when it's laggy.
Cleanups ETH_ -> DEV_
|
10 years ago |
subtly
|
4ac289be47
|
fix restore network to support both old and new network file format
|
10 years ago |
subtly
|
03db500f33
|
Merge stash into discovery.
|
10 years ago |
subtly
|
d46bd2b5a3
|
Missed in merge.
|
10 years ago |
subtly
|
c72b218d88
|
Code review. Fix inverted peer slot check.
|
10 years ago |
subtly
|
8b284fea13
|
Fix wrong comparison in peerSlotsAvailable.
|
10 years ago |
subtly
|
242d22e67d
|
dry
|
10 years ago |
Gav Wood
|
82ca50d234
|
NewBlockHashes packet, basic implementation.
|
10 years ago |
subtly
|
ec9a592536
|
Prevent mass-connections, which otherwise, would result in all connections then being mass-dropped.
|
10 years ago |
subtly
|
ee1339c0cc
|
Add nodes directly to node table when creating network.
|
10 years ago |
Vlad Gluhovsky
|
66c3f1149b
|
Bugfix: null pointer check is added
|
10 years ago |
subtly
|
f0e9f6e080
|
Allow 9x ingress connections so non-nat clients can connect and use the network. To be reduced after greedy go is updated to discontinue filling up the network's connection capacity by accepting connections beyond the ones it didn't make and not connecting to every node on the entire network.
|
10 years ago |
subtly
|
88193ae7c8
|
Limit DNS resolution to ipv4.
|
10 years ago |
subtly
|
d300143e12
|
Apply sha3 so that xor operation for kademlia metric isn't skewed by EC point encoding.
|
10 years ago |
subtly
|
3ebaffa2c1
|
revert assumption that node exists in nodetable when noteactivenode is called
|
10 years ago |
subtly
|
f176a1ce13
|
add missing const
|
10 years ago |
subtly
|
c84d5f30bb
|
update pong encoding
|
10 years ago |