subtly
a23251e9ac
network: move static system-network functions into Network class. Further simplifaction of network lifecycle.
10 years ago
subtly
b10eddc85e
static to member in Host::run()
10 years ago
subtly
8005012f6c
fix naming
10 years ago
Gav Wood
240f6b0df7
Warnings fixes (well.. the UPnP was actually a crash fix.)
10 years ago
Paweł Bylica
9baae5fbf4
Windows fix
10 years ago
subtly
cacc761ce9
pr fixes
10 years ago
subtly
43bf0f01c7
require ioservice to use multiple threads. thread-safe connecting to nodes.
10 years ago
subtly
c1ae9fc126
pr fixes
10 years ago
subtly
fb7f8e782e
fix
10 years ago
subtly
24bbbefd5d
pr fixes. refactor of network code. moved network-start methods into static methods, as they can only be called during certain stages or do not need Host class. Mutex start/stop. Added m_ifAddresses and removed m_addresses. Rewrite determinePublic. IP address preference is now: user-supplied public > user-supplied private (if localnetwork enabled) > first public4 interface > upnp4 > first private4 interface (if localnetwork enabled) > unspecified. IPv6 addresses are currently ignored (unless manually entered by user) until link-local addresses can be properly detected.
10 years ago
subtly
381f2dfe64
reduce timeout, coding standards
10 years ago
subtly
c479f23561
remove unused method. skip upnp for ipv6.
10 years ago
subtly
de099b2d8b
remove network pause.
fix client repeat-disconnect loop.
removed resolver from getifaddr dance (not reqd) and updated getifaddr code (needs windowz/linux testing).
don't accept new connections if listenport bind fails (possible due to OS firewall settings).
only use upnp w/ipv4 addresses.
re: disconnect loop. Looks like ethhost session isn't deallocating once stopped. Thinking UI might have shared_ptr. For now, letting dealloc/quit continue as long as isOpen returns false -- maybe okay since network will be halted. Also, it maybe possible the issue is due to network thread not running after disconnect so packets aren't tx/rx to kill peer -- either way, it's possible remote end doesn't ack disconnect and timeout/force-close-dealloc is required, so will need more attention later.
10 years ago
Gav Wood
d7972e726d
Minor UI changes and reduction of verbosity.
10 years ago
Gav Wood
7dfd83e8f5
Whisper API change for topics.
Don't keep dead nodes.
10 years ago
Gav Wood
20f3b4b4c1
Spelling correction.
10 years ago
arkpar
e166a5a881
fixed crashes on shutdown
10 years ago
Gav Wood
482e7b639d
Version bump, minor fix for badly formatted manual hosts.
10 years ago
Gav Wood
dfea821aaf
DB prototyped.
10 years ago
Gav Wood
844a50d2bb
Fix for moving to super-low number of ideal peers.
10 years ago
Gav Wood
eda9393fd0
Watch API.
10 years ago
Gav Wood
3896eb55d0
Fix mining.
Fix stdserv.js.
10 years ago
Gav Wood
3ceae64f34
Subtle sync state-change bug that was declaring perfectly fine nodes to
be bad.
10 years ago
Gav Wood
6706c26471
Move misc to dev.* JS API.
Potential crash fix.
UPnP in thread.
10 years ago
Gav Wood
b0cf1e60f6
Fix #394 . Still quite dirty, but correct at least.
10 years ago
Gav Wood
492cbd80b9
Better management of peers that alter their ID.
10 years ago
Gav Wood
be72db117e
Fix ping timeout.
10 years ago
Gav Wood
76402e82fa
Bump to P2P protocol version 2.
10 years ago
Gav Wood
f11a4bb973
Avoid duplicate nodes with different IDs.
10 years ago
Gav Wood
e27922258d
Avoid noting nodes with obviously bad listen ports.
10 years ago
Gav Wood
86127f3820
Avoid trying to connect to obviously private ports.
10 years ago
Gav Wood
51994f72a0
Don't save peers with odd ports for now.
10 years ago
Gav Wood
0652e3ed4f
Fix a previous bad fix.
10 years ago
Gav Wood
692cb38006
Remember last ping time.
10 years ago
Gav Wood
33ec3ca35d
Pinging, stake disconnecting and better UI.
10 years ago
Gav Wood
a775c54adf
UX fixes to nodes view.
10 years ago
Gav Wood
2e972be640
Efforts to make reconnect timing strategy more expansive and consistent.
10 years ago
Gav Wood
7920f04f30
Better drop off semantics.
10 years ago
Gav Wood
5d2238d179
Manage dead nodes.
10 years ago
Gav Wood
01eecf58b6
More network fixes.
10 years ago
Gav Wood
ca9a07dc2f
Exception fix.
10 years ago
Gav Wood
75685f91e1
More fixes.
10 years ago
Gav Wood
7c0ca05bb8
Grow peers uses latest mechanisms.
10 years ago
Gav Wood
a1216c3b74
Peer & key management.
10 years ago
Gav Wood
07c804a885
Vast P2P networking improvements, mainly for peer discovery, management
and handling.
10 years ago
arkpar
da331ee67e
fixed disconnect; gcc warning
10 years ago
arkpar
9d29f7d4be
moved ETH_MINIUPNPC to props on windows; fixed style
10 years ago
arkpar
5d09a767e0
fixed upnp port mapping
10 years ago
Gav Wood
d93cccc463
More attempts to fix for the ultra-pedantic clang compiler.
10 years ago
Gav Wood
cad19f652f
p2p protocol version bump.
10 years ago