eudico icon indicating copy to clipboard operation
eudico copied to clipboard

Handle orphan chain states from left subnets.

Open adlrocha opened this issue 4 years ago • 1 comments

In the current implementation of the system, when a peer leaves a subnet, its chain state is not removed from local storage. We need to decide how we want to handle this. We can either:

  • Add a flag to let the user choose if it wants to remove the state of a subnet or not. This would require some logic to inform the user about the state for which chains it still keeps.
  • Always remove the state for a subnet we are no longer part of.
  • Only remove the state of a subnet when it's been killed.

(Probably the first option is the most flexible, that way we delegate the decision to end-users according to their needs).

adlrocha avatar Nov 23 '21 09:11 adlrocha

This issue is is similar to #54 and may depend on it

adlrocha avatar Mar 14 '22 11:03 adlrocha