core

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package core provides the top-level orchestrator for the Push Universal Validator. It wires together all subsystems (pushcore, pushsigner, chains, tss, api) and manages their lifecycle.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UniversalClient

type UniversalClient struct {
	// contains filtered or unexported fields
}

UniversalClient is the top-level orchestrator that owns all subsystems.

func NewUniversalClient

func NewUniversalClient(ctx context.Context, cfg *config.Config) (*UniversalClient, error)

NewUniversalClient creates and initializes all subsystems. It validates config, connects to Push Chain, sets up signing, chain watchers, and TSS.

func (*UniversalClient) Start

func (uc *UniversalClient) Start() error

Start launches all subsystems, blocks until ctx is cancelled, then shuts down.

Jump to

Keyboard shortcuts

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