Community Crowdfunding System

Work in Progress

TheCharlatan: VPS funding for reproducible gui builds

TheCharlatan: VPS funding for reproducible gui builds

TheCharlatan

22 January 2020

14 XMR

14 contributors

Completed 1 of 1 milestones

What are Reproducible builds and why do we need it?

Reproducible builds (aka "Deterministic Builds") are a set of software development practices that create an independently-verifiable path from source code to the binary code used by computers. See this reddit post I wrote some time ago explaining some of the reasons we need this.

Why you should fund me:

About two years ago I started my journey to support a cross-platform reproducible way to compile the monero cli binaries. After creating the first funding request at the end of last year (again to fund renting a VPS) I began developing the tools and documentation needed for Reproducible Builds (old tracking issue here and already merged code here).

My work culminated into the Boron Butterfly, Major Point Release 1, which was the first monero release that was reproducibly built. I was glad to see the community enthusiastically embrace this new tool with many contributing their signatures of the release binary hashes to the gitian.sigs repository, which I now maintain. It also has to be noted that other developers, chiefly amongst them Howard Chu and Jonathan Cross, expanded on my contributions, cleaning them up and adding further build targets, like freebsd (many thanks to them!).

The obvious step now is to add reproducible builds to the monero-gui. A first step in this direction was made by adopting my rough cmake recipe in this pull request. To get this far was a lot of work. Now, I am again asking for the tools to continue my work. The main bottleneck I face is access to modern, fast hardware to test these resource intensive build system changes.

I am therefore asking the community to help fund access to fast hardware to improve my efficiency.

Funding details:

I currently work on a VPS / cloud server and I will apply whatever funds I receive from the community towards it, as my current contract will expire next month and I don’t have excess funds to renew it.

12 month development workstation VPS € 64 / month × 12 months = € 786 approx. 14 XMR (rounded up to account for fluctuations)

If I find a better fitting VPS host for the same cost, I reserve myself the right to use it instead.

NOTE: If some generous souls end up donating more than the amount requested, I will gladly apply that towards faster hardware, more RAM, etc. The project (and my productivity) would benefit greatly from a more powerful computer than the one I am requesting (I could easily make use of 16 or even 32 cores, 64GB DDR4 RAM, etc).

What I will do with the VPS

On the monero cli side I would like to finish the following over the next year:

  • Support compiling the tests in the strict gitian environment
  • Build and verify release binaries from other gitian builders

For the gui my work will mainly include:

  • Writing build recipes to cross-compile qt with opengl support
  • Improving the cmake recipe
  • Lots of small iterative changes to get the hairy bits like device support and better native performance working
  • Finally releasing gitian build scripts for the gui builds

About me

I'm a physics and computer science student studying at the University of Zurich and I do part time work as a developer at a hardware wallet manufacturer: https://github.com/digitalbitbox . My contributions so far to Monero are found here and here. I currently still view working on Monero as a hobby, so I am not looking for hourly compensation, however the hardware costs are a problem for me and I do not want this to restrict my contribution to the project. I have already implemented reproducible builds for the cli and for other gui based projects, so I am reasonably confident that I will be able to complete them for the gui as well, despite the significant challenges it presents.

Next to the reproducible builds I have also started tinkering into the direction of writing a flexible monero transaction library in Rust that can be used in both on-system and embedded contexts.

If you have any questions or concerns about this funding request, please don’t hesitate to reach out to me.

VPS

To be paid: 15.01 XMR (actual amount raised)

Completion date: 6 February 2020

Funds Awarded: 15.01

Date: 6 February 2020