I implemented a python library myself, and because I saw that the `condenser_api` would be deprecated, so in this python library I used other substitution APIs instead of using the `condenser_api`. ![image.png](https://images.hive.blog/DQmXbHdVstYLw8EFjWZj6hF5FANF4jrspacmSjhZMhFApCU/image.png) (图源 :[pixabay](https://pixabay.com/)) My scripts use my python library and the local node, and they work together without any problems. But when I tried to use https://api.hive.blog, the following API call went wrong: >`network_broadcast_api.broadcast_transaction` And the error message: >{"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"Internal Error","data":{"error_id":"b39f68b2-729c-4a3d-8c0e-3a55d3ae0559","jussi_request_id":"000136681014195215"}}} First of all, I thought there was a problem in my script or python library, but when I examined it closely, I found nothing wrong. In addition, I found that using my local node or https://anyx.io, my scripts worked fine. So what's the difference between https://api.hive.blog and my local node or https://anyx.io? The answer is https://api.hive.blog using JUSSI. In order to test this problem, I tested some other nodes, and the results are the same: ***Nodes with JUSSI enabled return "internal error", while others handle it normally***. We can use the following steps to reproduce this problem: #### Step 1 Make an API Call to https://api.hive.blog (JUSSI enabled) >`curl -s --data '{"jsonrpc":"2.0", "method":"network_broadcast_api.broadcast_transaction", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"vote_operation","value":{"voter":"hiveio","author":"alice","permlink":"a-post-by-alice","weight":10000}}],"extensions":[],"signatures":[]},"max_block_age":50}, "id":1}' https://api.hive.blog` Check the response: >{"jsonrpc":"2.0","id":1,"error":{"code":-32603,"message":"Internal Error","data":{"error_id":"b39f68b2-729c-4a3d-8c0e-3a55d3ae0559","jussi_request_id":"000136681014195215"}}} #### Step 2 Make API Call to https://api.hive.blog (without JUSSI) >`curl -s --data '{"jsonrpc":"2.0", "method":"network_broadcast_api.broadcast_transaction", "params":{"trx":{"ref_block_num":1097,"ref_block_prefix":2181793527,"expiration":"2016-03-24T18:00:21","operations":[{"type":"vote_operation","value":{"voter":"hiveio","author":"alice","permlink":"a-post-by-alice","weight":10000}}],"extensions":[],"signatures":[]},"max_block_age":50}, "id":1}' https://anyx.io` Check the response: >{"error":{"code":-32000,"data":{"code":3030000,"message":"missing required posting authority" ... #### Conclusion We expect the two nodes to return the same information (step 2 is correct), but step 1 returns:"Internal Error". In my opinion, for an API call, ***whether or not the node is JUSSI enabled, the result should be consistent***. So, I think this may be a BUG of JUSSI. # 中文版 自己实现了个python库,因为看到`condenser_api`要被弃用,所以的实现时基本上都是用其它替代API。 使用这个库的程序配合我的本地节点,一直工作的挺好没啥毛病。 不过当我偶然使用https://api.hive.blog, 发现竟然无法处理`network_broadcast_api.broadcast_transaction`。 经过一系列的测试,我决定这个应该是一个BUG,没想到偶然间竟然测出JUSSI的一个BUG。因为指望JUSSI迅速更新是不可能了,只好先自己改一下库喽。
post_id | 86,090,177 |
---|---|
author | oflyhigh |
permlink | jussi-bug |
category | cn |
json_metadata | {"tags":["cn","cutehive","cn-programming","jussi","bug"],"image":["https:\/\/images.hive.blog\/DQmXbHdVstYLw8EFjWZj6hF5FANF4jrspacmSjhZMhFApCU\/image.png"],"links":["https:\/\/pixabay.com\/","https:\/\/api.hive.blog","https:\/\/anyx.io","https:\/\/anyx.io?"],"app":"steemit\/0.2","format":"markdown"} |
created | 2020-05-22 02:50:45 |
last_update | 2020-05-22 02:50:45 |
depth | 0 |
children | 1 |
net_rshares | 47,894,918,886,095 |
last_payout | 2020-05-29 02:50:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 12.634 SBD |
curator_payout_value | 12.359 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 3,184 |
author_reputation | 1,148,153,621,496,884 |
root_title | 偶然间发现JUSSI的一个小BUG |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
adm | 0 | 22,170,022,356,853 | 100% | ||
onealfa | 0 | 34,767,973,353 | 5% | ||
thecryptodrive | 0 | 648,009,223,705 | 25% | ||
livingfree | 0 | 70,880,827,296 | 2% | ||
blockchainbilly | 0 | 8,364,470,110 | 50% | ||
rea | 0 | 47,370,358,212 | 40% | ||
marius19 | 0 | 6,649,858,628 | 100% | ||
lemooljiang | 0 | 586,857,789,462 | 88% | ||
ace108 | 0 | 282,617,366,269 | 25% | ||
laoyao | 0 | 43,241,671,145 | 100% | ||
somebody | 0 | 9,263,351,463 | 100% | ||
skysunny | 0 | 115,619,128 | 88% | ||
midnightoil | 0 | 154,237,723,630 | 100% | ||
xiaohui | 0 | 858,573,098,311 | 100% | ||
silentlucidity53 | 0 | 0 | 75% | ||
oflyhigh | 0 | 1,001,492,685,182 | 100% | ||
yulan | 0 | 15,687,049,900 | 100% | ||
nextgen622 | 0 | 511,204,907,643 | 100% | ||
helene | 0 | 340,347,939,653 | 100% | ||
sweetsssj | 0 | 18,697,121,525,092 | 50% | ||
netaterra | 0 | 331,186,961,848 | 25% | ||
shadowspub | 0 | 4,309,743,405 | 6% | ||
funnyman | 0 | 175,266,569,864 | 25% | ||
steemyoda | 0 | 18,164,228,144 | 2% | ||
timool | 0 | 1,058,928,687 | 88% | ||
lucknie | 0 | 16,617,255,140 | 88% | ||
carrotliu | 0 | 0 | 88% | ||
dumping | 0 | 1,693,009,618 | 88% | ||
jinghua | 0 | 0 | 88% | ||
elizacheng | 0 | 23,868,192,888 | 11.6% | ||
austinsandersco | 0 | 712,350,160 | 70% | ||
kingofdew | 0 | 45,609,501,825 | 100% | ||
msg768 | 0 | 105,344,473,665 | 61% | ||
frankintaiwan | 0 | 0 | 10% | ||
wylo | 0 | 620,254,764 | 100% | ||
jkkim | 0 | 27,068,039 | 10% | ||
ebejammin | 0 | 5,955,072,404 | 100% | ||
cryptohustler | 0 | 38,395,802,202 | 100% | ||
eval | 0 | 780,670,427 | 100% | ||
speeding | 0 | 3,689,072,665 | 100% | ||
maxer27 | 0 | 15,790,580,348 | 20% | ||
walkinharmony | 0 | 39,274,698,821 | 40% | ||
techken | 0 | 1,069,942,232 | 2.5% | ||
asterix87 | 0 | 14,081,518,495 | 100% | ||
benedict08 | 0 | 154,668,757,621 | 50% | ||
susanli3769 | 0 | 155,810,395,862 | 100% | ||
abetterworld | 0 | 2,931,994,796 | 100% | ||
that1consultant | 0 | 252,556,455 | 100% | ||
sanzo | 0 | 475,335,792 | 100% | ||
davaowhenyo | 0 | 546,782,998 | 100% | ||
allenshayzar | 0 | 547,299,912 | 100% | ||
raku | 0 | 244,779,148 | 100% | ||
resteeming | 0 | 67,466,666 | 100% | ||
ravenousappetite | 0 | 606,895,480 | 100% | ||
themarkymark | 0 | 512,766,844 | 15% | ||
aabb | 0 | 326,653,208 | 100% | ||
auntigormint | 0 | 67,526,715 | 100% | ||
mrliga | 0 | 21,862,260,549 | 100% | ||
oldman28 | 0 | 19,801,527,300 | 50% | ||
sweethoney | 0 | 2,025,775,469 | 100% | ||
lancy | 0 | 4,775,398,757 | 92% | ||
aafeng | 0 | 65,240,776,309 | 100% | ||
floatinglin | 0 | 2,867,145,246 | 100% | ||
bearpaw | 0 | 422,872,650 | 100% | ||
kimzwarch | 0 | 8,194,363,963 | 3.73% | ||
freedom-fighter | 0 | 546,493,330 | 100% | ||
buildawhale | 0 | 73,544,645,519 | 20% | ||
technologynepal | 0 | 546,281,942 | 100% | ||
davidke20 | 0 | 15,198,815,901 | 10% | ||
khalilad | 0 | 551,718,038 | 100% | ||
ms8988 | 0 | 194,416,357 | 100% | ||
stakuza | 0 | 67,198,669 | 100% | ||
metten | 0 | 8,890,342,374 | 88% | ||
ikonik | 0 | 69,468,220 | 100% | ||
vfxness | 0 | 17,564,599 | 100% | ||
lemminon | 0 | 547,050,194 | 100% | ||
heyeshuang | 0 | 607,619,547 | 100% | ||
razor80 | 0 | 538,240,909 | 100% | ||
fastiduos | 0 | 606,881,285 | 100% | ||
winniex | 0 | 8,735,862,973 | 20% | ||
rebecca80 | 0 | 148,716,191 | 100% | ||
weavingwords | 0 | 61,243,730,191 | 100% | ||
nitro.live | 0 | 267,675,915 | 100% | ||
cn-book | 0 | 919,985,160 | 88% | ||
huatanzhang | 0 | 857,740,844 | 50% | ||
windowglass | 0 | 251,775,050,548 | 30% | ||
cnbuddy | 0 | 1,858,654,275 | 0.1% | ||
chann | 0 | 6,672,023,876 | 20% | ||
cn-movie | 0 | 99,825,674 | 88% | ||
vivia | 0 | 2,857,276,987 | 88% | ||
coindzs | 0 | 1,435,521,874 | 100% | ||
upmyvote | 0 | 10,831,203,758 | 15% | ||
maiyude | 0 | 116,962,197,974 | 50.85% | ||
xiaoli | 0 | 264,620,768 | 88% | ||
john371911 | 0 | 267,509,717,224 | 100% | ||
historylover | 0 | 150,087,261 | 100% | ||
ipromote | 0 | 3,914,079,167 | 15% | ||
btccurrency1 | 0 | 307,184,176 | 100% | ||
ethanlee | 0 | 4,529,914,037 | 100% | ||
fanso | 0 | 1,635,143,619 | 100% | ||
cryptoknight27 | 0 | 0 | 100% | ||
khayziljoy | 0 | 209,043,180 | 100% | ||
garrettwallace | 0 | 1,345,670,281 | 18% | ||
ruyi | 0 | 540,458,196 | 100% | ||
andrewma | 0 | 5,440,980,730 | 20% | ||
digital.mine | 0 | 26,085,347,970 | 1% | ||
alijewel | 0 | 568,579,240 | 100% | ||
ravensavage | 0 | 491,870,045 | 100% | ||
lkvictor2005 | 0 | 21,048,667,236 | 100% | ||
swiftcash | 0 | 9,161,940,336 | 52% | ||
binance2 | 0 | 41,466,912,859 | 12.98% | ||
cecilian | 0 | 2,538,857,161 | 51.4% | ||
kharma.scribbles | 0 | 184,606,760 | 4.5% | ||
morwen | 0 | 19,956,963,421 | 11% | ||
moonhodler | 0 | 1,902,893,036 | 20% | ||
botante | 0 | 57,690,676,595 | 20% | ||
wenjiewu | 0 | 99,463,787 | 25% | ||
steemjiang | 0 | 0 | 88% | ||
starnote | 0 | 189,001,214 | 88% | ||
spx | 0 | 82,412,201,012 | 100% | ||
moochain.net | 0 | 190,531,203 | 88% | ||
lemool | 0 | 0 | 88% | ||
moochain.com | 0 | 0 | 88% | ||
liebin | 0 | 0 | 88% | ||
moocer | 0 | 0 | 88% | ||
coursechain | 0 | 0 | 88% | ||
youngoole | 0 | 0 | 88% | ||
lovequeen | 0 | 5,900,250,041 | 100% | ||
wikicoin | 0 | 0 | 88% | ||
starchain | 0 | 0 | 88% | ||
openbazzar | 0 | 0 | 88% | ||
steemipfs | 0 | 0 | 88% |
Hi! Did you know that steemit.com is now censoring users and posts based on their opinions? All the posts of these users are gone! https://github.com/steemit/condenser/commit/3394af78127bdd8d037c2d49983b7b9491397296 Here's a list of some banned users: ```'roelandp', 'blocktrades', 'anyx', 'ausbitbank', 'gtg', 'themarkymark', 'lukestokes.mhth', 'netuoso', 'innerhive'``` See anyone you recognize? There could be more, they also have a remote IP ban list. Will you be censored next?
post_id | 86,090,179 |
---|---|
author | cheetah |
permlink | cheetah-re-oflyhighjussi-bug |
category | cn |
json_metadata | {} |
created | 2020-05-22 02:50:54 |
last_update | 2020-05-22 02:50:54 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2020-05-29 02:50:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 SBD |
curator_payout_value | 0.000 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 487 |
author_reputation | 750,854,098,279,735 |
root_title | 偶然间发现JUSSI的一个小BUG |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |