Historian (Client API)

Overview - Common API - Client API - Admin API - Runtime API

Historian

The Historian records the history of actions taken using Composer. It is a registry that stores HistorianRecords; each record is created in response to a transaction being executred.

As well as the transactions that are defined in the Network model other actions such as adding assets are treated as transactions so are therefore recorded.

Details of these are in the system model.

Details

  • Extends Registry

  • Module client

See also

  • See (see {@link registry)

Method Summary

Name Returns Description
getHistorian Promise Get an existing historian.

Method Details

getHistorian

Promise getHistorian( SecurityContext securitycontext, ModelManager modelmanager, Factory factory, Serializer serializer )

Get an existing historian.

Returns

Promise - A promise that will be resolved with a IdentityRegistry instance representing the historian.

Parameters

Name Type Optional Description
securityContext SecurityContext false The user's security context.
modelManager ModelManager false The ModelManager to use for this historian.
factory Factory false The factory to use for this historian.
serializer Serializer false The Serializer to use for this historian.