ethereum / sharding

Sharding manager contract, and related software and tests
480 stars 105 forks source link

Update validator manager contract after applying stateless client #28

Closed hwwhww closed 6 years ago

hwwhww commented 6 years ago

With stateless client, the cost of reshuffling would be reduced massively. It gives us a chance to remove shuffling cycle.

The other problem is making the whole procedure fast enough to collate the collation. So once the validator finds he was sampled as the collator of this period:

  1. Check if he's watching this shard
    • if not, do the fast syncing and ask for transactions of this shard
  2. Collate
  3. Send add_header tx and broadcast the collation

Since we set the period length to 5 blocks, so the add_header tx must be included in Mainnet in 75 seconds.

hwwhww commented 6 years ago

Close all old stuff