Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
EventStore *eventstore.Store
PushCore *pushcore.Client
PushSigner *pushsigner.Signer // Optional — nil disables failure voting
CheckInterval time.Duration
Logger zerolog.Logger
}
Config holds configuration for the expiry sweeper.
type Sweeper ¶
type Sweeper struct {
// contains filtered or unexported fields
}
Sweeper polls for CONFIRMED events past their expiry block and marks them REVERTED. For SIGN events a failure vote is submitted to Push chain first so the protocol can refund the user. Key events (KEYGEN/KEYREFRESH/QUORUM_CHANGE) are marked REVERTED directly — TSS never started so there is no outbound to vote on.
Click to show internal directories.
Click to hide internal directories.