MCPcopy Create free account
hub / github.com/DOSNetwork/core / Threshold

Method Threshold

share/poly.go:316–318  ·  view source on GitHub ↗

Threshold returns the secret sharing threshold.

()

Source from the content-addressed store, hash-verified

314
315// Threshold returns the secret sharing threshold.
316func (p *PubPoly) Threshold() int {
317 return len(p.commits)
318}
319
320// Commit returns the secret commitment p(0), i.e., the constant term of the polynomial.
321func (p *PubPoly) Commit() kyber.Point {

Callers 3

EvalMethod · 0.95
AddMethod · 0.95
EqualMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected