Commit Graph

168 Commits

Author SHA1 Message Date
TheKysek
fcd24b24dc
Add support for command line arguments 2017-06-04 12:11:19 +02:00
TheKysek
1e94fa48b9
Start file tweaks
- do not automatically update

- pass command line arguments to main Python file
2017-06-04 10:38:06 +02:00
TheKysek
3cb7157afd
Print received error messages 2017-05-25 12:09:20 +02:00
TheKysek
be6356db6d
Bump up version number and default connection limit 2017-05-25 12:03:51 +02:00
TheKysek
5503a8cb89
Better formatting of object rejection messages 2017-05-25 12:01:11 +02:00
TheKysek
962be9d1fb
Simpler method of stopping connection threads 2017-05-25 11:57:29 +02:00
TheKysek
6e69c3d2b0
Do not log invalid reson for disconnect 2017-05-25 11:52:48 +02:00
TheKysek
de260cfa96
Log why an object has been rejected 2017-05-25 11:47:44 +02:00
TheKysek
1b5d2090e1
Reject objects that are not in stream 1 2017-05-25 11:38:27 +02:00
TheKysek
5d73474358
Update copyright year 2017-05-19 17:06:48 +02:00
TheKysek
f08a1895f1
Update Readme file 2017-05-19 16:39:34 +02:00
TheKysek
0fac3d59a3 Change User Agent to comply with specification 2017-03-22 11:56:33 +01:00
TheKysek
dbd1515ae8 Object sending efficiency improvement 2017-03-20 21:10:29 +01:00
TheKysek
d4f5d370d4 Rework object sending logic 2017-03-20 20:52:53 +01:00
TheKysek
eb0f6bca22 Change default log level 2017-02-13 19:02:36 +01:00
TheKysek
1146100168 Limit number of connections 2017-01-21 14:05:13 +01:00
TheKysek
0c5c58e126 Fix listener logic 2017-01-14 13:45:39 +01:00
TheKysek
b5fce64619 Added trusted_peer and listen_for_connections options 2017-01-14 13:42:15 +01:00
TheKysek
55aa240d74 Limit size of inv messages sent after establishing full connection with other node 2017-01-07 08:56:23 +01:00
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