pub type Activity = u8;
Expand description
Activity is specified by the underlying consensus implementation and can be interpreted if desired.
Examples of activity would be “vote”, “finalize”, or “fault”. Various consensus implementations may want to reward (or penalize) participation in different ways and in different places. For example, validators could be required to send multiple types of messages (i.e. vote and finalize) and rewarding both equally may better align incentives with desired behavior.