Gav Wood
7fd64c1596
Fix for JS API formatting.
10 years ago
Gav Wood
12f6768abe
Remove NodeMode from ethereum.
10 years ago
subtly
4ba309d9ac
code review fixes. remove std::, fix improper naming of class members, camelCase ivars for readability.
10 years ago
subtly
71bf6e7ede
udp != tcp. history-commit.
10 years ago
ethdev
8098a94941
io_service is 2 again
10 years ago
debris
44de002f3f
added curl libaries, which are required for testeth project
10 years ago
Gav Wood
2102ab2870
Evade networking crash.
10 years ago
subtly
ce92f4dc72
cleanup
10 years ago
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