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)
Field delegate
added to the block. New structure:
struct block_header{block_id_type previous;uint64_t round;fc::time_point_sec timestamp;account_id_type account;account_id_type delegate;checksum_type transaction_merkle_root;std::vector<std::string> vm_root;echo::rand::signatures_t prev_signatures;};struct signed_block_header : public block_header{eddsa::signature_t ed_signature;echo::rand::rand_t rand;echo::rand::signatures_t cert;};struct signed_block : public signed_block_header{checksum_type calculate_merkle_root() const;vector<processed_transaction> transactions;};
Changed sidechain::config
. Fields erc20_withdraw_topic
, gas_price
. New structure:
struct config{eth_address_type eth_contract_address;eth_method eth_committee_update_method;eth_method eth_gen_address_method;eth_method eth_withdraw_method;eth_method eth_update_addr_method;eth_method eth_withdraw_token_method;eth_method eth_collect_tokens_method;eth_topic_type eth_committee_updated_topic;eth_topic_type eth_gen_address_topic;eth_topic_type eth_deposit_topic;eth_topic_type eth_withdraw_topic;eth_topic_type erc20_deposit_topic;eth_topic_type erc20_withdraw_topic;asset_id_type ETH_asset_id;sidechain_fines fines;uint32_t waiting_blocks;gas_price_type gas_price;};