rippled
Loading...
Searching...
No Matches
DeliverMax.h
1#ifndef XRPL_APP_MISC_DELIVERMAX_H_INCLUDED
2#define XRPL_APP_MISC_DELIVERMAX_H_INCLUDED
3
4#include <xrpl/protocol/TxFormats.h>
5
6namespace Json {
7class Value;
8}
9
10namespace ripple {
11
12namespace RPC {
13
23void
24insertDeliverMax(Json::Value& tx_json, TxType txnType, unsigned int apiVersion);
25
28} // namespace RPC
29} // namespace ripple
30
31#endif
Represents a JSON value.
Definition json_value.h:130
JSON (JavaScript Object Notation).
Definition json_errors.h:6
static constexpr std::integral_constant< unsigned, Version > apiVersion
Definition ApiVersion.h:39
void insertDeliverMax(Json::Value &tx_json, TxType txnType, unsigned int apiVersion)
Copy Amount field to DeliverMax field in transaction output JSON.
Definition DeliverMax.cpp:9
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
TxType
Transaction type identifiers.
Definition TxFormats.h:38