0.9.1

Changed

  • Time now isn't updating in dynamic_global_properties on empty blocks. That fixes set of expiration time during empty blocksвыпуска пустых блоков
  • Field _cert in block is now of type signatures_t.(as _cert.signatures before)

Added

  • Field delegate added to the block. New structure:
    1
    struct block_header
    2
    {
    3
    block_id_type previous;
    4
    uint64_t round;
    5
    fc::time_point_sec timestamp;
    6
    account_id_type account;
    7
    account_id_type delegate;
    8
    checksum_type transaction_merkle_root;
    9
    std::vector<std::string> vm_root;
    10
    echo::rand::signatures_t prev_signatures;
    11
    };
    12
    struct signed_block_header : public block_header
    13
    {
    14
    eddsa::signature_t ed_signature;
    15
    echo::rand::rand_t rand;
    16
    echo::rand::signatures_t cert;
    17
    };
    18
    struct signed_block : public signed_block_header
    19
    {
    20
    checksum_type calculate_merkle_root() const;
    21
    vector<processed_transaction> transactions;
    22
    };
    Copied!
  • Changed sidechain::config. Fields erc20_withdraw_topic, gas_price. New structure:
    1
    struct config
    2
    {
    3
    eth_address_type eth_contract_address;
    4
    eth_method eth_committee_update_method;
    5
    eth_method eth_gen_address_method;
    6
    eth_method eth_withdraw_method;
    7
    eth_method eth_update_addr_method;
    8
    eth_method eth_withdraw_token_method;
    9
    eth_method eth_collect_tokens_method;
    10
    eth_topic_type eth_committee_updated_topic;
    11
    eth_topic_type eth_gen_address_topic;
    12
    eth_topic_type eth_deposit_topic;
    13
    eth_topic_type eth_withdraw_topic;
    14
    eth_topic_type erc20_deposit_topic;
    15
    eth_topic_type erc20_withdraw_topic;
    16
    asset_id_type ETH_asset_id;
    17
    sidechain_fines fines;
    18
    uint32_t waiting_blocks;
    19
    gas_price_type gas_price;
    20
    };
    Copied!
Last modified 2yr ago
Copy link
Contents
Changed
Added