|
CCF
|
#include <historical.h>
Inherits ccf::js::extensions::ExtensionInterface.
Classes | |
| struct | Impl |
Public Member Functions | |
| HistoricalExtension (ccf::historical::AbstractStateCache *hs) | |
| ~HistoricalExtension () override | |
| void | install (js::core::Context &ctx) override |
| js::core::JSWrappedValue | create_historical_state_object (js::core::Context &ctx, ccf::historical::StatePtr state) const |
Public Member Functions inherited from ccf::js::extensions::ExtensionInterface | |
| virtual | ~ExtensionInterface ()=default |
Public Attributes | |
| std::unique_ptr< Impl > | impl |
Adds the following functions:
Also provides create_historical_state_object for requests operating in historical mode.
| ccf::js::extensions::HistoricalExtension::HistoricalExtension | ( | ccf::historical::AbstractStateCache * | hs | ) |
|
overridedefault |
| js::core::JSWrappedValue ccf::js::extensions::HistoricalExtension::create_historical_state_object | ( | js::core::Context & | ctx, |
| ccf::historical::StatePtr | state | ||
| ) | const |
|
overridevirtual |
Implements ccf::js::extensions::ExtensionInterface.
| std::unique_ptr<Impl> ccf::js::extensions::HistoricalExtension::impl |