Vadim Ushakov
|
b512c54f75
|
Implement new logic for waiting for connected peers when updating or publishing a site
|
2021-10-24 23:53:08 +07:00 |
|
Vadim Ushakov
|
cd3262a2a7
|
code style fix in Peer.py
|
2021-10-21 14:50:54 +07:00 |
|
Vadim Ushakov
|
325f071329
|
Fixes and refactoring in Connection.py, Peer.py
|
2020-11-03 23:25:29 +07:00 |
|
Vadim Ushakov
|
8fd88c50f9
|
Redesign cleanupSites() and all the related stuff and rename it to periodic maintenance.
|
2020-10-28 23:38:17 +07:00 |
|
Vadim Ushakov
|
511a90a5c5
|
Redesign Site.needConnections()
|
2020-10-28 20:31:48 +07:00 |
|
Vadim Ushakov
|
112c778c28
|
Peer.py: allow overriding the log level
Not a best solution, but with minimal code changes.
|
2020-10-28 14:53:56 +07:00 |
|
shortcutme
|
46210b2f04
|
Use peer ip in peer exchange if no active connection
|
2020-01-28 16:57:20 +01:00 |
|
shortcutme
|
6ff7fe55fc
|
Make sure we use local peers if possible
|
2019-11-25 14:32:06 +01:00 |
|
shortcutme
|
a14c36cd3e
|
Add peer's site to str represetntation
|
2019-11-25 14:31:12 +01:00 |
|
shortcutme
|
c21fe3d23a
|
Prefer connecting to non-onion peers
|
2019-11-25 14:30:51 +01:00 |
|
shortcutme
|
4222c31b3e
|
Don't push body of content.json with updates if larger than 10kb
|
2019-05-30 04:26:41 +02:00 |
|
shortcutme
|
6207ccd559
|
Fix pex result parsing when there is no connection
|
2019-05-02 17:17:57 +02:00 |
|
radfish
|
f6e3a74567
|
[setuptools packaging] access modules via imports (#1969)
|
2019-04-15 12:31:33 +02:00 |
|
shortcutme
|
dee562437b
|
Rename hashfield pack functions to bytes
|
2019-03-16 00:42:21 +01:00 |
|
shortcutme
|
b0b9a4d33c
|
Change to Python3 coding style
|
2019-03-15 21:06:59 +01:00 |
|
shortcutme
|
81bf349871
|
Remove ipv6 and onion from pex result if not supported
|
2019-02-24 02:29:08 +01:00 |
|
shortcutme
|
9d849a16ec
|
Use defaultdict to for findHashId result
|
2019-02-24 02:28:42 +01:00 |
|
shortcutme
|
e8dbf1511b
|
More clean way to return locally found hash_ids for findHashId
|
2019-01-24 15:18:12 +01:00 |
|
shortcutme
|
06d679d1ca
|
Support ipv6 in findHashIds response parsing
|
2019-01-20 16:27:12 +01:00 |
|
shortcutme
|
33cf30a07b
|
Formatting
|
2019-01-20 16:26:17 +01:00 |
|
shortcutme
|
6ac1960c47
|
Support ipv6 for Pex request parsing
|
2019-01-20 16:26:04 +01:00 |
|
shortcutme
|
12d494bf38
|
Limit peer reputation increase from tracker
|
2018-09-04 15:43:20 +02:00 |
|
shortcutme
|
658aace8f1
|
Increase peer reputation when found by tracker
|
2018-09-02 02:22:35 +02:00 |
|
shortcutme
|
49562d43c3
|
Change peer reputation on connection success and error
|
2018-09-02 02:22:21 +02:00 |
|
shortcutme
|
4241b62760
|
Log peer reputation on connect
|
2018-09-02 02:21:48 +02:00 |
|
shortcutme
|
47fcee4df8
|
Limit peer reputation
|
2018-09-02 02:21:38 +02:00 |
|
shortcutme
|
e05c432d14
|
Store if it's tracker connection on connect
|
2018-08-26 02:52:23 +02:00 |
|
shortcutme
|
abbf6ae2c8
|
Fix peer added count
|
2018-02-08 18:08:08 +01:00 |
|
shortcutme
|
403ec56ef8
|
Remove from recent peers of peer remove
|
2018-02-08 18:07:09 +01:00 |
|
shortcutme
|
a265c2a7ca
|
Pass peer discovery source to addPeer
|
2018-02-08 17:57:26 +01:00 |
|
shortcutme
|
13e651c822
|
Store and prefer recent peers from trackers and local peer discovery
|
2018-02-08 17:53:17 +01:00 |
|
shortcutme
|
c2edbb30b5
|
Don't send private ip addresses on pex
|
2018-01-30 13:58:01 +01:00 |
|
shortcutme
|
814fa881d0
|
skip on invalid received hash ids
|
2018-01-19 02:20:20 +01:00 |
|
shortcutme
|
bc9bddf918
|
Make sure the hashfield response is correct
|
2017-10-04 17:25:33 +02:00 |
|
shortcutme
|
c494b01435
|
Update hashfiled more often
|
2017-10-03 15:26:53 +02:00 |
|
shortcutme
|
c0e69e91a1
|
Always use streamFile for files bigger than 512k, increase file reads to 1MB for larger files
|
2017-10-03 15:26:39 +02:00 |
|
shortcutme
|
1c029981ae
|
Raise exception when no response received
|
2017-10-03 15:23:25 +02:00 |
|
shortcutme
|
f9e64bc874
|
Log inner_path and location for peer request in verbose mode
|
2017-10-03 15:23:03 +02:00 |
|
shortcutme
|
fcfd428b54
|
Enable plugins for Peer class
|
2017-10-03 14:56:42 +02:00 |
|
shortcutme
|
a7b22e2055
|
Fix error on exit for peers without site
|
2017-06-20 20:28:35 +02:00 |
|
shortcutme
|
916709a7e4
|
Allow less peer error if for popular sites
|
2017-06-19 16:13:06 +02:00 |
|
shortcutme
|
f773bf3336
|
Add file_size to request to avoid unnecessary download
|
2017-06-19 16:10:18 +02:00 |
|
shortcutme
|
ae21f056d5
|
Error if no peer connection found
|
2017-06-13 14:12:48 +02:00 |
|
shortcutme
|
da49981ecd
|
Allow 6 failed requests before closing peer
|
2017-02-27 00:07:51 +01:00 |
|
shortcutme
|
e80887d779
|
Add reputation for old peers
|
2017-02-27 00:06:13 +01:00 |
|
shortcutme
|
bad2a79f05
|
Reason for connection closing
|
2017-02-27 00:02:24 +01:00 |
|
shortcutme
|
d39d6a2bd4
|
Mark if peer has hasfield
|
2016-11-07 22:34:46 +01:00 |
|
shortcutme
|
7d78623c92
|
Remove unnecessary logging
|
2016-09-09 12:23:26 +02:00 |
|
shortcutme
|
d5651f1df3
|
Lazy create peerhashfield objects
|
2016-09-07 17:41:33 +02:00 |
|
ZeroNet
|
07a6bd523c
|
Accept only 30 peers on pex
|
2016-08-10 12:44:00 +02:00 |
|