Job Evers-Meltzer
323bccb0ae
another distance optimization
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
0084d4684f
Add distance optimization
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
740fad5cbe
Refactor dht.node.iterativeFind
...
Move nested functions into a helper class.
Add new, smaller functions to increase readability
2016-12-15 18:58:15 -06:00
Job Evers-Meltzer
c30ea04959
Remove commented code
...
This is the result of running eradicate (https://github.com/myint/eradicate )
on the code and double-checking the changes.
2016-12-15 18:58:06 -06:00
Job Evers-Meltzer
7bce37a720
pylint: add check for missing-final-newline
2016-12-14 19:21:59 -06:00
Job Evers-Meltzer
14ac2bac39
pylint: fix trailing-whitespace
2016-12-14 19:21:59 -06:00
Job Evers-Meltzer
b64fa51567
fixup long lines
2016-12-07 09:38:34 -05:00
Jack
5ae3485411
Merge branch 'master' into error-messages
...
# Conflicts:
# lbrynet/dht/protocol.py
2016-11-14 14:11:02 -05:00
Jack
f9fef3d586
reactor.iterate() in dht shutdown
...
-fixes enigmatic `’Port' object has no attribute 'socket’` error
2016-11-11 13:41:36 -05:00
Job Evers-Meltzer
d41881596d
Restore reactor.iterate in dht shutdown
...
This reverts the change made in 693fef1964
Not sure why this is needed, but taking this out sometimes causes
`exceptions.AttributeError: 'Port' object has no attribute 'socket'`
to happen on shutdown.
2016-11-11 10:21:50 -06:00
Job Evers-Meltzer
61a354fa60
add bad-whitespace check to pylint
2016-11-09 11:27:07 -06:00
Job Evers-Meltzer
693fef1964
remove reactor.iterate from dht shutdown
2016-11-03 10:43:24 -05:00
Jack
fe7ea7c679
refactor resources and file streamer into their own files, use NoCacheStaticFile instead of static.File
2016-10-07 14:01:59 -04:00
Jack
6b4519e959
squelch very verbose dht error log
2016-08-12 10:46:05 -05:00
Job Evers-Meltzer
fccdf32c9f
Remove all unused imports; add check to pylint
2016-08-08 15:42:35 -05:00
Job Evers
a2eab1577d
Have TimeoutError hexlify blobs
2016-07-26 13:54:46 -05:00
Jimmy Kiselak
45f9a10bfb
hide exceptions that show up in the dht and due to bad metadata in the blockchain
2016-03-12 14:08:15 -05:00
Jack
49ae029572
Don't try to process blank IPs
2016-01-26 16:07:33 -05:00
Jimmy Kiselak
7df6e99e28
fix typo and formatting errors, stop console's shutdown from running twice on exit, give more informative message if ports can't be bound, only set upnp if there isn't already a redirect on that port/protocol, and only unset upnp if the redirect was set by the program
2015-10-19 15:05:17 -04:00
Jimmy Kiselak
bb5cd49327
Use named loggers, fix some pep8 formatting mistakes
2015-09-08 15:42:56 -04:00
Jimmy Kiselak
7240ff6b1c
initial commit
2015-08-20 11:27:15 -04:00