Commit Graph

199 Commits

Author SHA1 Message Date
TheKysek
1daa561d91 Catch more malformed message exceptions 2016-10-21 20:09:19 +02:00
TheKysek
a4f5532f94 Use 10s timeout while establishing new connections 2016-10-17 19:32:20 +02:00
TheKysek
1a42876521 Use older pickle protocol to be compatible with Python versions older than 3.4 2016-10-17 19:12:45 +02:00
TheKysek
027701882a Fix a bug where content of unchecked_node_pool was overwriting node_pool 2016-10-17 19:11:17 +02:00
TheKysek
29ebdc44c9 Unify types of exceptions raised during message parsing 2016-10-16 13:14:32 +02:00
TheKysek
3fd0334fbe Catch more exceptions, resolves: #5, #6, #8 2016-10-16 13:01:41 +02:00
TheKysek
0e8f8bd85e Handle SIGTERM 2016-10-15 17:20:14 +02:00
TheKysek
c525d4f2e1 Improve malformed message handling 2016-10-15 17:00:18 +02:00
TheKysek
90a9cee834 Bump version number 2016-10-15 16:47:14 +02:00
TheKysek
f4a291b2c0 Gracefull shutdown 2016-10-15 16:12:09 +02:00
TheKysek
00920856cc Handle connection exceptions 2016-10-15 15:53:26 +02:00
TheKysek
5a665757ad Remove unused code 2016-10-02 16:54:23 +02:00
TheKysek
2422064b22 Change how we request objects 2016-10-02 16:52:14 +02:00
TheKysek
87fadf65b3 Bootstrap from 'bootstrap8444.bitmessage.org' 2016-10-02 16:16:34 +02:00
TheKysek
e90bf9df54 Convert port number to an integer 2016-08-29 11:34:28 +02:00
TheKysek
8ea3992ae5 Remove unused code 2016-08-29 11:00:24 +02:00
TheKysek
4f608ba75a Quicker message downloading 2016-08-29 10:58:34 +02:00
TheKysek
b7b81a2c56 Send more node addresses 2016-08-29 09:54:23 +02:00
TheKysek
75ccf6d692 Do not crash after fully establishing connection 2016-08-17 18:11:00 +02:00
TheKysek
dbe23e90ce Remove debug messages about sent and received bytes 2016-08-17 18:08:23 +02:00
TheKysek
5095849884 Process message every time we are able to 2016-08-17 18:07:06 +02:00
TheKysek
30a49e1661 Do not go into infinite loop after closing connection 2016-08-17 18:00:02 +02:00
TheKysek
dc75f93e1f Network behaviour tweaks 2016-08-17 17:51:04 +02:00
TheKysek
a815fb2f7c Try to establish more connections at once 2016-08-17 17:48:45 +02:00
TheKysek
9fd1006f2d Use non-blocking sockets 2016-08-03 19:05:01 +02:00
TheKysek
e7dcec142a Move listening socket initialization methods to __init__() 2016-08-03 19:01:36 +02:00
TheKysek
58d9c9afe2 Add .idea to .gitignore 2016-08-03 13:24:20 +02:00
TheKysek
71fda58a3b Tweak listeners and their error messages 2016-08-03 13:15:45 +02:00
TheKysek
ad0859f2e7 Add SO_REUSEADDR to socket options 2016-08-03 13:06:09 +02:00
TheKysek
eae426a413 Connection logic tweaks 2016-07-19 14:09:42 +02:00
TheKysek
89baf6258b Tweaks to connection logic 2016-07-19 12:48:04 +02:00
TheKysek
dd3e93812a Fix failing TLS handshakes 2016-07-19 12:18:16 +02:00
TheKysek
964380c635 TLS and some minor tweaks 2016-07-19 11:53:24 +02:00
TheKysek
b9932d6d4a Pull latest version from GitHub on stratup 2016-07-19 11:39:59 +02:00
TheKysek
7f28c6dcf5 Whitespace 2016-07-19 09:24:15 +02:00
TheKysek
71a2dd95f1 Timing tweaks 2016-07-19 09:23:52 +02:00
TheKysek
33b0f294ef Fix nodes loading 2016-07-09 22:09:20 +02:00
TheKysek
0cef0219bc Connection manager tweaks 2016-07-09 19:37:54 +02:00
TheKysek
546ac96850 Protocol tweaks 2016-07-09 19:37:07 +02:00
TheKysek
10ee0deb4b Fix for sending multiple connections to the same host 2016-07-05 09:12:20 +02:00
TheKysek
74c58f80a1 Ignore data directory 2016-07-05 09:06:47 +02:00
TheKysek
6aff15a59d Only advertise nodes we are fully connected to 2016-07-05 09:02:26 +02:00
TheKysek
a9155eb08f Ignore data directory 2016-07-05 09:00:17 +02:00
TheKysek
d5f4288a4e Create data directory if it doesn't exist 2016-07-05 08:59:56 +02:00
Krzysztof Oziomek
e246c7558d Update README.md 2016-06-30 10:39:31 +02:00
TheKysek
d81a3336c2 Tweak startup script 2016-06-30 10:30:26 +02:00
TheKysek
3adb0ecf80 Fix reading core nodes file while in different cwd 2016-06-30 10:29:52 +02:00
TheKysek
61c8e0d024 Add project files 2016-06-30 10:11:33 +02:00
Krzysztof Oziomek
e58bc9c76f Initial commit 2016-06-30 07:19:01 +02:00