Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitswap/client: add option to disable duplicated block stats #195

Merged
merged 4 commits into from
Oct 13, 2023

Commits on Oct 12, 2023

  1. bitswap/client: add option to disable duplicated block stats

    Keeping a counter should not require query-ing the blockstore repeteadly for
    every single block received, so I have added an option to disable it.
    
    Currently there is the assumption that doing Has() calls is cheap. That can be
    correct for most cases but also badly incorrect for others.
    hsanjuan committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    435daa2 View commit details
    Browse the repository at this point in the history
  2. bitswap/client: do not allocate an empty []bool...

    ... when duplicated block stats are disabled.
    hsanjuan committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    6bf5de7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4e7a9a3 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Configuration menu
    Copy the full SHA
    3c22aeb View commit details
    Browse the repository at this point in the history