subtly
7ab02cf487
move some things for udp. added a class for kademlia.
10 years ago
subtly
dd4c7152b4
socket is created in disconnected state. socket can't be created in open state because shared_ptr methods aren't available to doRead until after class has been constructed and the socket is dependent on ioservice running.
10 years ago
subtly
46a286f6e7
fix the fix
10 years ago
subtly
27d79a2f17
initialize atomics so udp messages are delivered on linux #656
10 years ago
subtly
d1aa994f8e
stash
10 years ago
subtly
cef5c1a843
initial interface for udp. test sending/receiving udp.
10 years ago
subtly
71bf6e7ede
udp != tcp. history-commit.
10 years ago
Lu Guanqun
5652bd3779
typo fix
10 years ago
Lu Guanqun
960f62b05a
update to the correct file name
10 years ago
ethdev
97262fa114
windows fix for previous commit
10 years ago
Marek Kotewicz
1fcf85ae0a
removed unnecessary miniupnpc links
10 years ago
Marek Kotewicz
faf541f8ae
renamed _DIR -> _DIRS && _LIBRARY -> _LIBRARIES according to cmake guidelines
10 years ago
Marek Kotewicz
fb72a7ce5f
fixed styling issues
10 years ago
Marek Kotewicz
48dfbaf3c9
updated cmake policies
10 years ago
ethdev
8098a94941
io_service is 2 again
10 years ago
Marek Kotewicz
281a9e2b22
jsonrpc option in cmakes, removed all warnings
10 years ago
debris
44de002f3f
added curl libaries, which are required for testeth project
10 years ago
debris
c1948f05e1
removed old unused precompiled headers for msvc
10 years ago
Marek Kotewicz
5a874b4abb
removed EthDependenciesDeprecated
10 years ago
Gav Wood
2102ab2870
Evade networking crash.
10 years ago
debris
d00c595a74
sc and devcrypto working on windows
10 years ago
Gav Wood
b2446f651f
Remove verbosity.
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
Marek Kotewicz
6b5d89d559
removed automocs
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
Marek Kotewicz
5d7f374a38
leveldb downloaded locally
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
1bdf76922e
remove spontaneous whitespace
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
sveneh
c29321d01c
full project compile with crypto++ dependency
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