refactor: find share.Availability
abstraction alternative
#3080
distractedm1nd
started this conversation in
Ideas
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The
share.Availability
interface used inShareService
was a good abstraction to start with, but as the node grows and our services change, we run into more and more issues with its limitations and structure.Some issues (please add to this list!):
CacheAvailability
is only needed for light nodes after the introduction ofeds.Store
One proposed solution is to get rid of the interface entirely and instead have multiple implementations of
ShareService
.Beta Was this translation helpful? Give feedback.
All reactions