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: Report unique hashes for pruned blocks #3667

Merged
merged 19 commits into from
Apr 17, 2024

Commits on Mar 12, 2024

  1. chainHead: Report unique pruned hashes

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    d995348 View commit details
    Browse the repository at this point in the history
  2. chainHead: Test unique pruned blocks

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    00fd806 View commit details
    Browse the repository at this point in the history
  3. chainHead: Generate best block event even for unpruned forks

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    494a1ea View commit details
    Browse the repository at this point in the history
  4. chainHead/tests: Add one more block to trigger pruning

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    10b143a View commit details
    Browse the repository at this point in the history
  5. chainHead/tests: An extra block to validate pruned blocks are reported

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    c840c8b View commit details
    Browse the repository at this point in the history
  6. chainHead: Use LRU for caching pruned blocks

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    3f3d876 View commit details
    Browse the repository at this point in the history
  7. chainHead/tests: Remove debug logs and add comment about test

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    936434c View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Update substrate/client/rpc-spec-v2/src/chain_head/chain_head_follow.rs

    Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
    lexnv and skunert authored Mar 15, 2024
    Configuration menu
    Copy the full SHA
    a33ed67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2c05bc5 View commit details
    Browse the repository at this point in the history
  3. chainHead: Rename best_block_cache to current_best_block

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    384d22c View commit details
    Browse the repository at this point in the history
  4. chainHead: Use num pinned blocks for maximum LRU cache size

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    0b7ae73 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. chainHead: Simplify new block generation logic

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

Commits on Apr 3, 2024

  1. Merge remote-tracking branch 'origin/master' into lexnv/chainhead-uni…

    …que-pruned-blocks
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    43c13db View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2024

  1. chainHead/tests: Add max sub config for tests

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    99bf9c9 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'origin/master' into lexnv/chainhead-uni…

    …que-pruned-blocks
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Apr 9, 2024
    Configuration menu
    Copy the full SHA
    1eeb5e7 View commit details
    Browse the repository at this point in the history
  3. Fix clippy

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

Commits on Apr 15, 2024

  1. chainHead/follow: Simplify generate_init_events by storing the pruned

    hashes
    
    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    0acd861 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Configuration menu
    Copy the full SHA
    c952a0b View commit details
    Browse the repository at this point in the history
  2. chainHead/tests: Util code to reduce testing scenarios

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