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

chainHead: Support multiple hashes for chainHead_unpin method #2295

Merged
merged 10 commits into from
Nov 14, 2023

Commits on Nov 13, 2023

  1. chainHead/unpin: Support multiple hashes for unpinning

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    6b95f4e View commit details
    Browse the repository at this point in the history
  2. chainHead/unpin: Adjust inner API to use a list of blocks

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    8d3d101 View commit details
    Browse the repository at this point in the history
  3. chainHead/tests: Adjust subscription unit tests

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    2b421fc View commit details
    Browse the repository at this point in the history
  4. chainHead/tests: Check multiple hashes unpinned at once

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    856d0f0 View commit details
    Browse the repository at this point in the history
  5. chainHead/unpin: Rename param from hash to hash_or_hashes

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    b8004de View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/master' into lexnv/chain-head-mu…

    …ltiple-unpin-hashes
    lexnv committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    59ae8a1 View commit details
    Browse the repository at this point in the history
  7. chainHead: Avoid HashMap::get method

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    0e72031 View commit details
    Browse the repository at this point in the history
  8. chainHead: Remove extra indentation block

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    cc2d653 View commit details
    Browse the repository at this point in the history
  9. chainHead: Add comment wrt borrow checker

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    f2a1cfa View commit details
    Browse the repository at this point in the history
  10. chainHead: Use IntoIter interface instead of Vec

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    b552fb9 View commit details
    Browse the repository at this point in the history