CCF
Loading...
Searching...
No Matches
include
ccf
js
extensions
ccf
gov_effects.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
5
#include "
ccf/js/extensions/extension_interface.h
"
6
#include "
ccf/tx.h
"
7
8
namespace
ccf::js::extensions
9
{
21
class
GovEffectsExtension
:
public
ExtensionInterface
22
{
23
public
:
24
ccf::kv::Tx
*
tx
;
25
26
GovEffectsExtension
(
ccf::kv::Tx
* t) :
tx
(t) {}
27
28
void
install
(
js::core::Context
& ctx)
override
;
29
};
30
}
ccf::js::core::Context
Definition
context.h:46
ccf::js::extensions::ExtensionInterface
Definition
extension_interface.h:16
ccf::js::extensions::GovEffectsExtension
Definition
gov_effects.h:22
ccf::js::extensions::GovEffectsExtension::GovEffectsExtension
GovEffectsExtension(ccf::kv::Tx *t)
Definition
gov_effects.h:26
ccf::js::extensions::GovEffectsExtension::tx
ccf::kv::Tx * tx
Definition
gov_effects.h:24
ccf::js::extensions::GovEffectsExtension::install
void install(js::core::Context &ctx) override
Definition
gov_effects.cpp:228
ccf::kv::Tx
Definition
tx.h:201
extension_interface.h
ccf::js::extensions
Definition
consensus.h:9
tx.h
Generated by
1.9.8