Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Exclusively join shards a peer is involved in after state change #33

Closed
Tracked by #28
adlrocha opened this issue Oct 5, 2021 · 0 comments
Closed
Tracked by #28

Comments

@adlrocha
Copy link
Collaborator

adlrocha commented Oct 5, 2021

When a state change is detected in the shard actor of a shard, we need to check if that state change involves our peer in some way:

  • Either because we joined the shard and we are a new miner.
  • Or because we staked to join the shard.

We are subscribed to every state change of the shard actor in the shards we are subscribed in, and we need to filter events conveniently.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant