create account

有意思的BUG,帖子收益 by oflyhigh

View this thread on: hive.blogpeakd.comecency.com
· @oflyhigh ·
$24.31
有意思的BUG,帖子收益
除了很佛系的作者,一般来讲,帖子收益的问题是大家都非常关心的问题,但是你知道吗?STEEMIT上显示的帖子(未结算)收益可能并不真实!

![](https://cdn.steemitimages.com/DQmeKvs151A1vRYx4wGt831xmVZ9whWeMciSZKuFWekU3sk/image.png)
(图源 :[pexels.com](https://www.pexels.com/))

为什么这么说呢?因为今天的学习过程中,我发现了一个关于帖子收益的BUG。

我们获取一个帖子的信息有很多种方式,而比较常用的有`get_content`以及`get_blog`这两种,前者可以获得指定链接的内容,后者则可以按序号获取指定内容。

以获取我之前发布的一篇帖子为例,使用两个API调用的JSON分别为:
>`{"jsonrpc": "2.0", "method": "condenser_api.get_content", "params": ["oflyhigh", "ufo-2019-09-18"], "id": 1}`

>`{"jsonrpc": "2.0", "method": "condenser_api.get_blog", "params": ["oflyhigh", 1787, 1], "id": 1}`

这两个API调用,均可以返回帖子内容以及帖子的一些其它参数,比如说`pending_payout_value`,接下来就是见证奇迹的时刻啦:

`get_content`部分返回内容:
>![](https://cdn.steemitimages.com/DQmQc8DdZA93sndGp8kSbdHapQBS7EVVrGRo6VA6TLnB3by/image.png)

`get_blog` 部分返回内容:
>![](https://cdn.steemitimages.com/DQmTyrYPw41bDQg7zsJSKa4GjeVS5fpNQ6aRjnRHRSpjtD5/image.png)

发现问题了没有?***同一篇文章使用`get_content`以及`get_blog`返回的`pending_payout_value`并不相同!***

按说同一篇文章,在点赞没有变化,奖金池没有大变化的情况下,用不同方法得到的`pending_payout_value`应该是一样的,不一样说明其中之一是有BUG的。

也许你会说,不过是一两分SBD,无伤大雅,但是在***金融系统里是不允许有一分一毫的误差的***,如果出现误差,证明系统存在BUG。

当然了,这个不过是显示的收益,真正影响我们收益的是处理收益发放的程序,想必不会有BUG吧?😳

----
<center><strong>Vote For Me As Witness</strong>
https://steemit.com/~witnesses type in **`oflyhigh`** and click ***`VOTE`***
[![](https://cdn.steemitimages.com/DQmX5NysqT44FBa3bhuWqQ69nAbseu8Nt5YQPn2pYejPVxA/image.png)](https://steemit.com/~witnesses)
[Vote @oflyhigh via Steemconnect](https://steemconnect.com/sign/account-witness-vote?witness=oflyhigh&approve=1)
<strong>Thank you!</strong></center>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 173 others
properties (23)
authoroflyhigh
permlink6pzsxt-bug
categorycn
json_metadata{"tags":["cn","blog","steem","post"],"image":["https://cdn.steemitimages.com/DQmeKvs151A1vRYx4wGt831xmVZ9whWeMciSZKuFWekU3sk/image.png","https://cdn.steemitimages.com/DQmQc8DdZA93sndGp8kSbdHapQBS7EVVrGRo6VA6TLnB3by/image.png","https://cdn.steemitimages.com/DQmTyrYPw41bDQg7zsJSKa4GjeVS5fpNQ6aRjnRHRSpjtD5/image.png","https://cdn.steemitimages.com/DQmX5NysqT44FBa3bhuWqQ69nAbseu8Nt5YQPn2pYejPVxA/image.png"],"links":["https://www.pexels.com/","https://steemit.com/~witnesses","https://steemconnect.com/sign/account-witness-vote?witness=oflyhigh&approve=1"],"app":"steemit/0.1","format":"markdown"}
created2019-09-19 01:59:51
last_update2019-09-19 01:59:51
depth0
children3
last_payout2019-09-26 01:59:51
cashout_time1969-12-31 23:59:59
total_payout_value12.423 HBD
curator_payout_value11.888 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,565
author_reputation6,358,937,576,099,177
root_title有意思的BUG,帖子收益
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,715,809
net_rshares62,335,315,592,838
author_curate_reward""
vote details (237)
@davidke20 ·
不要紧的,反正等着归零。归零后给你一千万Steem😂
properties (22)
authordavidke20
permlinkre-oflyhigh-2019919t102342764z
categorycn
json_metadata{"tags":["cn","blog","steem","post"],"app":"esteem/2.2.1-mobile","format":"markdown+html","community":"esteem.app"}
created2019-09-19 02:23:45
last_update2019-09-19 02:23:45
depth1
children1
last_payout2019-09-26 02:23:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length26
author_reputation952,374,392,858,364
root_title有意思的BUG,帖子收益
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,716,208
net_rshares0
@oflyhigh ·
瞎说啥大实话😭
properties (22)
authoroflyhigh
permlinkpy2tdg
categorycn
json_metadata{"tags":["cn"],"app":"steemit/0.1"}
created2019-09-19 11:32:06
last_update2019-09-19 11:32:06
depth2
children0
last_payout2019-09-26 11:32:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation6,358,937,576,099,177
root_title有意思的BUG,帖子收益
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,727,378
net_rshares0
@partiko ·
Thank you so much for participating in the Partiko Delegation Plan Round 1! We really appreciate your support! As part of the delegation benefits, we just gave you a 3.01% upvote! Together, let’s change the world!
👍  
properties (23)
authorpartiko
permlinkre-6pzsxt-bug-20190919t023012
categorycn
json_metadata"{"app": "partiko"}"
created2019-09-19 02:30:15
last_update2019-09-19 02:30:15
depth1
children0
last_payout2019-09-26 02:30:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length213
author_reputation39,207,160,334,751
root_title有意思的BUG,帖子收益
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id90,716,305
net_rshares25,607,967
author_curate_reward""
vote details (1)