Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Casper will then read the log output of the TS and use that to make proposals in the consensus protocol.#

Open Questions

The TS updates the DB so that it reflects a state that is ahead of what the state would look like if it was only based on finalized transactions. This is a similar problem to what Bitcoin or Ethereum encounters when there is a block reorganization due to a swap in forks.

Note

I'm working on figuring out block reorganizations for the Tuplespace implementation and I'm studying how pyethereum does it. I've posted this on the pyeth-dev gitter chat but it seems somewhat inactive. Maybe someone can put me in contact with one of the devs? --- Why is it possible to apply_block to a temp_state that hasn't set its storage data yet https://github.com/ethereum/pyethereum/blob/develop/ethereum/pow/chain.py#L304 ? I'm expecting to see some code where the storage data is (re)set like https://github.com/ethereum/pyethereum/blob/develop/ethereum/state.py#L463.



----------

Related code snippets

...