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

mod subsystem-util #1376

Merged
merged 32 commits into from
Jul 14, 2020
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
aee251a
Add subsystem-util crate.
coriolinus Jul 8, 2020
1719606
copy utility functions for requesting runtime data; generalize
coriolinus Jul 8, 2020
bc5efd0
convert subsystem-util from crate to module in subsystem
coriolinus Jul 8, 2020
145dd58
make runtime request sender type generic
coriolinus Jul 8, 2020
e76239d
candidate backing subsystem uses util for api requests
coriolinus Jul 8, 2020
be2be35
add struct Validator representing the local validator
coriolinus Jul 8, 2020
32e5c18
add alternate constructor for better efficiency
coriolinus Jul 9, 2020
5d8a8af
refactor candidate backing to use utility methods
coriolinus Jul 9, 2020
447ab4a
fix test breakage caused by reordering tests
coriolinus Jul 9, 2020
1d59e66
restore test which accidentally got deleted during merge
coriolinus Jul 9, 2020
fa46a8a
start extracting jobs management into helper traits + structs
coriolinus Jul 9, 2020
36b3367
use util::{JobHandle, Jobs} in CandidateBackingSubsystem
coriolinus Jul 10, 2020
91e301b
implement generic job-manager subsystem impl
coriolinus Jul 10, 2020
3a47236
add hash-extraction helper to messages
coriolinus Jul 10, 2020
38110d5
fix errors caused by improper rebase
coriolinus Jul 10, 2020
b5d28ce
doc improvement
coriolinus Jul 10, 2020
93fe700
simplify conversion from overseer communication to job message
coriolinus Jul 10, 2020
cca7d4b
document fn hash for all messages
coriolinus Jul 10, 2020
841579d
rename fn hash() -> fn relay_parent
coriolinus Jul 10, 2020
38ee247
gracefully shut down running futures on Conclude
coriolinus Jul 10, 2020
8bb08b8
ensure we're validating with the proper validator index
coriolinus Jul 10, 2020
fa595c2
rename: handle_unhashed_msg -> handle_orphan_msg
coriolinus Jul 13, 2020
940c111
impl Stream for Jobs<Spawner, Job>
coriolinus Jul 13, 2020
11772f5
add missing documentation for public items
coriolinus Jul 13, 2020
dc9e12c
use pin-project to eliminate unsafe code from this codebase
coriolinus Jul 13, 2020
802981a
rename SenderMessage -> FromJob
coriolinus Jul 13, 2020
a5639e3
reenvision the subsystem requests as an extension trait
coriolinus Jul 13, 2020
e7f5276
Revert "reenvision the subsystem requests as an extension trait"
coriolinus Jul 13, 2020
0eaca1b
apply suggested futuresunordered join_all impl
coriolinus Jul 14, 2020
863d733
CandidateValidationMessage variants have no top-level relay parents
coriolinus Jul 14, 2020
1e14746
rename handle_orphan_msg -> handle_unanchored_msg
coriolinus Jul 14, 2020
e3f76a4
make most node-core-backing types private
coriolinus Jul 14, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions node/core/backing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,16 @@ edition = "2018"

[dependencies]
futures = "0.3.5"
log = "0.4.8"
sp-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sc-client-api = { git = "https://github.com/paritytech/substrate", branch = "master" }
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
keystore = { package = "sc-keystore", git = "https://github.com/paritytech/substrate", branch = "master" }
primitives = { package = "sp-core", git = "https://github.com/paritytech/substrate", branch = "master" }

polkadot-primitives = { path = "../../../primitives" }
polkadot-node-primitives = { path = "../../primitives" }
polkadot-subsystem = { package = "polkadot-node-subsystem", path = "../../subsystem" }
erasure-coding = { package = "polkadot-erasure-coding", path = "../../../erasure-coding" }
statement-table = { package = "polkadot-statement-table", path = "../../../statement-table" }
futures-timer = "3.0.2"
streamunordered = "0.5.1"
derive_more = "0.99.9"
bitvec = { version = "0.17.4", default-features = false, features = ["alloc"] }

Expand Down
Loading