Interface NodeRewardsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
NodeRewards, NodeRewards.Builder

@Generated public interface NodeRewardsOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getNodeActivities(int index)
    * A list of node activities.<br/> This records the number of rounds when each node created judges for the consensus algorithm.
    int
    * A list of node activities.<br/> This records the number of rounds when each node created judges for the consensus algorithm.
    * A list of node activities.<br/> This records the number of rounds when each node created judges for the consensus algorithm.
    long
    * The fees collected by node accounts in this period.
    long
    * A number of rounds so far, in this staking period.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getNumRoundsInStakingPeriod

      long getNumRoundsInStakingPeriod()
       *
       A number of rounds so far, in this staking period.
       
      uint64 num_rounds_in_staking_period = 1;
      Returns:
      The numRoundsInStakingPeriod.
    • getNodeFeesCollected

      long getNodeFeesCollected()
       *
       The fees collected by node accounts in this period.
       
      uint64 node_fees_collected = 2;
      Returns:
      The nodeFeesCollected.
    • getNodeActivitiesList

      List<NodeActivity> getNodeActivitiesList()
       *
       A list of node activities.<br/>
       This records the number of rounds when each node created
       judges for the consensus algorithm.
       <p>
       This list SHALL contain one entry for each node participating
       in consensus during this staking period.
       
      repeated .proto.NodeActivity node_activities = 3;
    • getNodeActivities

      NodeActivity getNodeActivities(int index)
       *
       A list of node activities.<br/>
       This records the number of rounds when each node created
       judges for the consensus algorithm.
       <p>
       This list SHALL contain one entry for each node participating
       in consensus during this staking period.
       
      repeated .proto.NodeActivity node_activities = 3;
    • getNodeActivitiesCount

      int getNodeActivitiesCount()
       *
       A list of node activities.<br/>
       This records the number of rounds when each node created
       judges for the consensus algorithm.
       <p>
       This list SHALL contain one entry for each node participating
       in consensus during this staking period.
       
      repeated .proto.NodeActivity node_activities = 3;