metrics

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockAppended

func BlockAppended(block *proto.Block, complexity int)

BlockAppended TODO remove it?

func BlockApplied

func BlockApplied(block *proto.Block, height proto.Height)

func BlockAppliedFromExtension

func BlockAppliedFromExtension(block *proto.Block, height proto.Height)

func BlockDeclined

func BlockDeclined(block *proto.Block)

func BlockDeclinedFromExtension

func BlockDeclinedFromExtension(block *proto.Block)

func BlockMined

func BlockMined(block *proto.Block)

func BlockReceived

func BlockReceived(block *proto.Block, source string)

func BlockReceivedFromExtension

func BlockReceivedFromExtension(block *proto.Block, source string)

func FSMChannelLength added in v0.11.0

func FSMChannelLength(length int)

func MicroBlockApplied

func MicroBlockApplied(mb *proto.MicroBlock)

func MicroBlockDeclined added in v0.11.0

func MicroBlockDeclined(mb *proto.MicroBlock)

func MicroBlockInv

func MicroBlockInv(mb *proto.MicroBlockInv, source string)

func MicroBlockMined added in v0.11.0

func MicroBlockMined(mb *proto.MicroBlock, totalTxCount int)

MicroBlockMined must show the total tx count in block.

func MicroBlockReceived

func MicroBlockReceived(mb *proto.MicroBlock, source string)

func Score added in v0.11.0

func Score(score *proto.Score, source string)

func SnapshotBlockApplied added in v0.11.0

func SnapshotBlockApplied(block *proto.Block, height proto.Height)

func Start

func Start(ctx context.Context, id int, url string) error

func Utx added in v0.11.0

func Utx(utxCount int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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