livepeer / livepeer/TranscodingVerification

Verification Workflow

Offen
#7 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
C
Sterne
2
Forks
2
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Verification Workflow
The verification module assumes the following workflow:

![download](https://user-images.githubusercontent.com/345743/43158342-794708e8-8f4d-11e8-963a-8c3e368bee24.png)

[source](https://sequencediagram.org/index.html#initialData=C4S2BsFMAIDVIE4gGYgMYENQHsB20B1bBAa2XGwHcAoai7AB2gBUENcBnNbAExgCVIHAK7hgHWgHkARgCtIaYNADKwYjAA8AWhZtO3PgmgAuXey69IPFZADmAW0i4lAamgBFYRnBgAniu4EGDdlEFtaJ2taAAUEbDVucGgtAD4zfUsjUwBhAAtvKFxbGGU7R2doADlaVnMDRGS0+CRURFNmlHQsEDxoQQBHYSElAApJJFsQXG8bWyqAGnSLPmtSucrFz28-APUASloO1qNU6Fj47ET2xE7MHHxBETEgA)

### Transcoder
The transcoder is a GPU running on a machine. We assume the verification module is shipped as a part of the code running on the GPU. The verification module is invoked for every transcoded segment, resulting in an array of values for validation and a single value for ranking. This list of values is published with the transcode result.

_Note: We should make sure this assumption is viable. What if the machine running the GPU is a stripped down crypto mining rig that may not have the ability to run the verification module?_

### Verifier
In the ideal world, the verifier would be a [Truebit](https://truebit.io/) module running on the Ethereum chain. There is a [prototype](https://github.com/livepeer/verification-truebit) built with a modified version of ffprobe, but we haven't ran it in production yet. In the mean time, we can assume it's a docker instance running on a cloud hosted instance with access to Ethereum.

The verifier invokes the quality measurement module, and compares the result with the input validation values (created by the transcoder). The verification reports `fail` if the values are different.

### Protocol
Smart contracts running on the Ethereum blockchain. The transcoder needs to monitor the challenge event in order to invoke the verification request.

### Object Store
We can assume it's a S3 bucket with public access.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem Workflow-Diagramm und dem verknüpften verification-truebit-Prototyp und überprüfe anschließend die angegebenen Annahmen zu transcoder, verifier, dem Ethereum-Protokoll und S3. Als abgeschlossen würde die Aufgabe eine konkrete Implementierungsspezifikation und einen validierten Workflow erfordern, aber dieses Issue nennt keine Repository-Dateien oder auszuführenden Tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
aws, c, docker
Bereich
backend, blockchain, cloud, distributed-systems
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.