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

Release Candidate 0.18.0rc2

Pre-release
Pre-release
Compare
Choose a tag to compare
@afalaleev afalaleev released this 06 Jun 14:20
· 605 commits to master since this release
cbd8613

GOLOS·CORE

In this page:
Detected and fixed weak spots in release candidate HardFork HF·18

Expected release date is schedule for 20 June 2018 12:00:00 MSK

Fixed bug in program logic of updating the tags

After removing limit on editing posts and comments, it became possible to manipulate tag activiti. This allowed a user to continue doing the tags more popular even those posts, payment for which has already been completed.

This disadvantage was eliminated due to bug fixing in program logic of updating the tags.

Fixed bug in output of the method get_discussions_by_promoted

It became possible to appear a list of sponsored posts in result due to bug fixing in the method.

Eliminated problem in delegating Golos Power operation happened because of outdated method old_update_account_bandwidth

The method old_update_account_bandwidth did not take into account a delegated Golos Power and mainly repeated the update_account_bandwith logic. As a result it caused an additional load on the nodes. Moreover, unlike update_account_bandwith which checks bandwidth's value only in time signing a transaction, the old_update_account_bandwidth method did this for each transaction of already signed blocks.

To fix this problem the method old_update_account_bandwidth was removed and those methods which returned an account field, were modified. In their results the fields having form like a new_XXX_bandwidth were converted to fields looked like a XXX_bandwidth. Besides this, their results were added by lifetime_market_bandwidth field. The method get_account_bandwidth stopped returning a result if the bandwidthType parameter takes one of two values, such are "old_market" or "old_forum".

Eliminated system slowdown caused by load of nodes

Unlimited number of nested proposal transactions allowed a user to create too complicate logical structure. It caused an excessive load on nodes operation, blocking their access and, as following, slowing down the system.

In order to eliminate this deficiency a number of nested proposal transactions was limited by 2.

The method update_chain_properties was added to cli_wallet

To simplify a voting process the method update_chain_properties was added to cli_wallet. The fix allows delegates to change a key for signing blocks when setting parameters which determined by voting.

Limited using the method witness_update_operation

In the HF·18 version an update of parameters which is determined by voting, is performed by method chain_properties_update_operation. The method terminates this operation and will only be used to change an URL and delegate's key.

It was fixed because of the method does not allow to expand the list of parameters determined by voting. In future such behavior of the method would cause some difficulties.

Changed default value of multiplier

Default value of multiplier GOLOS_CREATE_ACCOUNT_WITH_GOLOS_MODIFIER has been decreased from 30 to 1. This value may be set via voting as well using the method chain_properties_update_operation. In case no voting its value takes 1.

This fix was done to avoid a sharp price spike of creating an account with the HF·18 version.

Note:
This editing was canceled after taking the delegates' decision. The multipliers are no longer used.

Implementation of experimental module Mongo

Experimental module Mongo has been added to main development branch to accelerate its development. At present stage the module does not provide loading all data from blockchain to Mongo.