0.23

[0.23.1]

Added:

Changed:

  • Wallet api method create_vesting_linear_policy now receive one more argument.
  • Type of consensus_assets_prices from std::map<asset_id_type, price> to std::set<price> in global_property_object.
  • Type of field incentives in incentives_object from std::map<uint32_t, uint64_t> to std::map<asset_id_type, uint64_t>.

Removed

  • Removed apply_new_config method in ethereum sidechain(it had empty body).

Fixed

  • Fixed some bugs with stake btc and btc sidechains.

[0.23.0]

Added

Changed

  • Changed EETH asset precision to 8.
  • Economy logic: increasing the reward and recording for missed blocks in the pool occurs every block
  • Database API method get_incentives_info now returns incentives_object.
  • --sidechain-btc-testnet flag moved from sidechain plugin to node command line options. That flag now changes logic of Bitcoin addresses generation(generate addresses to mainnet/testnet).
  • Wallet methods that returned signed_transaction now returns [signed_transaction, transaction_id_type] pair
  • Network Broadcast API methods broadcast_transaction и broadcast_transaction_with_callback now returns transaction_id_type

Removed

  • Database API method get_recent_transaction_by_id

Fixed

  • Database API methods get_incentives_info can't return one block bug fixed.
  • Fixed bug with vm_root empty on zero block.

Changed or added data structures

1
FC_REFLECT( echo::chain::chain_parameters,
2
(current_fees)
3
(maintenance_interval)
4
(maintenance_duration_seconds)
5
(balance_unfreezing_time)
6
(committee_proposal_review_period)
7
(maximum_transaction_size)
8
(maximum_block_size)
9
(maximum_time_until_expiration)
10
(maximum_proposal_lifetime)
11
(maximum_asset_whitelist_authorities)
12
(maximum_asset_feed_publishers)
13
(maximum_authority_membership)
14
(max_authority_depth)
15
(committee_frozen_balance_to_activate)
16
(committee_maintenance_intervals_to_deposit)
17
(committee_balance_unfreeze_duration_seconds)
18
(x86_64_maximum_contract_size)
19
(frozen_balances_multipliers)
20
(echorand_config)
21
(sidechain_config)
22
(erc20_config)
23
(stake_sidechain_config)
24
(gas_price)
25
(consensus_assets)
26
(valid_fee_asset)
27
(economy_config)
28
(extensions)
29
)
30
31
FC_REFLECT_DERIVED(echo::chain::dynamic_global_property_object,
32
(echo::db::object),
33
(head_block_number)(head_block_id)(time)(next_maintenance_time)(last_maintenance_time)(committee_budget)
34
(dynamic_flags)(last_irreversible_block_num)(last_block_of_previous_interval)(payed_blocks_in_interval)(last_processed_btc_block)(extensions))
35
36
FC_REFLECT_DERIVED(echo::chain::global_property_object,
37
(echo::db::object),
38
(parameters)(pending_parameters)(active_committee_members)(consensus_assets_prices))
39
40
FC_REFLECT_DERIVED(echo::chain::incentives_object,
41
(echo::db::object),
42
(pool)(incentives)(block_number))
43
44
FC_REFLECT_DERIVED(echo::chain::stake_btc_script_object,
45
(echo::chain::object),
46
(account)(stake_script)(address)(extensions))
47
48
FC_REFLECT_DERIVED(echo::chain::stake_btc_vout_object,
49
(echo::chain::object),
50
(account)(out)(vout_block_number)(vin_block_number)(approves_for_vout)(is_vout_approved)(approves_for_vin)(is_vin_approved)(extensions))
51
52
FC_REFLECT_DERIVED(echo::chain::stake_eth_update_object,
53
(echo::chain::object),
54
(account)
55
(asset_id)
56
(current_balance)
57
(transaction_hash)
58
(is_approved)
59
(approves)
60
(extensions))
61
62
FC_REFLECT_DERIVED(echo::chain::verifiers_object,
63
(echo::db::object),
64
(step_verifiers)
65
(fallback_verifiers))
66
67
FC_REFLECT(echo::chain::sidechain_stake_btc_create_script_operation,
68
(fee)(account)(pubkey_hash)(extensions))
69
70
FC_REFLECT(echo::chain::sidechain_stake_btc_update_operation,
71
(fee)(committee_member_id)(owner)(btc_tx_info)(is_vin)(extensions))
72
73
FC_REFLECT(echo::chain::sidechain_stake_eth_update_operation,
74
(fee)(committee_member_id)(asset_id)(current_balance)(account)(transaction_hash)(extensions))
75
76
FC_REFLECT(echo::sidechain::stake_config, (contract_address)(balance_updated_topic))
Copied!
Last modified 1yr ago