notifier

package
v0.0.0-...-ea98088 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSovereignNotifier

func NewSovereignNotifier(args ArgsSovereignNotifier) (*sovereignNotifier, error)

NewSovereignNotifier will create a sovereign shard notifier

Types

type ArgsSovereignNotifier

type ArgsSovereignNotifier struct {
	Marshaller       marshal.Marshalizer
	Hasher           hashing.Hasher
	SubscribedEvents []SubscribedEvent
}

ArgsSovereignNotifier is a struct placeholder for args needed to create a sovereign notifier

type SubscribedEvent

type SubscribedEvent struct {
	Identifier []byte
	Addresses  map[string]string
}

SubscribedEvent contains a subscribed event from the main chain that the notifier is watching

Jump to

Keyboard shortcuts

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