Measuring RC costs for 0.20.6

Words
242
Reading
2 min
Listen
Play
8y

A new bugfix release of steem (0.20.6) is currently prepared for release next week. reggaemuffin@reggaemuffin already merged the most important changes into his live test environment https://testbed.reggaemuffin.me/ (more infos.

I will do some tests regarding the changed RC costs:
The broadcasted operation can be seen https://steemd.com/@beembot
image.png

RC costs measurements

Version 0.20.5 was measured on https://api.steemit.com. 0.20.6 was measured on https://testbed.reggaemuffin.me/.

The RC costs were measured by:
For 0.20.6 (https://testbed.reggaemuffin.me/)

        node = "https://testbed.reggaemuffin.me/"
        stm = Steem(node=node, keys=[wif_posting])
        account = Account("beembot", steem_instance=stm)        
        rc_mana_old = account.get_rc_manabar()
        print(account.steem)
        # place for broadcast a operation      
        sleep(5)
        rc_mana_new = account.get_rc_manabar()
        rc_costs = rc_mana_old["current_mana"] - rc_mana_new["current_mana"]
        print("RC costs: %f G RC" % (rc_costs / 1e9))

For 0.20.5 (https://api.steemit.com):

        stm2 = Steem(node = "https://api.steemit.com", keys=[wif_posting])
        account = Account("beembot", steem_instance=stm2)
        rc_mana_old = account.get_rc_manabar()
        print(account.steem)
        # place for broadcast a operation      
        sleep(5)
        rc_mana_new = account.get_rc_manabar()
        rc_costs  = rc_mana_old["current_mana"] - rc_mana_new["current_mana"]
        print("Costs: %f G RC" % (rc_costs / 1e9))   

Measurements

Transfer

versionRC costs [G RC]
0.20.60.300629
0.20.50.254544

Vote

versionRC costs [G RC]
0.20.60.115230
0.20.50.288244

Custom_json (follow)

versionRC costs [G RC]
0.20.60.404449
0.20.50.070962

Custom_json (reblog)

versionRC costs [G RC]
0.20.60.106790
0.20.50.092349

Comment

versionRC costs [G RC]
0.20.61.966627
0.20.51.821318

Conclusion

RC costs for a vote and a follow custom_json operation will be changing. RC costs for a vote are reduced by a factor of 2.5. RC costs for a follow custom_json OP are increased by a factor of 5.6. The RC costs of other custom_json operation is not affected.

The RC costs of all broadcasted operations are slightly increased, as now the execution time is now included in the RC cost calculation.

Link to the commits:

There are three changes related to RC costs:

Measuring RC costs for 0.20.6 | Ecency