Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
5a2c7d85
Unverified
Commit
5a2c7d85
authored
Oct 25, 2021
by
Squirrel
Browse files
cargo fmt
parent
c35eb4fa
Pipeline
#163533
failed with stages
in 35 minutes and 50 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
node/service/src/lib.rs
View file @
5a2c7d85
...
...
@@ -30,43 +30,36 @@ pub use self::overseer::{OverseerGen, OverseerGenArgs, RealOverseerGen};
#[cfg(all(test,
feature
=
"disputes"
))]
mod
tests
;
use
{
grandpa
::{
self
,
FinalityProofProvider
as
GrandpaFinalityProofProvider
},
polkadot_node_core_approval_voting
::
Config
as
ApprovalVotingConfig
,
polkadot_node_core_av_store
::
Config
as
AvailabilityConfig
,
polkadot_node_core_av_store
::
Error
as
AvailabilityError
,
polkadot_node_core_candidate_validation
::
Config
as
CandidateValidationConfig
,
polkadot_node_core_chain_selection
::{
self
as
chain_selection_subsystem
,
Config
as
ChainSelectionConfig
,
},
polkadot_node_core_dispute_coordinator
::
Config
as
DisputeCoordinatorConfig
,
polkadot_overseer
::
BlockInfo
,
sc_client_api
::
ExecutorProvider
,
sp_trie
::
PrefixedMemoryDB
,
tracing
::
info
,
use
grandpa
::{
self
,
FinalityProofProvider
as
GrandpaFinalityProofProvider
};
use
polkadot_node_core_approval_voting
::
Config
as
ApprovalVotingConfig
;
use
polkadot_node_core_av_store
::{
Config
as
AvailabilityConfig
,
Error
as
AvailabilityError
};
use
polkadot_node_core_candidate_validation
::
Config
as
CandidateValidationConfig
;
use
polkadot_node_core_chain_selection
::{
self
as
chain_selection_subsystem
,
Config
as
ChainSelectionConfig
,
};
use
polkadot_node_core_dispute_coordinator
::
Config
as
DisputeCoordinatorConfig
;
use
polkadot_overseer
::
BlockInfo
;
use
sc_client_api
::
ExecutorProvider
;
use
sp_trie
::
PrefixedMemoryDB
;
use
tracing
::
info
;
pub
use
sp_core
::
traits
::
SpawnNamed
;
pub
use
{
polkadot_overseer
::{
Handle
,
Overseer
,
OverseerConnector
,
OverseerHandle
},
polkadot_primitives
::
v1
::
ParachainHost
,
relay_chain_selection
::
SelectRelayChain
,
sc_client_api
::
AuxStore
,
sp_authority_discovery
::
AuthorityDiscoveryApi
,
sp_blockchain
::
HeaderBackend
,
sp_consensus_babe
::
BabeApi
,
};
pub
use
polkadot_overseer
::{
Handle
,
Overseer
,
OverseerConnector
,
OverseerHandle
};
pub
use
polkadot_primitives
::
v1
::
ParachainHost
;
pub
use
relay_chain_selection
::
SelectRelayChain
;
pub
use
sc_client_api
::
AuxStore
;
pub
use
sp_authority_discovery
::
AuthorityDiscoveryApi
;
pub
use
sp_blockchain
::
HeaderBackend
;
pub
use
sp_consensus_babe
::
BabeApi
;
use
polkadot_subsystem
::
jaeger
;
use
std
::{
sync
::
Arc
,
time
::
Duration
};
use
prometheus_endpoint
::
Registry
;
use
service
::
KeystoreContainer
;
use
service
::
RpcHandlers
;
use
telemetry
::
TelemetryWorker
;
use
telemetry
::{
Telemetry
,
TelemetryWorkerHandle
};
use
service
::{
KeystoreContainer
,
RpcHandlers
};
use
telemetry
::{
Telemetry
,
TelemetryWorker
,
TelemetryWorkerHandle
};
#[cfg(feature
=
"rococo-native"
)]
pub
use
polkadot_client
::
RococoExecutorDispatch
;
...
...
node/service/src/parachains_db/mod.rs
View file @
5a2c7d85
...
...
@@ -13,7 +13,8 @@
//! A `RocksDB` instance for storing parachain data; availability data, and approvals.
use
{
kvdb
::
KeyValueDB
,
std
::
io
,
std
::
path
::
PathBuf
,
std
::
sync
::
Arc
};
use
kvdb
::
KeyValueDB
;
use
std
::{
io
,
path
::
PathBuf
,
sync
::
Arc
};
mod
upgrade
;
...
...
Squirrel
@gilescope
mentioned in commit
43376f00
·
Oct 26, 2021
mentioned in commit
43376f00
mentioned in commit 43376f009fcc4ac4c210b4b223bfad0a4a3f6a8e
Toggle commit list
Squirrel
@gilescope
mentioned in commit
0696615e
·
Oct 30, 2021
mentioned in commit
0696615e
mentioned in commit 0696615e2b825c6033016e22b6a7d39be474074e
Toggle commit list
Squirrel
@gilescope
mentioned in commit
b86b5174
·
Nov 01, 2021
mentioned in commit
b86b5174
mentioned in commit b86b5174ca85a8484674c93b10bd8827eeefd596
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment