Skip to content
Snippets Groups Projects

Triptych research and optimizations

Merged Diego Salazar requested to merge rehrar/ccs-proposals:cypherstack-sarang-proposal into master
+ 73
0
---
layout: fr
title: Triptych research and optimizations
author: Cypher Stack
date: April 8, 2021
amount: 66.5
milestones:
- name: First 40 hours complete
funds: 16.625
done:
status: unfinished
- name: Second 40 hours complete
funds: 16.625
done:
status: unfinished
- name: Third 40 hours complete
funds: 16.625
done:
status: unfinished
- name: Fourth 40 hours complete
funds: 16.625
done:
status: unfinished
payouts:
- date:
amount:
- date:
amount:
- date:
amount:
- date:
amount:
---
**EDITS TO THIS PROPOSAL HAVE BEEN MADE, PLEASE SEE THE EDITS IN BOLD BELOW**
## Brief Intro
As of April 12th, 2021, Aaron "Sarang Noether" Feickert has joined Cypher Stack LLC as a resident researcher for hire.
Cypher Stack is a for-profit LLC owned by Diego "rehrar" Salazar. It started as a design firm but has since expanded to include blockchain consultancy and digital utilities and infrastructure hosting. They already donate to the Monero Project in the form of employing Dan "pigeons" Miller as a system administrator, who is responsible for running and securing much of Monero's infrastructure including Taiga, Matrix, and other key infrastructure in conjunction with the core team.
Sarang himself needs no introduction. A previous full-time researcher of MRL paid for by the CCS, he wants to continue doing research into next-gen privacy with Monero (particularly in Triptych), hence this proposal.
## The scope
Sarang Noether and collaborators created the Triptych and Arcturus privacy protocols, which, if implemented in Monero, could allow ring sizes of greater than 100 with similar size transactions to present ones (though verification times would increase linearly).
Work is already underway to include Triptych into Monero's codebase, but Sarang wants to investigate several optimizations that may be possible. These optimizations could make Triptych transactions more efficient.
As some such optimizations would require additional consensus changes from the current Triptych code in progress, it would be better to get them done sooner rather than later so as to require only one hard fork (from current ring sigs to Triptych) rather than several to add optimizations after Triptych goes live.
Sarang proposes to undergo research and study into these optimizations, continue work on the underlying security model, create proof-of-concept code as needed, and work with the Monero developers to get these optimizations into Monero's blossoming Triptych code.
## The structure, milestones, and price.
**After further discussion with sarang, he thinks much of the work can be done in 160 hours, and if it goes beyond we will make another proposal as needed. This is half the time (and half the money for the community to fundraise). We have also moved to four milestones instead of two. All numbers below have been updated accordingly and interested parties can view the commit change to verify.**
This proposal is structured to be paid out along time-based milestones, but the time will not be consecutive. Each milestone will be paid out at intervals of 40 hours.
In other words, after 40 hours-worth of work is complete, a payout will be made to the completed milestone, but it may take one month or more to complete this 40 hours depending on time, availability, and other concurrent projects.
We are putting in a request for 160 hours (one cumulative month worth) of work. We are requesting $100/hour for this highly specialized work, which comes out to $16,000. At the exchange rate of $265/XMR we reach 60.5 XMR. Adding in a 10% buffer brings us to 66.5 requested XMR.
## The Deliverables
Deliverables to the community: Sarang will give an update every calendar month on his progress to the Monero community in the form of a Reddit post in the Monero subreddit. Other update platforms can be explored as well. Keep in mind, because of the structure of the proposal, some updates may have little to no progress as a result of other work. These reports would say as much.
Deliverables to the devs: Sarang will provide sufficient write-ups, documentation, or PoC code to the developers as per their request, with the goal being the inclusion of optimizations and other research results in a potential future Triptych release.
## Conflict of interest
After some discussion on IRC I have added this section at the end to clarify that I, Diego Salazar, owner of Cypher Stack and employer of Sarang Noether, am also paid by the general fund to work for the Core Team. I have powers to merge in the CCS but only do so with permission from luigi1111, who oversees the whole CCS system. I recuse myself from any sort of merging or moving processes with this CCS proposal due to the conflict of interest.
Loading