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
8
9#include <quickjs/quickjs.h>
10
11namespace ccf::js::extensions
12{
24 {
25 public:
26 struct Impl;
27
28 std::unique_ptr<Impl> impl;
29
32
33 void install(js::core::Context& ctx) override;
34
37 };
38}
Definition historical_queries_interface.h:67
Definition context.h:45
Definition extension_interface.h:16
void install(js::core::Context &ctx) override
Definition historical.cpp:380
js::core::JSWrappedValue create_historical_state_object(js::core::Context &ctx, ccf::historical::StatePtr state) const
Definition historical.cpp:396
std::unique_ptr< Impl > impl
Definition historical.h:28
std::shared_ptr< State > StatePtr
Definition historical_queries_interface.h:41
Definition consensus.h:9
Definition wrapped_value.h:13