STEEM区块链是个大帐本
昨天的帖子 📌 如何避免辛苦创作的帖子丢失,100%解决哦 🎃有描述一种情况,帖子发表后编辑,依旧可以通过程序或者工具找到以前的记录。
其实区块链好好比一个大帐本,每一时刻的所有操作都会被忠实记录,并且无法回头修改之前的操作。颇有种时光一去不复返的感觉。
所以,在STEEMIT上的诸位,一定要爱惜自己的羽毛,你做的一切,都有档可查。一旦你做了什么不好的事情,被列入黑名单,那么再想洗白就比较难了。当然,放弃当前的ID,投胎成为一个崭新的ID,重新开始一段STEEMIT之旅,也未尝不是一个好办法,但是切记不要再做不好的事情啦。
可以通过各种方法查记录
扯了这么一大段,有些扯远了。
额,查文章的历史纪录,上文说过,大家都学会了吗?
查操作记录,或多或少也提及了,方法很简单用steemd.com加ID即可
http://steemd.com/@your_id
把your_id 换成你自己的,或者你要查的人
当然了,还有各种编程的方法查记录
比如说: get_account_history
一种复杂的情况
但是除了这些还有一种更复杂的情况
我在前文: STEEMIT高级操作之:如何多人共同维护一个公共STEEMIT账户(ID) 描述的一种多人共同操作一个公共账户的方法。
并且我已@laodr 为例,将我们几位茶东都设置了@laodr 的使用权限
比如说我用laodr账户和我的私钥登陆就可以操作laodr账户发帖、投票等等
那么问题来了,除了操作者本人清楚或者操作者本人声明外,如何知道是谁在操作这个账户?
假设一种恶劣的(不可能发生的情况): laodr 账户发表了脏话等不当言论,那么是哪个茶东干的?一定要揪出来,打PP。
在之前另一篇文章 通过事务ID(transaction id) 获取事务(transaction) / Database API: get_transaction , 提到了通过事务ID获取事务的可能性。这里我们进一步延展,通过取到的事务判断是谁在操作。
为此我特意创建了个公钥字典pk_dict
其中用户的公钥是key, 用户名是value.
并编写了个简单的函数:
def get_real_operator(steem, block_num, tx_id):
block = steem.get_block(block_num)
index = block['transaction_ids'].index(tx_id)
tx = block['transactions'][index]
real_operator = 'Unknown'
tx_obj = transactions.SignedTransaction(**tx)
for pk_str in pk_dict.keys():
pk = PublicKey(pk_str)
pks = [pk]
try:
tx_obj.verify(pks, "STEEM")
except:
continue
real_operator = pk_dict[pk_str]
break
return real_operator, tx
以 @laodr 今天的发帖操作为例:
block 为:13174106, transaction_id为:67d64c97dfc631edaa6f264abfa4b04796856b16
套入我上边的程序中,算出的结果如下:
所以,茶东们,你们做的操作我都可以看到哦,千万不要干坏事。
本文只是从技术上分析了取得真实操作者的可行性。 我们的茶东都是好人,不会干坏事的:)
顺便推荐一下今天的老道茶馆,我是今天的店小二哦:
- 🍵 LAODR Tea House / 老道茶館 🍵今日话题: 业余爱好 / Hobbies (附重要声明)
欢迎大家去喝酒,哦,不对,去喝茶
感谢阅读
水平有限,欢迎大家一起讨论,如有谬误,烦请指正
欢迎upvote、resteem以及 following me @oflyhigh 😎
请将我设置成为你的见证人投票代理, 访问 https://steemit.com/~witnesses
Haha, cant understand the language but steel feel the flow and good tip @oflyhigh, language can not make me stop from reading and commenting on your posts..upvoted to send in my support. Keep up the good work
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I guess @oflyhigh doesn't understand the comment. Ohh.. he is not going to understand this one as well.. :(
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Hi bro ,i'm new menber of steemit .please follow and vote me . ☺☺
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
什麼!有這種事!TMD,我上次用laodr偷偷去罵了變心的前女友跟她的姘頭,原來可以查回到我身上啊~~~~ 啊~~~~~ 可惡啊,什麼區塊鏈啊!這木強大~~~~ Orz....
沒事沒事,我還可以賴給別的知道我posting key的人... 那不是我,是他們,是steemvoter... 他們有我posting key... (指)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
让你干坏事,抓瞎了吧
转我1000SBD,我帮你黑了STEEM数据库,把记录删了:)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
好的!各位!如果有人跟你說這話,千萬別相信!這是不可能的,除非這是來自上帝的留話。這肯定是詐騙!千萬,千萬,別在區塊鏈媒體上明罵、暗罵前女友...
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
我转你100SBD,请你烤鸭,别公开 :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
你的技术更高超,转的100SBD我都查不到
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
@oflyhigh到底你是做什麼工作的呢? 為什麼這樣熟悉編程呢? 如果我想跟你介紹的去做,但現時沒有任何編程工具, 請問可以如何開始?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
見到老闆了,快遞上履歷啊!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
連小薯都不是,老闆在哪?我亦要送上CV呀!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
我是宅男,老宅男啊
你想和我一起做宅男嘛?:)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
兩個都宅男會不會太慘了,能找個宅女嗎???? :P
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
这事交给你操作了
你办事我放心
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
请问老板有没有编程指南推荐?
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
我啥时候变老板的? 我的企业呢? 我的员工呢?
555555
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
哈哈哈,点赞的follower就是员工
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
可能真的对这种技术操作的东西不上手,大神写得那么详细,我也还是没有看懂多少。囧囧囧
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
同上 呵呵
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
讲的主要是思路,其实最重要的是提醒大家珍爱羽毛:)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
这些招你一发布,大家现在学会了 :)
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
哈哈,有个故事叫老猫上树,留一手。
开玩笑的啦,大家一起学习,共同成长。
我学的这点东西还是很肤浅的,拿来出大家一起探讨,有问题也好让专家们给我指正。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
I am unable to understand the language ....
But you can check my new post https://steemit.com/life/@saurabhgupta/how-to-make-a-first-conversation !
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
这属于高级教程
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
看不懂
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
天吶,這可真是"簡單"的函數哦!@oflyhigh你是學programming的吧?我只知道有HTML呀C+呀C++什麼的,我中學的時候考visual basics都快暈了,到現在還頭疼呢@v@
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
后背一凉,老大哥在后面看着你呢
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
区块链是完全公开透明的,记住这一点。
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit