CCF
|
#include <historical.h>
Inherits ccf::js::extensions::ExtensionInterface.
Classes | |
struct | Impl |
Public Member Functions | |
HistoricalExtension (ccf::historical::AbstractStateCache *hs) | |
~HistoricalExtension () | |
void | install (js::core::Context &ctx) override |
JSValue | create_historical_state_object (js::core::Context &ctx, ccf::historical::StatePtr state) const |
![]() | |
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 | ) |
|
default |
JSValue 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 |