Skip to content

Introduce LeChip as an alternative method to prevent overflow. #21

@sifnoc

Description

@sifnoc

Related discussed #8 (comment)

We can prevent overflow by evaluating left_balance < computed_sum and right_balance < computed_sum, which eliminates the need to consider the number of bytes we have to manage in the implementation.

However, we can't employ LtChip directly, as some leaves might have 0 balances in the MST.

Therefore, we should modify LtChip or create a new chip that can also function when the two numbers are equal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Merged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions