rmc

package
v1.0.0-alpha.23 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(apiProvider iotago.APIProvider, commitmentLoader func(iotago.SlotIndex) (*model.Commitment, error)) *Manager

func (*Manager) BlockAccepted

func (m *Manager) BlockAccepted(block *blocks.Block) error

func (*Manager) CommitSlot

func (m *Manager) CommitSlot(index iotago.SlotIndex) (iotago.Mana, error)

func (*Manager) RMC

func (m *Manager) RMC(slot iotago.SlotIndex) (iotago.Mana, error)

func (*Manager) Reset

func (m *Manager) Reset()

func (*Manager) SetLatestCommittedSlot

func (m *Manager) SetLatestCommittedSlot(index iotago.SlotIndex)

Jump to

Keyboard shortcuts

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