coordinator

package
v0.0.0-...-ac57357 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConnectSessionCommand byte = iota
	SesssionReadyCommand
	BroadcastNoncesCommand
	BroadcastPartialSigCommand
)

Variables

This section is empty.

Functions

func Server

func Server(port string)

func StartSession

func StartSession(addr string, keySet []kyber.Point, msg []byte, key *musig.Key) error

Types

type Signer

type Signer struct {
	PubKey     []byte
	Nonces     [][]byte
	PartialSig []byte
	// contains filtered or unexported fields
}

type SigningSession

type SigningSession struct {
	ID                []byte
	ExpectedCosigners uint16
	Signers           map[[32]byte]*Signer
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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