Here I will attempt to perform a line-by-line description of Gavin’s recent preliminary hard-fork code submitted to github, which can be found here. I am not a Rust coder, but I have experience with low-level programming languages (Fortran, C), and high-level scripting languages (Python, R, Bash), so I feel I have a pretty good idea what’s going on.

It is important that everyone understand what the code is doing, regardless of whether or not they can read code. If you catch a mistake, LET ME KNOW, so I can change it. This is an open invitation to code nazi’s to correct my description, something you people don’t get very often.

In all, Gavin submitted changes to 3 files in the Parity client: account.rs, ethash.rs, and states.rs. We’ll go through each one separately.

account.rs