Kagome
Polkadot Runtime Engine in C++17
kagome::network::ReputationChange Struct Reference

#include <reputation_change.hpp>

Collaboration diagram for kagome::network::ReputationChange:

Public Member Functions

ReputationChange operator+ (Reputation delta) const
 
ReputationChange operator* (size_t times) const
 

Public Attributes

const Reputation value
 
const std::string_view reason
 

Detailed Description

Definition at line 17 of file reputation_change.hpp.

Member Function Documentation

ReputationChange kagome::network::ReputationChange::operator* ( size_t  times) const
inline

Definition at line 35 of file reputation_change.hpp.

ReputationChange kagome::network::ReputationChange::operator+ ( Reputation  delta) const
inline

Definition at line 22 of file reputation_change.hpp.

Member Data Documentation

const std::string_view kagome::network::ReputationChange::reason

Definition at line 20 of file reputation_change.hpp.

const Reputation kagome::network::ReputationChange::value

Definition at line 19 of file reputation_change.hpp.


The documentation for this struct was generated from the following file: