Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownSenderParty = bnbutils.ErrUnknownSenderParty ErrDuplicateFrame = bnbutils.ErrDuplicateFrame ErrFrameTooLarge = bnbutils.ErrFrameTooLarge ErrQueueFull = bnbutils.ErrQueueFull ErrStalledProtocol = bnbutils.ErrStalledProtocol ErrDerivationContextMismatch = corederivation.ErrDerivationContextMismatch )
Functions ¶
This section is empty.
Types ¶
type Params ¶
type Params struct {
SessionID string
LocalPartyID string
CorrelationID string
Stage string
Algorithm string
DerivationContextHash string
Party tsslib.Party
PartyIDs map[string]*tsslib.PartyID
OutCh <-chan tsslib.Message
Logger *slog.Logger
Debug bool
Config tssbnbutils.RunnerConfig
Metrics bnbutils.Metrics
DKGECDSAEndCh <-chan ecdsakeygen.LocalPartySaveData
SignECDSAEndCh <-chan *common.SignatureData
DoneCh <-chan struct{}
}
type ProtocolExecution ¶
type ProtocolExecution struct {
// contains filtered or unexported fields
}
func New ¶
func New(p Params) *ProtocolExecution
func (*ProtocolExecution) ECDSAKeyShare ¶
func (e *ProtocolExecution) ECDSAKeyShare() *ecdsakeygen.LocalPartySaveData
func (*ProtocolExecution) Run ¶
func (e *ProtocolExecution) Run(ctx context.Context, transport Transport) (err error)
func (*ProtocolExecution) Signature ¶
func (e *ProtocolExecution) Signature() *common.SignatureData
func (*ProtocolExecution) Stats ¶
func (e *ProtocolExecution) Stats() StatsSnapshot
type StatsSnapshot ¶
Click to show internal directories.
Click to hide internal directories.