Commit graph

3175 commits

Author SHA1 Message Date
Jack Robison 79924f2c9e
Merge branch 'fix_stream_tail_blob' 2017-10-12 12:29:50 -04:00
Kay Kurokawa 8b2b5b991b remove unneeded _error function from CryptStreamCreator 2017-10-12 12:17:04 -04:00
Kay Kurokawa 42990b582f add changelog 2017-10-12 11:26:44 -04:00
Kay Kurokawa 551eab9a42 fix bug where last blob in a stream was not saved to blob manager 2017-10-12 11:25:52 -04:00
Kay Kurokawa 574660cc20 add test to count the number of blobs created by EncryptedFileCreator 2017-10-12 11:16:20 -04:00
Josh Finer 69e11ace17 Merge pull request #948 from HugoHugo/patch-1
Update the year in the LICENSE
2017-10-11 21:12:35 -04:00
Hugo Valent 4c0e94e583 Update the year in the LICENSE
The current LICENSE contains copyright with the year 2016, so I propose to update the year to 2017.
2017-10-11 19:54:56 -05:00
Jack Robison fb071778dc
fix docstring 2017-10-11 15:14:29 -04:00
Jack Robison 9585b444ab
Bump version 0.17.0rc15 --> 0.17.0rc16
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-11 14:49:55 -04:00
Jack Robison 4b9c881cd0
fix recording reader was closed
reader_finished() is called when the reader closes, so the `readers -=
1` here was redundant and led to readers equalling -1 instead of 0.
2017-10-11 14:45:36 -04:00
Jack Robison 334a55bf7f
Bump version 0.17.0rc14 --> 0.17.0rc15
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-11 14:06:33 -04:00
Jack Robison 78ad87d349
fix uncaught CancelledError in peer_list 2017-10-11 14:05:03 -04:00
Jack Robison 8c79421790
less verbose ClientProtocol log
fix https://github.com/lbryio/lbry/issues/917
2017-10-11 13:47:57 -04:00
Jack Robison 0a19dd938a
Bump version 0.17.0rc13 --> 0.17.0rc14
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-11 13:07:49 -04:00
Jack Robison b95a89ec99
Merge branch 'dht-tests' 2017-10-11 13:06:43 -04:00
Jack Robison a0a7d5f569
add routing_table_get 2017-10-11 12:54:40 -04:00
Akinwale Ariwodola 0291482abb raised errors directly instead of wrapping with AssertionError 2017-10-11 07:59:30 +01:00
Jack Robison e7e987b07e
changelog 2017-10-10 13:55:36 -04:00
Jack Robison 323c3e6cb3
add external_ip argument to Session, default to None 2017-10-10 13:55:36 -04:00
Jack Robison c7acb31614
add dht tests 2017-10-10 13:55:35 -04:00
Jack Robison e9fd8eb096
update tests and scripts 2017-10-10 13:55:31 -04:00
Jack Robison 9919fd06c6
uncomment error for store request where contact is not known 2017-10-10 13:29:54 -04:00
Jack Robison c9515f8fb6
logging and whitespace 2017-10-10 13:29:29 -04:00
Jack Robison 5937ead17c
add Node.contacts helper property 2017-10-10 13:28:57 -04:00
Jack Robison 23ce278f8a
add removePeer to interface 2017-10-10 13:27:44 -04:00
Jack Robison de1dc507ac
fix findCloseNodes when buckets aren't fully populated 2017-10-10 13:21:06 -04:00
Jack Robison ab956d4a8e
use count parameter in findCloseNodes 2017-10-10 13:20:19 -04:00
Jack Robison 7c50e26bd7
include method and args in _sentMessages 2017-10-10 13:19:03 -04:00
Jack Robison a942e6f3eb
fix args for ping() 2017-10-10 13:18:38 -04:00
Jack Robison fe2d6bad1b
fix logging error for dht rpc methods with no args (ping) 2017-10-10 13:18:00 -04:00
Jack Robison 3096c89e37
don't wrap exceptions with Failure 2017-10-10 13:17:36 -04:00
Jack Robison 2a47385b62
add rpcAttempts and replacementCacheSize constants 2017-10-10 13:16:26 -04:00
Jack Robison fcaca05a81
fix redundant lbryid 2017-10-10 13:15:25 -04:00
Jack Robison 46e31d5b45
getPeersForBlob inlinecallbacks refactor 2017-10-10 13:12:47 -04:00
Jack Robison 8e9f3c90a1
use looping call for Node.change_token to avoid hanging delayedCalls 2017-10-10 13:10:47 -04:00
Jack Robison f1980f524e
fix raising remote exceptions 2017-10-10 13:09:25 -04:00
Jack Robison 4a567f7ab1
organize dht errors and interfaces 2017-10-10 13:08:22 -04:00
Akinwale Ariwodola 6ed56804b9 return empty string as default value when docstring is missing 2017-10-09 21:14:16 +01:00
Akinwale Ariwodola fb6545481b refactored one more assert 2017-10-09 20:41:08 +01:00
Akinwale Ariwodola 4f6f226b18 refactor asserts due to PYTHONOPTIMIZE flag 2017-10-09 20:20:58 +01:00
Jack Robison 777cda2cd3
Bump version 0.17.0rc12 --> 0.17.0rc13
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-09 10:40:23 -04:00
Jack Robison cdc65d36b0
Merge branch 'add_more_session_info' 2017-10-09 10:39:59 -04:00
Jack Robison 7898b9c2d8
Merge branch 'master' into add_more_session_info 2017-10-09 10:39:48 -04:00
Jack Robison e4cc87b8f0
Bump version 0.17.0rc11 --> 0.17.0rc12
Signed-off-by: Jack Robison <jackrobison@lbry.io>
2017-10-09 10:30:36 -04:00
Jack Robison 7a351ffff0
Merge branch 'fix_freezing_2' 2017-10-09 10:29:51 -04:00
Kay Kurokawa b168c13c40 add changelog 2017-10-06 17:05:16 -04:00
Kay Kurokawa 043758c11f rename moved_verified_blob as saved_verified_blob 2017-10-06 17:05:16 -04:00
Kay Kurokawa d9cc81766d
use DeferredLock instead of threading.Lock() as it can cause deadlocks 2017-10-06 17:05:10 -04:00
Kay Kurokawa 2115919c55
Add test when mutliple writers call _save_verified_blob at once, this will cause deadlock 2017-10-06 16:34:45 -04:00
Jack Robison d1511cba54 fix reading sd blob
TODO: add __enter__ and __exit__ methods to HashBlobReader to let it be
used as a contextmanager
2017-10-05 17:58:18 -04:00