change_agreement#

SurveyTangles.change_agreement(agreement: int, force_tree_update: bool = False)#

Change the agreement lower bound.

Parameters#

agreementint

The new agreement lower bound.

force_tree_updatebool

If set to True, this parameter can prevent you from accidentally starting a time-consuming task.

A time-consuming task may be necessary whenever the agreement lower bound is changed such that its new value is below the limit of the TangleSearchTree. In that case, the tangle search tree is updated by the sweep.