You are viewing a single comment's thread from:

RE: 也谈点赞时间

in #cn-programming8 years ago

rshares 就是那个 rshares 。至于 weight ,那个公式我记不太住,大概是:

所有点赞贡献的 rshares ,相加得到 vote_rshares 
踩的贡献 rshares 为负数,所以不算

total_weight = vote_rshares * 常数S / (vote_rshares + 常数S)

每次点赞的初始 weight = 点赞后的 total_weight - 点赞前的 total_weight

每次点赞的最终 weight = 初始 weight * min(点赞时间-发帖时间, 30分钟) / 30分钟

多次点同一贴 weight = 0

点赞奖 = 帖子总奖励 * 25% * weight / total_weight

从上面的公式可以看到:

  • total_rshares 越小,贡献同样 rshares 得到的 weight 越多,也就是越早点越好
  • total_rshares 较小时,贡献大量 rshares 仍然可以得到较高 weight
  • 随着 total_rshares 增加,total_weight 越来越接近常数S,到后来,即使贡献再多 rshares 也得不到高 weight
  • 所有 weight 相加的结果和 total_weight 之间的差异,就是因为有人在30分钟之类点赞的,或者多次投票,差额部分归作者了。

@smarketing @deanliu @oflyhigh

Sort:  

这个讲的太精细了
我恨不得用BT的号给你点个赞啊!!(可惜没有啊)

你牛,了解这么详细,
越早点肯定是越好,1000SP的人 在前5分钟投,以及没有人投的情况 能分 0.1SP, 和10000SP在30分钟后被人抢了 可能是一样多

Coin Marketplace

STEEM 0.16
TRX 0.16
JST 0.029
BTC 68703.91
ETH 2503.79
USDT 1.00
SBD 2.54