|Thomas Kerber 8d301583bb Emergency fix.||2 years ago|
|bin||2 years ago|
|examples||2 years ago|
|geth @ 16d7f05965||2 years ago|
|parity @ 1e594b1f15||2 years ago|
|parity0||2 years ago|
|parity1||2 years ago|
|pinocchio @ 0df1815c3e||2 years ago|
|report @ b05bf33ec1||2 years ago|
|solidity @ 86925593ba||2 years ago|
|.gitignore||2 years ago|
|.gitmodules||2 years ago|
|LICENSE||2 years ago|
|Makefile||2 years ago|
|README.md||2 years ago|
|cargo.tar.xz||2 years ago|
|example.txt||2 years ago|
|node.pwds||2 years ago|
|node0.toml||2 years ago|
|node1.toml||2 years ago|
|testchain.json||2 years ago|
This repository is the master repository for work done in my fourth year project at the University of Edinburgh. It integrates verifiable computation with Ethereum, as a proof-of-concept for utilising verifiable computation within smart contracts. For more details, see the report.
This project consists of modifications to multiple large software projects. Compiling all of them, and utilising them require a significant amount of software to be installed. Specifically, from a fresh installation of ArchLinux, the following needed to be executed to build to project from scratch:
# pacman -S git make base-devel pkg-config rustup wine cmake boost npm go $ rustup default stable $ git clone --recursive https://git.tkerber.org/uni/proj.git $ cd proj $ make $ export PATH="$(pwd)/bin:$PATH"
Setup for other linux distributions may vary slightly. Setup under Windows was not attempted. Specifically, the following software is needed:
Parity is a fast moving project, depending on libraries which are used specifically designed for it. The rust build proccess is designed to download and compile these on the fly, however this may cause the Parity authors to inadvertently break backward compatibility. This has occurred during the project, which is why the Parity master branch was merged back in.
For the case that this happens, a copy of the package cache has been supplied
cargo.tar.xz. This cache can be used as follows:
$ cp cargo.tar.xz ~/.cargo $ cd ~/.cargo $ rm -rf git registry $ tar -xJf cargo.tar.xz $ rm cargo.tar.xz
Combined with ensuring that rust 1.16.0 is used, this should ensure successful compilation of Parity.
For usage instructions, and detailed descriptions of the functionality of this project, please see the report.
The changes made by me can are between the following commits:
You can view a diff by entering the respective directory, and executing
diff <start hash> <end hash>.
This project is released under the GPL, just as the original geth, parity, and solidity implementations. It makes use of Pinocchio, which is licensed under the Microsoft Research License. Pinocchio is not linked against, or compiled into any of the other projects, meaning all generated binaries are GPL licensed. The Pinocchio binary itself is, of course, not.
ethvcparity module doesn’t deal well with negative numbers, and causes unexpected behaviour.