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 support in Libp2p helper #9626

Merged
merged 21 commits into from
Jan 6, 2022
Merged

Bitswap support in Libp2p helper #9626

merged 21 commits into from
Jan 6, 2022

Commits on Jan 5, 2022

  1. Configuration menu
    Copy the full SHA
    baa9e91 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e68738e View commit details
    Browse the repository at this point in the history
  3. Bump deps for libp2p_helper

    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    2d50309 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a905cfb View commit details
    Browse the repository at this point in the history
  5. Allow to configure min connections

    Plus allow to configure Bitswap with Config message
    and fix Daemon compilation.
    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    caecb29 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fd7b6c6 View commit details
    Browse the repository at this point in the history
  7. Implement length-prefix+tag encoding for blocks

    + Some bugfix
    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    1e9f9de View commit details
    Browse the repository at this point in the history
  8. Fix incorrect handling of DAGs

    + abstract block downloading logic from irrelevant implementation
      details
    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    49e937b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    836fd98 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1723322 View commit details
    Browse the repository at this point in the history
  11. Implement big-step test for block download

    Implement test for big-step semantic of block download
    state machine.
    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    d8713dc View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    f0912bf View commit details
    Browse the repository at this point in the history
  13. Make bitswap tests pass

    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    9d33b71 View commit details
    Browse the repository at this point in the history
  14. Make TestBitswapJumbo a "long" test

    Problem: jumbo test is resource-intensive and
    is better to be executed separately.
    
    Solution: skip jumbo test in "short" mode.
    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    110af96 View commit details
    Browse the repository at this point in the history
  15. Minor fix of tests

    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    3e51236 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c783232 View commit details
    Browse the repository at this point in the history
  17. Try to make tests work

    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    a2619bc View commit details
    Browse the repository at this point in the history
  18. Add large tests to Makefile

    They fail in CI due to lack of resources currently,
    but can be executed on developer's laptop.
    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    2946b4e View commit details
    Browse the repository at this point in the history
  19. Test case of some bitswap blocks being known

    Problem: case of non-empty block storage is
    not well covered. An existing bug wasn't
    caught due to this (was caught only via PR review).
    
    Solution: add test (which fails).
    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    6fe9026 View commit details
    Browse the repository at this point in the history
  20. Apply post-review fixes

    Some stylistic changes + bugfix
    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    b237d8b View commit details
    Browse the repository at this point in the history
  21. Run BitswapQC test in CI

    georgeee committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    53318b9 View commit details
    Browse the repository at this point in the history