Adaptation of bitcoinj for the purposes of my Master's project.