record

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FailedRequest

func FailedRequest(node models.Node, repositories repositories.Repos, actions actions.Actions)

FailedRequest should be called when rpc response is invalid to penalize node. It does not return value as it should be called in separate goroutine

func SuccessfulRequest

func SuccessfulRequest(node models.Node, repositories repositories.Repos)

SuccessfulRequest should be called when rpc response is valid to reward node. It does not return value as it should be called in separate goroutine

Types

This section is empty.

Jump to

Keyboard shortcuts

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