Skip to content

Add total size of pinned objects to pin add progress reports. #8915

@hsanjuan

Description

@hsanjuan

Checklist

  • My issue is specific & actionable.
  • I am not suggesting a protocol enhancement.
  • I have searched on the issue tracker for my issue.

Description

The pin add endpoint returns AddPinOutput objects.

When progress=true is specified, an object is set every 500ms containing the number of nodes that have been pinned (Progress field) so far.

I would like to have an additional Size field that additionally contains total size of the DAG pinned so far.

This is necessary to:

  • Abort pinning items that are too big
  • Being able to inspect the data rate at which an ipfs node can pin.

Can I, or someone work on this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: Good to have, but can wait until someone steps upeffort/hoursEstimated to take one or several hourshelp wantedSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing featurestatus/readyReady to be workedtopic/pinningTopic Pinning (local and remote)

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions