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
Golosd
Automatic scaling of the shared memory is working correctly.
Fixes:
- Add
reserved_memoryto 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:
- Move non-critical but heavy validations of a pushed transaction to read-lock section, so they can be done in multithread mode.
- Move non-critical but heavy validations of signed blocks to read-lock section, so they can be done in multithread mode.
- Add option
enable-plugins-on-push-transactionto config.ini. To increase performance you can set value tofalseand 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
- Add
get_database_infotodatabase_apiplugin. It shows total_size, free_size, used_size and reserved_size and record count in each index - Add call
get_database_infotocli_wallet - 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:
- No longer stores data in the active chain state, which allows to save memory.
- Sends statistics to statsd.
account_history plugin
- The ability to filter operations is added. You can specify
history-whitelist-opsandhistory-blacklist-opsparameters with a list of operations. - 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
- LOW_MEM build flag does not now create indexes from json_metodata: languages and tags, as it was before.
- 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
- Got more powerful logging.
- No longer falls on receiving of wrong http-requests.
- Can auto-reconnect to the golosd on losing connection
- Got an quit method in the interactive mode.
- Return transaction ids in
get_block