Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Probably anyone who is involved in the "core" project will have to study Ethereum implementations. While the Ethereum Yellow Paper (https://ethereum.github.io/yellowpaper/paper.pdf) is probably the first source you want to look at, it doesn't cover specific implementation details such as how block reorganizations are handled. Unless you are already an expert in Rust or Go, Pyethereum is probably the easiest Ethereum codebase to study. Unfortunately it seems like Pyethapp isn't the most up to date implementation and for whatever reasons I wasn't able to immediately peer with other nodes.

The following is a workaround to import blocks from parity to get around peering issues.

  1. Install and run parity to sync up the needed number of blocks
  2. Export blocks from parity with $ ./target/release/parity export blocks ~/path/to/directory/chain.rlp
  3. Import blocks into pyethapp with $ pyethapp import ~/path/to/directory/chain.rlp

TODO: Explain how to extract block information

  • No labels