orchestration

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2025 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTxSystem

func NewTxSystem(shardConf types.PartitionDescriptionRecord, observe txsystem.Observability, opts ...Option) (*txsystem.GenericTxSystem, error)

Types

type Module

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

func NewModule

func NewModule(pdr types.PartitionDescriptionRecord, options *Options) (*Module, error)

func (*Module) TxHandlers

func (m *Module) TxHandlers() map[uint16]txtypes.TxExecutor

type Option

type Option func(*Options)

func WithExecutedTransactions

func WithExecutedTransactions(executedTransactions map[string]uint64) Option

func WithHashAlgorithm

func WithHashAlgorithm(hashAlgorithm crypto.Hash) Option

func WithOwnerPredicate

func WithOwnerPredicate(ownerPredicate types.PredicateBytes) Option

func WithState

func WithState(s *state.State) Option

func WithTrustBase

func WithTrustBase(trustBase types.RootTrustBase) Option

type Options

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

Jump to

Keyboard shortcuts

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