Minor documentation update for AuxStore and BlockImportParams.auxiliary (#10428)

This commit is contained in:
Nazar Mokrynskyi
2021-12-07 00:35:45 +02:00
committed by GitHub
parent e65caa56d4
commit 9e9e18b161
2 changed files with 7 additions and 2 deletions
+4
View File
@@ -259,6 +259,10 @@ pub trait Finalizer<Block: BlockT, B: Backend<Block>> {
}
/// Provides access to an auxiliary database.
///
/// This is a simple global database not aware of forks. Can be used for storing auxiliary
/// information like total block weight/difficulty for fork resolution purposes as a common use
/// case.
pub trait AuxStore {
/// Insert auxiliary data into key-value store.
///