metrics

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: MIT Imports: 11 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 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