shamirkey

package
v0.0.0-...-a360f25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2019 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountVerifyProcess

func AccountVerifyProcess(usechain *config.Usechain, pool *core.SharePool)

The process for account verify, read the manage contract and handle un-register request

func InitShamirCommitteeNumber

func InitShamirCommitteeNumber(config config.Usechain)

Read committee config from contract

func SendRequestShares

func SendRequestShares(senderid int)

Broadcast NewCommitteeLogInMsg, request for sharing keys

func ShamirKeySharesGenerate

func ShamirKeySharesGenerate(id int, keypool *core.KeyPool)

func ShamirKeySharesListening

func ShamirKeySharesListening(p *config.CommittteeProfile, pool *core.SharePool, keypool *core.KeyPool)

Listening the network msg

func ShamirSharesReponse

func ShamirSharesReponse(requester int, keypool *core.KeyPool)

Broadcast polynomialShare && send f(j) to determined committee

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL