lbry-sdk/lbrynet/core
Jack Robison 75a6ff269e refactor lbrynet-daemon into modular components (#1164)
* add daemon Component and ComponentManager classes

* convert directory and SQLiteStorage setup to be a Component

* support callbacks to component setups

* Fixed typo in ComponentManager

* convert wallet to be Component

* Use storage from session.

* Remove create_session internal function and PEP8

* Starting to convert session to its own component. Removed ref to `self.storage` from Daemon.py

* Making DHT component(broken)

* Refactored classes to reduce redundancy in getting config setting

* DHT is now it's own component

* Fixed `test_streamify` test

* Fixed regression caused by removing `peer_manager` from session

* refactor ComponentManager and Component to use instance instead of class methods

* Hash announcer, file manager, stream identifier components

* Query Handler and server components

* Reflector Component

* Fixed test_streamify(well Jack did, but ¯\_(ツ)_/¯)

* All tests now passing

* Pylint fixes

* Oops(That's all you're gonna get :-P)

* Making decorators(WIP, commit so that I don't lose work)

* Decorator made and decorating of functions done(some other changes)

* import fixes and removed temporary test function

* Fixed new broken tests from daemon refactor

* Sanitization of modules

* Reworded errors

* wallet unlock condition checks, fixed breaking changes

* Rebased on amster and other crazy stuff

* Started writing tests

* Tests for component manager

* Fix Daemon Tests

* Fixed passing mutable args in init

* Using constants instead of strings. Added CHANGELOG.md

* Now components can be skipped by setting relevant config in file.

* P-Y-L-I-N-T #angry_emoji
2018-07-05 15:21:52 -04:00
..
client collect finished deferred before cancel call 2018-06-23 18:23:25 -03:00
server move dht related classes to lbrynet.dht 2018-03-28 15:53:47 -04:00
__init__.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
BlobAvailability.py remove popular hash tracking, simplify DHTPeerFinder 2018-06-07 15:02:47 -04:00
BlobInfo.py whitespace 2018-02-13 10:27:51 -05:00
BlobManager.py load all finished blobs into the node datastore 2018-07-02 14:31:09 -04:00
call_later_manager.py update CallLaterManager to be an object 2018-06-07 15:02:47 -04:00
cryptoutils.py remove gmpy and seccure dependencies 2018-02-01 12:39:00 -05:00
DownloadOption.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
Error.py refactor lbrynet-daemon into modular components (#1164) 2018-07-05 15:21:52 -04:00
file_utils.py remove start and reveal from file_utils 2017-03-07 21:17:06 -05:00
log_support.py use treq on loggly 2018-05-05 02:18:03 -03:00
looping_call_manager.py replace some strings 2016-10-20 11:30:38 -07:00
Offer.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
PaymentRateManager.py disable NegotiatedPaymentRateManager, use OnlyFreePaymentsManager for now 2018-06-07 15:02:47 -04:00
Peer.py Adding connection manager tests, and modifying connection manager to be testeable, fix bug where failed connection was not marked as down 2017-02-13 12:17:27 -05:00
PeerManager.py move peer manager class to lbrynet.core 2018-03-28 15:53:49 -04:00
PriceModel.py add only-free payment rate manager for testing 2017-02-16 11:17:37 -05:00
RateLimiter.py fixed shutdown messages 2017-08-09 19:10:11 -04:00
Session.py refactor lbrynet-daemon into modular components (#1164) 2018-07-05 15:21:52 -04:00
SinglePeerDownloader.py refactor DHTHashAnnouncer 2018-03-28 15:53:51 -04:00
Strategy.py add only-free payment rate manager for testing 2017-02-16 11:17:37 -05:00
StreamDescriptor.py detect and remove invalid streams and sd blobs 2018-02-21 19:09:10 -05:00
system_info.py moved import distro into conditional statement that only runs on Linux 2018-05-29 14:49:06 -04:00
utils.py pylint and appveyor 2018-06-07 15:02:47 -04:00
Wallet.py refactor lbrynet-daemon into modular components (#1164) 2018-07-05 15:21:52 -04:00