在之前的文章[RC系统解密之最大MANA(max_mana) / 如何提升](https://steemit.com/steemdev/@oflyhigh/rc-mana-maxmana),我们知道了***`max_mana`***的计算规则。 ***`max_mana`***的计算规则如下: >`用户vests - 代理出去的vests + 收到代理的vests + 注册费vests + 下次power down vests` ![](https://cdn.steemitimages.com/DQmYV1QUf6euBQwbo3vCv6zZeo7Cz2SCdDENw3GHpwPdN32/image.png) (图源 :[pexels.com]( https://www.pexels.com/)) 对于其它几项内容,我们可以通过API读取用户信息获得,但是注册费对应VEST_SHARES却一个历史数据,也就是说在用户注册账户当时是可以通过注册费(STEEM)以及当时的STEEM与VEST_SHARES比例计算出来的。 很显然,除非REPLAY整个STEEM区块链,否则我们没法确定某个账户注册当时的注册费价格以及STEEM与VEST_SHARES的换算关系。那么,我们该如何拿到这个***`注册费vests`***这个计算***`max_mana`***的关键因素之一呢? 好消息是STEEM区块链帮我们想到了这一点,它在注册账户这一操作之后,直接注册了一个对应的:***`rc account`*** 亦即***`create_rc_account`***,并将对应的内容保存至***`rca.max_rc_creation_adjustment`***: >![](https://cdn.steemitimages.com/DQmbdyF2kxzxs36TbrsGFwLrmsFQCPDnwK5HsbRxGha6tA6/image.png) 所以,我们不用操心如何计算***`rca.max_rc_creation_adjustment`***了,只需读取即可。 那么如何读取呢?其实也很简单,只需调用***RC API***读取对应的账户即可,以我的账户为例,调用方法如下: >`{"jsonrpc": "2.0", "method": "rc_api.find_rc_accounts", "params": {"accounts": ["oflyhigh"]}, "id": 1}` 返回内容为: >![](https://cdn.steemitimages.com/DQmPWaGtG6q2xsaK4tcKfksy1fT5A6kRMPngzAL4dJM3gVR/image.png) 其中max_rc_creation_adjustment的数值为:12518977945,精度为6,对比一下steemd.com上查询的结果: >![](https://cdn.steemitimages.com/DQmRwWzV4BgRkg5uzQQ1aKEYf59TRoHVEpszwko1dJU8CJN/image.png) 可见二者是一样一样的,至此我们已经获得了计算***`max_mana`***的所有因素。等等,***RC API***的***`find_rc_accounts`***都返回了什么?其中竟然包括了***`max_rc`***(就是***`max_mana`***啦),那我们还为什么要费劲周折的计算呢? ![](https://cdn.steemitimages.com/DQmWHdxn9UY33VPd2Q83ZuqT83f9uvtQPe9MCQHLctBA8vz/image.png) (图源 :[pexels.com]( https://www.pexels.com/)) 答案是确实不需要计算,但是知道它来龙去脉有助于我们理解这个系统,不是嘛!
post_id | 64,232,153 |
---|---|
author | oflyhigh |
permlink | rc-rc-maxrccreationadjustment |
category | steemdev |
json_metadata | {"tags":["steemdev","steem","rc","api","cn"],"image":["https:\/\/cdn.steemitimages.com\/DQmYV1QUf6euBQwbo3vCv6zZeo7Cz2SCdDENw3GHpwPdN32\/image.png"],"app":"steemit\/0.1","format":"markdown","links":["https:\/\/steemit.com\/steemdev\/@oflyhigh\/rc-mana-maxmana","https:\/\/www.pexels.com\/"]} |
created | 2018-10-14 13:29:42 |
last_update | 2018-10-14 13:29:42 |
depth | 0 |
children | 3 |
net_rshares | 32,454,383,138,450 |
last_payout | 2018-10-21 13:29:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 32.358 SBD |
curator_payout_value | 10.184 SBD |
pending_payout_value | 0.000 SBD |
promoted | 0.000 SBD |
body_length | 1,661 |
author_reputation | 1,148,153,621,496,884 |
root_title | RC系统解密之:RC相关信息(max_rc_creation_adjustment)的获得 |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
abit | 0 | 379,378,913,157 | 100% | ||
adm | 0 | 18,390,828,172,074 | 100% | ||
thecryptodrive | 0 | 80,829,930,061 | 25% | ||
wongshiying | 0 | 94,425,192 | 100% | ||
mark-waser | 0 | 166,653,316,736 | 100% | ||
blockchainbilly | 0 | 4,351,117,290 | 50% | ||
deanliu | 0 | 1,394,333,817,869 | 100% | ||
rea | 0 | 2,364,188,398,849 | 100% | ||
ace108 | 0 | 365,560,937,492 | 25% | ||
laoyao | 0 | 35,804,525,489 | 100% | ||
somebody | 0 | 1,328,764,129,695 | 100% | ||
midnightoil | 0 | 127,809,053,847 | 100% | ||
xiaohui | 0 | 722,108,017,116 | 100% | ||
silentlucidity53 | 0 | 0 | 75% | ||
oflyhigh | 0 | 2,552,811,113,239 | 100% | ||
xiaokongcom | 0 | 194,871,329 | 100% | ||
yulan | 0 | 14,996,944,136 | 100% | ||
chinadaily | 0 | 175,412,401,302 | 100% | ||
helene | 0 | 879,850,200,730 | 100% | ||
ethansteem | 0 | 204,692,169,870 | 100% | ||
davidjkelley | 0 | 8,298,894,053 | 100% | ||
digital-wisdom | 0 | 91,532,125,364 | 100% | ||
ethical-ai | 0 | 30,122,829,831 | 100% | ||
jwaser | 0 | 35,093,872,167 | 100% | ||
bwaser | 0 | 191,283,860 | 100% | ||
jianghao | 0 | 181,676,029 | 10% | ||
ellepdub | 0 | 2,585,474,764 | 100% | ||
herpetologyguy | 0 | 240,422,310,470 | 100% | ||
handyman | 0 | 192,397,478 | 100% | ||
eforucom | 0 | 4,079,506,701 | 4% | ||
strong-ai | 0 | 25,583,072,195 | 100% | ||
steemtruth | 0 | 3,129,378,466 | 10% | ||
wanwenguo | 0 | 754,089,356 | 100% | ||
redes | 0 | 1,394,487,102,810 | 27% | ||
lalala | 0 | 163,291,475,612 | 100% | ||
devilwsy | 0 | 2,218,343,752 | 100% | ||
janiceting | 0 | 2,215,298,575 | 100% | ||
lydiachan | 0 | 30,895,033,846 | 100% | ||
technoprogressiv | 0 | 19,386,000,351 | 100% | ||
jackhircus | 0 | 127,187,907,587 | 65% | ||
blackbunny | 0 | 131,312,260,969 | 100% | ||
bxt | 0 | 190,954,874,243 | 100% | ||
lingfei | 0 | 60,729,615,808 | 100% | ||
yyyy | 0 | 410,551,847 | 100% | ||
austinsandersco | 0 | 730,364,217 | 70% | ||
teachblogger | 0 | 6,075,869,283 | 50% | ||
kingofdew | 0 | 45,609,501,825 | 100% | ||
passion-fruit | 0 | 3,722,064,936 | 33% | ||
fortune-master | 0 | 3,706,062,997 | 33% | ||
frankintaiwan | 0 | 0 | 10% | ||
wylo | 0 | 555,800,896 | 100% | ||
jkkim | 0 | 26,723,971 | 10% | ||
ebejammin | 0 | 6,100,471,253 | 100% | ||
cryptohustler | 0 | 31,543,494,495 | 100% | ||
exec | 0 | 88,110,159,095 | 100% | ||
eval | 0 | 763,777,430 | 100% | ||
catchawhale | 0 | 83,859,053,031 | 25% | ||
speeding | 0 | 3,661,280,042 | 100% | ||
walkinharmony | 0 | 12,334,908,315 | 40% | ||
asterix87 | 0 | 14,033,044,668 | 100% | ||
canbethisone | 0 | 15,684,429,802 | 50% | ||
abetterworld | 0 | 2,899,857,753 | 100% | ||
raili | 0 | 10,404,175,167 | 90% | ||
katesmith | 0 | 82,612,375 | 57% | ||
that1consultant | 0 | 252,556,455 | 100% | ||
sanzo | 0 | 288,089,943 | 100% | ||
steem-star | 0 | 2,040,628,621 | 100% | ||
davaowhenyo | 0 | 556,343,454 | 100% | ||
allenshayzar | 0 | 556,343,454 | 100% | ||
raku | 0 | 559,061,898 | 100% | ||
resteeming | 0 | 556,739,354 | 100% | ||
ravenousappetite | 0 | 556,343,454 | 100% | ||
aabb | 0 | 12,239,229,231 | 100% | ||
auntigormint | 0 | 487,652,273 | 100% | ||
mrliga | 0 | 20,651,482,681 | 100% | ||
sweethoney | 0 | 234,120,911 | 100% | ||
liangfengyouren | 0 | 1,508,774,948 | 50% | ||
idx | 0 | 13,709,179,764 | 100% | ||
jiangchen | 0 | 14,274,445,579 | 100% | ||
lancy | 0 | 4,517,281,159 | 92% | ||
bearpaw | 0 | 52,725,040 | 100% | ||
freedom-fighter | 0 | 556,343,454 | 100% | ||
seastar | 0 | 27,178,746,994 | 100% | ||
technologynepal | 0 | 559,061,898 | 100% | ||
chenlocus | 0 | 1,203,829,392 | 40% | ||
rosatravels | 0 | 5,058,377,329 | 20% | ||
dgorbunov | 0 | 505,134,493 | 100% | ||
khalilad | 0 | 557,193,055 | 100% | ||
ms8988 | 0 | 552,893,998 | 100% | ||
xiaoshancun | 0 | 261,869,849 | 100% | ||
victory622 | 0 | 72,525,222,855 | 41% | ||
nabilbouasla | 0 | 234,819,797 | 100% | ||
stakuza | 0 | 345,246,478 | 100% | ||
holmesian | 0 | 174,512,685 | 100% | ||
ikonik | 0 | 343,531,738 | 100% | ||
vfxness | 0 | 17,564,599 | 100% | ||
lemminon | 0 | 557,193,055 | 100% | ||
bobdos | 0 | 20,180,947,112 | 50% | ||
heyeshuang | 0 | 604,114,763 | 100% | ||
razor80 | 0 | 555,770,374 | 100% | ||
fastiduos | 0 | 557,193,055 | 100% | ||
winniex | 0 | 3,504,650,897 | 10% | ||
rebecca80 | 0 | 148,716,191 | 100% | ||
hymle | 0 | 3,716,077,074 | 100% | ||
weavingwords | 0 | 61,243,730,191 | 100% | ||
nitro.live | 0 | 275,101,182 | 100% | ||
huatanzhang | 0 | 1,767,475,312 | 100% | ||
chaerin | 0 | 163,500,071 | 100% | ||
windowglass | 0 | 15,965,481,533 | 50% | ||
cnbuddy | 0 | 1,032,628,061 | 0.1% | ||
chann | 0 | 3,477,400,090 | 20% | ||
itchyfeetdonica | 0 | 28,898,295,005 | 50% | ||
coindzs | 0 | 173,908,544 | 100% | ||
steemgreen | 0 | 2,347,922,741 | 100% | ||
ewq | 0 | 79,233,117 | 3% | ||
iguazi123 | 0 | 2,703,494,051 | 100% | ||
maiyude | 0 | 1,749,402,635 | 5% | ||
historylover | 0 | 1,011,017,033 | 100% | ||
ethanlee | 0 | 3,509,001,700 | 100% | ||
fredo77200 | 0 | 3,648,563,410 | 100% | ||
norinke | 0 | 337,989,346 | 100% | ||
fanso | 0 | 1,465,287,739 | 100% | ||
cryptoknight27 | 0 | 549,681,378 | 100% | ||
hepeng.chn | 0 | 97,263,895 | 100% | ||
agoha | 0 | 249,943,597 | 50% | ||
jiahua | 0 | 543,697,499 | 100% | ||
moneybaby | 0 | 0 | 2% | ||
bambugrove | 0 | 436,294,908 | 100% | ||
astros | 0 | 2,502,715,667 | 100% | ||
shine.wong | 0 | 1,342,113,693 | 100% | ||
alijewel | 0 | 534,038,744 | 100% | ||
china.mobile | 0 | 6,920,178,054 | 33% | ||
julian2013 | 0 | 3,899,436,088 | 10% | ||
hongman96 | 0 | 375,593,611 | 100% | ||
gil96ve | 0 | 452,303,732 | 100% | ||
kissfirer | 0 | 79,941,037 | 30% | ||
sdream | 0 | 694,301,533 | 100% | ||
lkvictor2005 | 0 | 7,646,267,136 | 100% | ||
ygrj | 0 | 1,267,008,246 | 100% | ||
sskiller | 0 | 90,396,777 | 30% | ||
steemall | 0 | 91,038,582 | 30% |
假设我用10000steem去注册,我再把注册的SP代理回给我自己,我岂不是可以获得一个很牛逼的小号?
post_id | 64,234,738 |
---|---|
author | maiyude |
permlink | re-oflyhigh-rc-rc-maxrccreationadjustment-20181014t141711347z |
category | steemdev |
json_metadata | {"app":"steemit\/0.1","tags":["steemdev"]} |
created | 2018-10-14 14:17:21 |
last_update | 2018-10-14 14:17:21 |
depth | 1 |
children | 1 |
net_rshares | 0 |
last_payout | 2018-10-21 14:17:21 |
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 | 51 |
author_reputation | 21,161,943,744,615 |
root_title | RC系统解密之:RC相关信息(max_rc_creation_adjustment)的获得 |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
注册费是系统参数,并非你注册时账户里放多少SP 所以你这个构思行不通。 不过有1WSP的小号,依旧是很牛逼的😀
post_id | 64,234,963 |
---|---|
author | oflyhigh |
permlink | re-maiyude-re-oflyhigh-rc-rc-maxrccreationadjustment-20181014t142115817z |
category | steemdev |
json_metadata | {"app":"steemit\/0.1","tags":["steemdev"]} |
created | 2018-10-14 14:21:15 |
last_update | 2018-10-14 14:21:15 |
depth | 2 |
children | 0 |
net_rshares | 0 |
last_payout | 2018-10-21 14:21:15 |
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 | 56 |
author_reputation | 1,148,153,621,496,884 |
root_title | RC系统解密之:RC相关信息(max_rc_creation_adjustment)的获得 |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 10,000 |
是不是因为不同的注册途径,“注册费vests”的设定值也是不同的?比如对于免费注册的,大概应该是,注册费vests=0;同时,Steem系统对注册费还有高低不同金额收费的,还是整个Stemm系统就一个收费标准?如果是有不同的注册费,“注册费vests”的最大设定值是多少呢?似乎,还有一个“注册费vests”参数表。 谢谢!
post_id | 64,238,690 |
---|---|
author | sdream |
permlink | re-oflyhigh-rc-rc-maxrccreationadjustment-20181014t153104827z |
category | steemdev |
json_metadata | {"app":"steemit\/0.1","tags":["steemdev"]} |
created | 2018-10-14 15:31:06 |
last_update | 2018-10-14 15:31:06 |
depth | 1 |
children | 0 |
net_rshares | 0 |
last_payout | 2018-10-21 15:31:06 |
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 | 162 |
author_reputation | 590,352,098,179 |
root_title | RC系统解密之:RC相关信息(max_rc_creation_adjustment)的获得 |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 SBD |
percent_steem_dollars | 0 |