nucypher / ferveo

An implementation of a DKG protocol forked from Anoma
https://nucypher.github.io/ferveo/benchmarks/perf/tpke/index.html
GNU General Public License v3.0
5 stars 10 forks source link

Refactor of Refresh & Recovery procedures #158

Closed cygnusv closed 1 year ago

cygnusv commented 1 year ago

Type of PR:

Required reviews:

What this does: This PR is mainly a refactor of code related to refresh & recovery procedures. The main contributions are:

Issues fixed/closed:

Why it's needed: This work is the basis to implementing the recovery & refresh protocols (see #163)

Notes for reviewers: No breaking changes!

Work in this PR has surfaced these issues:

piotr-roslaniec commented 1 year ago

@cygnusv There is a build error on CI, unrelated to this error. Please see: https://github.com/nucypher/ferveo/pull/159

codecov-commenter commented 1 year ago

Codecov Report

Merging #158 (8407f78) into main (0a73aa3) will increase coverage by 0.06%. The diff coverage is 99.77%.

@@            Coverage Diff             @@
##             main     #158      +/-   ##
==========================================
+ Coverage   77.87%   77.94%   +0.06%     
==========================================
  Files          23       23              
  Lines        5031     5051      +20     
==========================================
+ Hits         3918     3937      +19     
- Misses       1113     1114       +1     
Files Changed Coverage Δ
ferveo/src/lib.rs 97.57% <99.18%> (+0.12%) :arrow_up:
ferveo/src/dkg.rs 96.11% <100.00%> (ø)
ferveo/src/pvss.rs 91.16% <100.00%> (-0.54%) :arrow_down:
ferveo/src/refresh.rs 100.00% <100.00%> (ø)
tpke/src/lib.rs 99.78% <100.00%> (-0.08%) :arrow_down: