Skip to content

node: warn before subscription credits run out #2953

Not planned
Not planned

Description

@alpergundogdu

Summary

The node warns before its subscription credits (#2948) run out. It never buys anything: buying credits is a USDC transfer from a wallet the operator controls.

Design

  • Each epoch, compute how many epochs projectedCredits lasts at the current price.
  • Below fee.warn_epochs (default 4): a WARN log, a metric, and the amount that would last fee.warn_epochs more.
  • The sweep loop is unchanged.

Depends on

#2948.

Activity

  1. added
    kind:feature
    area:node
    on Nov 23, 2026
  2. moved this from Backlog to Done in deCDNon Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:nodekind:feature

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions