Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add API for block pinning #12476

Closed
wants to merge 9 commits into from
Closed

Add API for block pinning #12476

wants to merge 9 commits into from

Commits on Oct 11, 2022

  1. client: Add pin_block and unpin_block methods

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    d539523 View commit details
    Browse the repository at this point in the history
  2. client/db: Add PinnedBlockState for block state tracking

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    eeaeaa0 View commit details
    Browse the repository at this point in the history
  3. client/db: Separate state_at logic from RecordStatsState object

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    335b906 View commit details
    Browse the repository at this point in the history
  4. client/db: Implement pin_block

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    e22872c View commit details
    Browse the repository at this point in the history
  5. client/db: Implement unpin_block

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    00b90d9 View commit details
    Browse the repository at this point in the history
  6. client/db: Handle delayed pruning

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    9a1c6f0 View commit details
    Browse the repository at this point in the history
  7. db/test: Check pinning on finalize

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    5c65180 View commit details
    Browse the repository at this point in the history
  8. db/test: Check pinning on finalize with forks

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    03addac View commit details
    Browse the repository at this point in the history
  9. client/db: Fix documentation link for pin_block

    Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
    lexnv committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    91554a0 View commit details
    Browse the repository at this point in the history