Currently some dependencies seem to be spread across PDCL components - e.g. FirstToLastConsumer is coupled with IPNS. Instead, those kind of dependencies should be designed as logical unit, that's hidden behind an interface and can have multiple implementations.
In particular following changes could be introduced:
Worth discussing: should proto be somehow abstracted away?
Currently some dependencies seem to be spread across PDCL components - e.g. FirstToLastConsumer is coupled with IPNS. Instead, those kind of dependencies should be designed as logical unit, that's hidden behind an interface and can have multiple implementations.
In particular following changes could be introduced:
Worth discussing: should proto be somehow abstracted away?