Documentation
¶
Index ¶
- func NewProvider(opts ...options.Option[Gadget]) module.Provider[*engine.Engine, blockgadget.Gadget]
- func WithAcceptanceThreshold(acceptanceThreshold float64) options.Option[Gadget]
- func WithConfirmationRatificationThreshold(confirmationRatificationThreshold iotago.SlotIndex) options.Option[Gadget]
- func WithConfirmationThreshold(confirmationThreshold float64) options.Option[Gadget]
- type Gadget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func WithAcceptanceThreshold ¶
Types ¶
type Gadget ¶
func New ¶
func New(blockCache *blocks.Blocks, seatManager seatmanager.SeatManager, errorHandler func(error), opts ...options.Option[Gadget]) *Gadget
func (*Gadget) Events ¶
func (g *Gadget) Events() *blockgadget.Events
func (*Gadget) Reset ¶
func (g *Gadget) Reset()
Reset resets the component to a clean state as if it was created at the last commitment.
func (*Gadget) TrackWitnessWeight ¶
Click to show internal directories.
Click to hide internal directories.