You're correct - I need to change a few bits.
Rewards from comments are wrapped up within "posts" - Steemit doesn't differentiate them and a "comment" is stored as a "post" (which means I can't separate out rewards). So where I've got "comments" that should be "benefactor" rewards. The problem is, I don't know what that means so I need to work that bit out (I'm assuming it's when you are set as a beneficiary for a post). This will also explain why comments don't appear for some users.
That could explain why deutschunplugged (DU) has more Comments-Rewards. DU of course receives more beneficiaries than I do :-)))
You are using the
rewards_api/getAllRewardsSums
to request die rewards. For me, the answer for 30 days is ( I'll leave out the irrelavant ones):{'author_reward':
{'sbd': 18.555, 'steem': 0, 'vests': 92582.178837},
'comment_benefactor_reward':
{'sbd': 0, 'steem': 0, 'vests': 0},
'curation_reward':
{'vests': 123554. 692384}}
comment_benefactor_reward
has nothing to do with rewards for comments, of course. So the term "comments" should not be used. At the moment, I haven't seen any query that could distinguish this. Posts and comments themselves are only distinguished on the chain by the property "depth".Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I changed the terminology to beneficiaries. I'll have to think about whether it's worth splitting posts and comments apart - it probably isn't worth the effort and additional processing 🙂
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I don't think so either. 👍
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit