Skip to content

The cycles initiative should belong to Battery, not to child canisters #2

@vporton

Description

@vporton

In my opinion, the logic of this package is wrong:

If a child canister happens to drain to zero, it can't request more cycles, because it can't do anything.

Therefore I propose the following idea:

Instead of child canisters requesting more cycles, let the Battery canister from time to time iterate through the list of all child canisters, and when it sees that a child has little cycles, give it cycles.

Do you agree with my idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions