Skip to content

Feature request: Add setUploading() method #556

@gmaclennan

Description

@gmaclennan

This is a request to add a method to control whether a core is uploading, e.g. whether it will respond to "wants" from other peers by sending data. I think the undocumented setActive method does this for downloading, but not for uploading.

Use case 1: A peer might have limited upstream bandwidth, and only want to download data.

Use case 2: A peer might want to get an updated length from a peer before deciding to enable uploading and downloading.

Related: #555

I think #305 can be closed, superseded by this issue and #555.

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