距离激动人心的STEEM HF20,还剩仅仅24小时多一点啦。HF 20的时间定为UTC时间2018-09-25 15:00:00
,换算成北京时间则为北京时间2018-09-25 23:00:00
。
特意去了解了一下几个和硬分叉相关的API,并为微信公众号增加了一个小功能。
查询硬分叉
get_next_scheduled_hardfork
硬分叉的时间可以通过:get_next_scheduled_hardfork
API获得,完整的json代码为:
{"jsonrpc": "2.0", "method": "call", "params": ["condenser_api", "get_next_scheduled_hardfork", []], "id": 1}
返回信息为:
get_hardfork_version
那么如何如何判断硬分叉是否已经发生呢?答案是使用get_hardfork_version
,完整的json代码为:
{"jsonrpc": "2.0", "method": "call", "params": ["condenser_api", "get_hardfork_version", []], "id": 1}
比如现在HF 20分叉还没有发生,调用上述API返回内容如下:
如果你有程序或者脚本需要针对HF 20做对应修改的话,可以使用上述API进行判断,并做针对性调整。
get_hardfork_properties
另外还有一个APIget_hardfork_properties
可以用来查询历次分叉信息。调用JSON为:
{"jsonrpc": "2.0", "method": "call", "params": ["database_api", "get_hardfork_properties", {}], "id": 1}
返回信息为:
微信公众号新功能
为了方便大家判断,我在公众号的info命令中加入了Hardfork版本判断。加入此功能后,使用info
命令返回信息如下:
红色方框内为STEEM区块链当前Hardfork版本号。
公众号添加方法
方式一:
进入微信通讯录->点击公众号->点右上角加号->搜索steemit,关注即可。方式二:
直接扫描以下二维码:
继续厚颜无耻地求见证人票😀
通过steemconnect
通过steemit.com
访问: https://steemit.com/~witnesses 并拉到页面末尾
- 给我投见证人票
- 将我设置为投票代理
激动人心。。。。
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
好像点赞部分变化也不是很大,不过是30分钟变15分钟,还有早鸟惩罚原来给作者,现在回归奖励池了。
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
十分期待HF20帶來的新改變
Posted using Partiko Android
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
赞啦
Posted using Partiko Android
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
100名内还没看到O神身影!争取先到见证人前100
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