This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Notification-based block pinning #13157
Merged
paritytech-processbot
merged 40 commits into
paritytech:master
from
skunert:skunert/notification-based-pinning
Jan 19, 2023
Merged
Changes from 29 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
d5c1427
Worker
skunert 6131598
Reorganize and unpin onnotification drop
skunert ccdf8ed
Pin in state-db, pass block number
skunert 0443235
Pin blocks in blockchain db
skunert c1a25dc
Switch to reference counted LRU
skunert 9d824d4
Merge branch 'master' into skunert/notification-based-pinning
skunert 2f7f943
Disable pinning when we keep all blocks
skunert 65caa1a
Fix pinning hint for state-db
skunert cc000a3
Remove pinning from backend layer
skunert 8a22325
Improve readability
skunert d3d208a
Add justifications to test
skunert bc2d40c
Fix justification behaviour
skunert da7a855
Remove debug prints
skunert 7daf11c
Convert channels to tracing_unbounded
skunert 2fb995c
Add comments to the test
skunert 7a072dd
Documentation and Cleanup
skunert 92e3928
Move task start to client
skunert 3ec854e
Simplify cache
skunert d5e2b1d
Improve test, remove unwanted log
skunert 03051ca
Add tracing logs, remove expect for block number
skunert c4434bb
Cleanup
skunert 347c80a
Add conversion method for unpin handle to Finalitynotification
skunert 1198568
Revert unwanted changes
skunert 363f01a
Improve naming
skunert b220553
Make clippy happy
skunert 10dfdf7
Fix docs
skunert e2ff001
Merge branch 'master' into skunert/notification-based-pinning
skunert c4608da
Use `NumberFor` instead of u64 in API
skunert 68cc76f
Hand over weak reference to unpin worker task
skunert fe2d4cc
Unwanted
skunert f5d6b08
&Hash -> Hash
skunert 946e06a
Remove number from interface, rename `_unpin_handle`, LOG_TARGET
skunert a48e44b
Move RwLock one layer up
skunert 4014c16
Apply code style suggestions
skunert d547fc2
Improve comments
skunert de6aa36
Replace lru crate by schnellru
skunert 81f7493
Merge remote-tracking branch 'origin' into skunert/notification-based…
skunert 6fa6d5c
Only insert values for pinned items + better docs
skunert a177b50
Apply suggestions from code review
skunert cbd0868
Improve comments, log target and test
skunert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.