Changes of eosio.system

2018-08-28  本文已影响31人  费曼猫

static constexpr int64_t ram_gift_bytes = 1400;

1. <eosio.system>

2. static constexpr

image.png

3. Function buyram

3.1. inside function buyram and add update_ram_supply()

3.2. N(eosio.ram), N(active)

3.3. set_resource_limits(res_itr->ram_bytes)

ram_gift_bytes

4. Function sellram

4.1 changebw(from, receiver, stake_net_delta, stake_cpu_delta, bool transfer)


上一篇 下一篇

猜你喜欢

热点阅读