CCF
Loading...
Searching...
No Matches
historical.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
7
8#include <quickjs/quickjs.h>
9
10namespace ccf::js::extensions
11{
23 {
24 public:
25 struct Impl;
26
27 std::unique_ptr<Impl> impl;
28
31
32 void install(js::core::Context& ctx) override;
33
36 };
37}
Definition historical_queries_interface.h:67
Definition context.h:46
Definition extension_interface.h:16
JSValue create_historical_state_object(js::core::Context &ctx, ccf::historical::StatePtr state) const
Definition historical.cpp:405
void install(js::core::Context &ctx) override
Definition historical.cpp:383
std::unique_ptr< Impl > impl
Definition historical.h:27
std::shared_ptr< State > StatePtr
Definition historical_queries_interface.h:41
Definition consensus.h:9