refresh

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(cfg *config.Config, newParticipants []party.ID, newThreshold int, pl *pool.Pool) protocol.StartFunc

Start initiates the Ringtail key refresh protocol This protocol refreshes shares while maintaining the same public key

Types

type RefreshOutput

type RefreshOutput struct {
	Config           *config.Config
	VerificationHash []byte
}

RefreshOutput represents the result of key refresh

func (*RefreshOutput) NewParticipants

func (o *RefreshOutput) NewParticipants() []party.ID

NewParticipants returns the new participant list

func (*RefreshOutput) NewPrivateShare

func (o *RefreshOutput) NewPrivateShare() []byte

NewPrivateShare returns the refreshed private key share

func (*RefreshOutput) NewThreshold

func (o *RefreshOutput) NewThreshold() int

NewThreshold returns the new threshold value

func (*RefreshOutput) PublicKey

func (o *RefreshOutput) PublicKey() []byte

PublicKey returns the public key (unchanged)

Jump to

Keyboard shortcuts

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