Unpublish Equation
MODIFY
WalletWasabi/Crypto/Extensions.cs
WalletWasabi/Crypto/Extensions.cs
@@ -34,7 +34,7 @@ namespace System.Linq
}
}
- public static void CheckDimensions(this IEnumerable<Equation> equations, IEnumerable<ScalarVector> allResponses)
+ internal static void CheckDimensions(this IEnumerable<Equation> equations, IEnumerable<ScalarVector> allResponses)
{
if (equations.Count() != allResponses.Count() ||
Enumerable.Zip(equations, allResponses).Any(x => x.First.Generators.Count() != x.Second.Count()))

MODIFY
WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs
WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Equation.cs
@@ -19,7 +19,7 @@ namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
// Note that some of the generators for an equation can be the point at
// infinity when a term in the witness does not play a part in the
// representation of a specific point.
- public class Equation
+ class Equation
{
public Equation(GroupElement publicPoint, GroupElementVector generators)
{

MODIFY
WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Statement.cs
WalletWasabi/Crypto/ZeroKnowledge/LinearRelation/Statement.cs
@@ -31,7 +31,7 @@ namespace WalletWasabi.Crypto.ZeroKnowledge.LinearRelation
Equations = rows.Select(i => new Equation(equations[i, 0] ?? O, new GroupElementVector(cols.Select(j => equations[i, j] ?? O))));
}
- public IEnumerable<Equation> Equations { get; }
+ internal IEnumerable<Equation> Equations { get; }
public IEnumerable<GroupElement> PublicPoints =>
Equations.Select(x => x.PublicPoint);

Unpublish Equation