lotion icon indicating copy to clipboard operation
lotion copied to clipboard

Merkleized state

Open mappum opened this issue 8 years ago • 1 comments

The goal is to move away from one big JSON blob of state towards some sort of merkle structure. Would be nice to preserve the API of state being just an object (using ES6 proxies) so that app code doesn't have to change.

Benefits:

  • Light-clients won't have to download/parse entire state
  • Cheaper to update state since we only have to reserialize the changed keys and merkle branches
  • Scalability 👐

mappum avatar Nov 16 '17 21:11 mappum

gonna use mappum/merk (merkle AVL tree) for all queries by default, won't support custom state queries since merk will handle nearly every use case.

keppel avatar Nov 29 '17 23:11 keppel