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

This commit is contained in:
Nazar Mokrynskyi authored and GitHub committed 2021-12-06 22:35:45 +00:00
1 parent e65caa56d4
commit 9e9e18b161
2 files changed
+7 -2

No files matched your search

+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.
///