Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxDuplicateDEAttempts = 5
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DE ¶
type DE struct {
// contains filtered or unexported fields
}
DE is a worker responsible for generating own nonce (DE) of signing process
func New ¶
New creates a new instance of the DE worker. It initializes the necessary components and returns the created DE instance or an error if initialization fails.
type PubDE ¶
PubDE represents the data structure for public D,E being retrieved from events.
func ParsePubDEFromEvents ¶
func ParsePubDEFromEvents(events sdk.StringEvents, eventType string) ([]PubDE, error)
ParsePubDEFromEvents parses the events into PubDE struct from the given events and event type. It extracts the public D and E from the log and returns the parsed Events or an error if parsing fails.
Click to show internal directories.
Click to hide internal directories.