metrics

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 12 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)

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, height proto.Height)

func BlockReceived

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

func BlockReceivedFromExtension

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

func FSMKeyBlockApplied added in v0.8.8

func FSMKeyBlockApplied(fsm string, block *proto.Block)

func FSMKeyBlockDeclined added in v0.8.8

func FSMKeyBlockDeclined(fsm string, block *proto.Block, err error)

func FSMKeyBlockGenerated added in v0.8.8

func FSMKeyBlockGenerated(fsm string, block *proto.Block)

func FSMKeyBlockReceived added in v0.8.8

func FSMKeyBlockReceived(fsm string, block *proto.Block, source string)

func FSMMicroBlockApplied added in v0.8.8

func FSMMicroBlockApplied(fsm string, microblock *proto.MicroBlock)

func FSMMicroBlockDeclined added in v0.8.8

func FSMMicroBlockDeclined(fsm string, microblock *proto.MicroBlock, err error)

func FSMMicroBlockGenerated added in v0.8.8

func FSMMicroBlockGenerated(fsm string, microblock *proto.MicroBlock)

func FSMMicroBlockReceived added in v0.8.8

func FSMMicroBlockReceived(fsm string, microblock *proto.MicroBlock, source string)

func FSMScore added in v0.8.8

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

func MicroBlockApplied

func MicroBlockApplied(mb *proto.MicroBlock)

func MicroBlockInv

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

func MicroBlockReceived

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

func Start

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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