transition

package
v0.49.0-rc.10 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlphabetState

type AlphabetState interface {
	IsAlphabet(context.Context) bool
}

type MorphClient

type MorphClient interface {
	NotarySignAndInvokeTX(mainTx *transaction.Transaction) error
}

type Params

type Params struct {
	Log              *logger.Logger
	Contract         util.Uint160
	Netmap           util.Uint160
	MorphClient      MorphClient
	TransitionClient TransitionClient
	AlphabetState    AlphabetState
}

type Processor

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

func New

func New(p *Params) (*Processor, error)

New creates a transition contract processor instance.

func (*Processor) ListenerNotaryHandlers

func (p *Processor) ListenerNotaryHandlers() []event.NotaryHandlerInfo

ListenerNotaryHandlers for the 'event.Listener' notary event producer.

func (*Processor) ListenerNotaryParsers

func (p *Processor) ListenerNotaryParsers() []event.NotaryParserInfo

func (*Processor) ListenerNotificationHandlers

func (p *Processor) ListenerNotificationHandlers() []event.NotificationHandlerInfo

type TransitionClient

type TransitionClient interface {
	PruneExpiredRecords(context.Context, uint64) error
}

Processor processes Transition contract notary requests.

Jump to

Keyboard shortcuts

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