ethereum / sharding

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

Account Redesign PoC 2 #34

Closed hwwhww closed 6 years ago

hwwhww commented 6 years ago

Vitalik's new design

A two-layer account trie inside a single-layer trie

Implementation Plan

  1. Replace trie.py with new_bintrie.py
  2. Update the State and Account class
  3. Integrate with stateless_client.py
hwwhww commented 6 years ago

Regarding (2), remove the Account class, as theoretically we don't even need it. The reason is that with the re-write, there's no place where an account is loaded in its entirety, it's always each individual piece of an account that gets loaded separately.

hwwhww commented 6 years ago

Close all old stuff