append_separation#
- TangleSweep.append_separation(new_sep_id: int, agreement_lower_bound: int | None = None) int #
Append a new separation to the tree. If the final level is empty nothing happens.
By default, only nodes which have agreement value of at least the agreement search limit are extended. This is to ensure that by default appending a separation does not change the tangle search limit.
Parameters#
- new_sep_idint
The id of the separation to append.
- agreement_lower_boundint, optional
Only nodes with agreement at least agreement_lower_bound are extended in the appending step.
Returns#
- int
Number of separations in the last level after appending. If this number is 0 then appending will not add any more tangles.