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
bfd797c3a1
Whisperer in AZ.
More Whisper fixups.
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
8f769eae05
Avoid effective disconnect when ignoring data.
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
subtly
fc14f46a63
add headers to cmake
10 years ago
Gav Wood
9600da565e
Don't be quite so punitive when peer sontinues sending packets for a
protocol they signed up to.
10 years ago
Gav Wood
1faaed3395
Make bad protocol disconnects a bit more obvious.
10 years ago
Gav Wood
459b0c534c
More node list UX nicities.
10 years ago
Gav Wood
d74db4083c
Move Dagger to ProofOfWork and refactor in preparation for ARPoW.
10 years ago
Gav Wood
492cbd80b9
Better management of peers that alter their ID.
10 years ago
Gav Wood
7b48050a04
Avoid public/private IP kludge.
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
61b786b70a
Avoid listening to peers telling us of wierd ports.
10 years ago
Gav Wood
3ac0eb089b
Kill old database (invalid transactions in there).
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
d1b1caea29
Various crash fixes.
10 years ago
Gav Wood
07c804a885
Vast P2P networking improvements, mainly for peer discovery, management
and handling.
10 years ago
arkpar
68c64dc052
reverted UPNP_AddPortMapping args
10 years ago
arkpar
da331ee67e
fixed disconnect; gcc warning
10 years ago