这几天有人在cn区灌水引起了一些讨论,让我想起以前听说的每天不能发超过四个帖子,如果超过会有惩罚。为了证明这一点查了一下源码,找到了下面这一段:
uint16_t reward_weight = STEEMIT_100_PERCENT;
uint64_t post_bandwidth = auth.post_bandwidth;
if( _db.has_hardfork( STEEMIT_HARDFORK_0_12__176 ) && !_db.has_hardfork( STEEMIT_HARDFORK_0_17__733 ) && o.parent_author == STEEMIT_ROOT_POST_PARENT )
{
uint64_t post_delta_time = std::min( _db.head_block_time().sec_since_epoch() - auth.last_root_post.sec_since_epoch(), STEEMIT_POST_AVERAGE_WINDOW );
uint32_t old_weight = uint32_t( ( post_bandwidth * ( STEEMIT_POST_AVERAGE_WINDOW - post_delta_time ) ) / STEEMIT_POST_AVERAGE_WINDOW );
post_bandwidth = ( old_weight + STEEMIT_100_PERCENT );
reward_weight = uint16_t( std::min( ( STEEMIT_POST_WEIGHT_CONSTANT * STEEMIT_100_PERCENT ) / ( post_bandwidth * post_bandwidth ), uint64_t( STEEMIT_100_PERCENT ) ) );
}
这段代码里有24小时超过4个帖子会有惩罚的逻辑,但是if
那一行还显示,这个限制在硬叉12时加入,但在硬叉17时已经被取消了。所以说我以前看到的24小时4个帖子限制的帖子都过时了。所以现在系统不限制灌水,只能靠大鲸维持秩序了。
I was told only 4 top level posts can be submitted in each 24 hours, otherwise reward will be reduced. The above code snippet shows the 4 posts limitation was imposed at hard fork 12 but removed at hard fork 17.