metrics

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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