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

Method Commit

onchain/chain_adaptor.go:41–41  ·  view source on GitHub ↗
(cid *big.Int, commitment [32]byte)

Source from the content-addressed store, hash-verified

39 SignalUnregister(addr common.Address) (err error)
40 StartCommitReveal(startBlock int64, commitDuration int64, revealDuration int64, revealThreshold int64) (err error)
41 Commit(cid *big.Int, commitment [32]byte) (err error)
42 Reveal(cid *big.Int, secret *big.Int) (err error)
43 //Get functions
44 GroupToPick() (result uint64, err error)

Callers 11

TestPublicRecoveryFunction · 0.65
TestPublicRecoveryDeleteFunction · 0.65
TestPublicAddFunction · 0.65
TestPDKGFunction · 0.65
genGroupFunction · 0.65
recoverSignFunction · 0.65
handleCRMethod · 0.65
TestTBLSFunction · 0.65
CommitMethod · 0.65
CommitMethod · 0.65
CommitMethod · 0.65

Implementers 1

ethAdaptoronchain/eth_proxy.go

Calls

no outgoing calls

Tested by 5

TestPublicRecoveryFunction · 0.52
TestPublicRecoveryDeleteFunction · 0.52
TestPublicAddFunction · 0.52
TestPDKGFunction · 0.52
TestTBLSFunction · 0.52