postsolidblockfilter

package
v1.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type PostSolidBlockFilter

type PostSolidBlockFilter struct {
	module.Module
	// contains filtered or unexported fields
}

func (*PostSolidBlockFilter) Init

func (c *PostSolidBlockFilter) Init(accountRetrieveFunc func(accountID iotago.AccountID, targetIndex iotago.SlotIndex) (*accounts.AccountData, bool, error), blockCacheRetrieveFunc func(iotago.BlockID) (*blocks.Block, bool), rmcRetrieveFunc func(iotago.SlotIndex) (iotago.Mana, error))

func (*PostSolidBlockFilter) ProcessSolidBlock

func (c *PostSolidBlockFilter) ProcessSolidBlock(block *blocks.Block)

func (*PostSolidBlockFilter) Reset

func (c *PostSolidBlockFilter) Reset()

Reset resets the component to a clean state as if it was created at the last commitment.

Jump to

Keyboard shortcuts

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