Skip to content

Shard Manager for watching multiple shards #196

Closed
@hwwhww

Description

@hwwhww
  • Enable regular stateless client to watch multiple shards at the same time.
  • Once the validators detect that the they are sampled as the collator, they have to add the shard_id the watching list, and then validators have to run the stateless fast sync to sync the shard. The config looks like:
    {
        validator_address: "0x..." OR null,
        watching: [list of shard ids],
        ...
    }
    
  • shard_id is similar to the concept of network_id, we use shard_id to identify different p2p networks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions