Documentation ¶
Index ¶
- Constants
- func NewLocalParty(msg *big.Int, isThreshold bool, params *tss.Parameters, path string, ...) (tss.Party, error)
- type LocalParty
- func (p *LocalParty) FirstRound() tss.Round
- func (p *LocalParty) PartyID() *tss.PartyID
- func (p *LocalParty) Start() *tss.Error
- func (p *LocalParty) StoreMessage(msg tss.ParsedMessage) (bool, *tss.Error)
- func (p *LocalParty) String() string
- func (p *LocalParty) Update(msg tss.ParsedMessage) (ok bool, err *tss.Error)
- func (p *LocalParty) UpdateFromBytes(wireBytes []byte, from *tss.PartyID, isBroadcast bool) (bool, *tss.Error)
- func (p *LocalParty) ValidateMessage(msg tss.ParsedMessage) (bool, *tss.Error)
Constants ¶
View Source
const (
TaskName = "eddsa-sign"
)
Variables ¶
This section is empty.
Functions ¶
func NewLocalParty ¶
func NewLocalParty( msg *big.Int, isThreshold bool, params *tss.Parameters, path string, key keygen.LocalPartySaveData, pre presign.LocalPartySaveData, out chan<- tss.Message, end chan<- *common.SignatureData, fullBytesLen ...int, ) (tss.Party, error)
Types ¶
type LocalParty ¶
func (*LocalParty) FirstRound ¶
func (p *LocalParty) FirstRound() tss.Round
func (*LocalParty) PartyID ¶
func (p *LocalParty) PartyID() *tss.PartyID
func (*LocalParty) Start ¶
func (p *LocalParty) Start() *tss.Error
func (*LocalParty) StoreMessage ¶
func (p *LocalParty) StoreMessage(msg tss.ParsedMessage) (bool, *tss.Error)
func (*LocalParty) String ¶
func (p *LocalParty) String() string
func (*LocalParty) Update ¶
func (p *LocalParty) Update(msg tss.ParsedMessage) (ok bool, err *tss.Error)
func (*LocalParty) UpdateFromBytes ¶
func (*LocalParty) ValidateMessage ¶
func (p *LocalParty) ValidateMessage(msg tss.ParsedMessage) (bool, *tss.Error)
Click to show internal directories.
Click to hide internal directories.