Closed tabcat closed 2 years ago
many of the classes have been reworked to fit Libp2p's startable interface. I decided to create the Playable class as a superclass to be extended to reduce some of the duplicate code. Playable implements the Startable interface.
Most classes in Opal were not made to be restarted after stopping. I think this will be useful when working with databases and encourages better state management for classes.
Working on fixing a lot of the unit tests. The tests dealing with database and database components like Graph, Replica, and Traversal will not be fixed yet. I'm adding local persistence tomorrow and those parts will be affected.
Rework and polish some things before adding features like local database persistence.