rippled
Loading...
Searching...
No Matches
SetOracle.h
1#ifndef XRPL_TX_SETORACLE_H_INCLUDED
2#define XRPL_TX_SETORACLE_H_INCLUDED
3
4#include <xrpld/app/tx/detail/Transactor.h>
5
6namespace ripple {
7
17class SetOracle : public Transactor
18{
19public:
21
22 explicit SetOracle(ApplyContext& ctx) : Transactor(ctx)
23 {
24 }
25
26 static NotTEC
27 preflight(PreflightContext const& ctx);
28
29 static TER
30 preclaim(PreclaimContext const& ctx);
31
32 TER
33 doApply() override;
34};
35
37
38} // namespace ripple
39
40#endif // XRPL_TX_SETORACLE_H_INCLUDED
State information when applying a tx.
Price Oracle is a system that acts as a bridge between a blockchain network and the external world,...
Definition SetOracle.h:18
static NotTEC preflight(PreflightContext const &ctx)
Definition SetOracle.cpp:21
SetOracle(ApplyContext &ctx)
Definition SetOracle.h:22
TER doApply() override
static TER preclaim(PreclaimContext const &ctx)
Definition SetOracle.cpp:43
static constexpr ConsequencesFactoryType ConsequencesFactory
Definition SetOracle.h:20
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
State information when determining if a tx is likely to claim a fee.
Definition Transactor.h:61
State information when preflighting a tx.
Definition Transactor.h:16