Project Information
- Repository: https://github.com/steemit/hivemind
- Project Name: Hivemind
- Publisher: Steemit Inc.
Expected behavior
Post/comment information obtained via get_discussions
contains the author reputation as well as the reputation values of each voter in the active_votes
field. While basically all Steem front-ends show the normalized/log10 reputation value, this number is stored in steemd in the raw version. All reputation values returned from hivemind or steemd nodes should follow the same format.
Actual behavior
The reputations in the list of active_votes
is returned in the log10/normalized value while the author_reputation
field returns the raw value.
How to reproduce
steemit hivemind node:
curl -s --data '{"method": "tags_api.get_discussion", "params": {"author": "steemitboard", "permlink": "steemitboard-notify-stmdev-20181024t002841000z"}, "jsonrpc": "2.0", "id": 2}' https://api.steemit.com
[...] "active_votes":[{"voter":"stmdev","reputation":"59.5","percent":"10000","rshares":"0"}],"author_reputation":20209499381910, [...]
- reputation in
active_votes
is the log10 value author_reputation
is the raw value
as comparison with the minnowsupport steemd node:
curl -s --data '{"method": "tags_api.get_discussion", "params": {"author": "steemitboard", "permlink": "steemitboard-notify-stmdev-20181024t002841000z"}, "jsonrpc": "2.0", "id": 2}' https://steemd.minnowsupportproject.org
[...],"active_votes":[{"voter":"stmdev","weight":0,"rshares":0,"percent":10000,"reputation":"7203258450054","time":"2018-11-11T10:33:09"}],"replies":[],"author_reputation":"23856299575939"[...]
- reputation in
active_votes
is the raw value author_reputation
is the raw value
The bug was confirmed by roadscape and is beeing adressed:
https://github.com/steemit/hivemind/issues/161