Skip to content
This repository was archived by the owner on Oct 4, 2019. It is now read-only.

Release Candidate 0.17.2rc1

Pre-release
Pre-release

Choose a tag to compare

@kotbegemot kotbegemot released this 14 Apr 09:20
1ffdb37

Golosd

Automatic scaling of the shared memory is working correctly.

Fixes:

  1. Add reserved_memory to database object for storing fragmented memory size, which can’t be used by boost multi_index container.
    Catch the bad_alloc exception and force the resizing of shared memory.

Performance improvements:

  1. Move non-critical but heavy validations of a pushed transaction to read-lock section, so they can be done in multithread mode.
  2. Move non-critical but heavy validations of signed blocks to read-lock section, so they can be done in multithread mode.
  3. Add option enable-plugins-on-push-transaction to config.ini. To increase performance you can set value to false and it disables plugin notifications about operations in a pushed transaction, which should be included to the next generated block. Plugins doesn't validate data in operations, they only update its own indexes, so notifications can be disabled on push_transaction() without any side-effects.

Additional changes

  1. Add get_database_info to database_api plugin. It shows total_size, free_size, used_size and reserved_size and record count in each index
  2. Add call get_database_info to cli_wallet
  3. Show RPC request time on debug level.

Plugins

Private_message plugin fixes

Golosd no longer falls when the private_message plugin is enabled

StatD statistics plugin.

Blockchain statistics plugin was renamed to statsd plugin.
Changes:

  1. No longer stores data in the active chain state, which allows to save memory.
  2. Sends statistics to statsd.

account_history plugin

  1. The ability to filter operations is added. You can specify history-whitelist-ops and history-blacklist-ops parameters with a list of operations.
  2. Added the parameter history-start-block, which specifies the block number from which the history record should start.

social_network plugin

Return active_votes in get_content_replies and get_all_content_replies requests.

market_history plugin

Added get_order_book_extended.

Build Flag

CLEAR_VOTES

The key of the precompiler is replaced by the configuration parameter clear-votes-before-block. The parameter specifies the block to which comment_votes should be deleted after the cashout window is closed. The default is 0, which keep votes in database. If you want to clear votes after closing of a cashout window, you should set a big value (for example, 4 000 000 000).

LOW_MEM

  1. LOW_MEM build flag does not now create indexes from json_metodata: languages and tags, as it was before.
  2. database :: push_virtual_operation now regardless of the LOW_MEM flag sends virtual operations to plugins. It is disabled by the new configuration parameter skip-virtual-ops. If parameter is set to true, then virtual operations will no longer be passed to the plug-ins for processing.

The tests became a little more.

Wallet

  1. Got more powerful logging.
  2. No longer falls on receiving of wrong http-requests.
  3. Can auto-reconnect to the golosd on losing connection
  4. Got an quit method in the interactive mode.
  5. Return transaction ids in get_block