Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailedRequest ¶
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.
Click to show internal directories.
Click to hide internal directories.