Skip to content

docs(cli): --max-blob-mb help should say 0 still sizes work from at most 1 TiB past the requested offset #2875

Closed

Description

@yigitdot

The --max-blob-mb help in crates/common/src/cli/fetch.rs says the cap bounds what an over-claim can cost. It does not say what 0 does. With 0 (no cap), a peer's size claim sizes planning only up to the cap-free sizing ceiling (UNCAPPED_SIZING_CEILING, 1 TiB) past the furthest requested offset. Past that point the bound grows as bytes verify (#2864).

Add one sentence to the help text that states this. The note comes from #2865, which #2864 closes. It was not fixed there because another change owns that file.

🤖 Generated with Claude Code

Activity

  1. added
    kind:docs
    area:cli
    prio:low
    on Nov 11, 2026
  2. yigitdot commented on Nov 13, 2026

    @yigitdot
    ContributorAuthor

    Obsoleted by #2885: UNCAPPED_SIZING_CEILING is gone and the --max-blob-mb help was rewritten in that PR. The sentence this issue asks for would document removed behavior — with sizes proven before planning, 0 simply disables the cap.

  3. moved this from Backlog to Done in deCDNon Nov 13, 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:clikind:docsprio:low

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions