rippled
Loading...
Searching...
No Matches
jss.h
1//------------------------------------------------------------------------------
2/*
3 This file is part of rippled: https://github.com/ripple/rippled
4 Copyright (c) 2012, 2013 Ripple Labs Inc.
5
6 Permission to use, copy, modify, and/or distribute this software for any
7 purpose with or without fee is hereby granted, provided that the above
8 copyright notice and this permission notice appear in all copies.
9
10 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17*/
18//==============================================================================
19
20#ifndef RIPPLE_PROTOCOL_JSONFIELDS_H_INCLUDED
21#define RIPPLE_PROTOCOL_JSONFIELDS_H_INCLUDED
22
23#include <xrpl/json/json_value.h>
24
25namespace ripple {
26namespace jss {
27
28// JSON static strings
29
30#define JSS(x) constexpr ::Json::StaticString x(#x)
31
32/* These "StaticString" field names are used instead of string literals to
33 optimize the performance of accessing properties of Json::Value objects.
34
35 Most strings have a trailing comment. Here is the legend:
36
37 in: Read by the given RPC handler from its `Json::Value` parameter.
38 out: Assigned by the given RPC handler in the `Json::Value` it returns.
39 field: A field of at least one type of transaction.
40 RPC: Common properties of RPC requests and responses.
41 error: Common properties of RPC error responses.
42*/
43
44// clang-format off
45JSS(AL_size); // out: GetCounts
46JSS(AL_hit_rate); // out: GetCounts
47JSS(AcceptedCredentials); // out: AccountObjects
48JSS(Account); // in: TransactionSign; field.
49JSS(AMMID); // field
50JSS(Amount); // in: TransactionSign; field.
51JSS(Amount2); // in/out: AMM IOU/XRP pool, deposit, withdraw amount
52JSS(Asset); // in: AMM Asset1
53JSS(Asset2); // in: AMM Asset2
54JSS(AssetClass); // in: Oracle
55JSS(AssetPrice); // in: Oracle
56JSS(AuthAccount); // in: AMM Auction Slot
57JSS(AuthAccounts); // in: AMM Auction Slot
58JSS(BaseAsset); // in: Oracle
59JSS(BidMax); // in: AMM Bid
60JSS(BidMin); // in: AMM Bid
61JSS(ClearFlag); // field.
62JSS(DeliverMax); // out: alias to Amount
63JSS(DeliverMin); // in: TransactionSign
64JSS(Destination); // in: TransactionSign; field.
65JSS(EPrice); // in: AMM Deposit option
66JSS(Fee); // in/out: TransactionSign; field.
67JSS(Flags); // in/out: TransactionSign; field.
68JSS(Holder); // field.
69JSS(Invalid); //
70JSS(Issuer); // in: Credential transactions
71JSS(LastLedgerSequence); // in: TransactionSign; field
72JSS(LastUpdateTime); // field.
73JSS(LimitAmount); // field.
74JSS(NetworkID); // field.
75JSS(LPTokenOut); // in: AMM Liquidity Provider deposit tokens
76JSS(LPTokenIn); // in: AMM Liquidity Provider withdraw tokens
77JSS(LPToken); // out: AMM Liquidity Provider tokens info
78JSS(OfferSequence); // field.
79JSS(OracleDocumentID); // field
80JSS(Owner); // field
81JSS(Paths); // in/out: TransactionSign
82JSS(PriceDataSeries); // field.
83JSS(PriceData); // field.
84JSS(Provider); // field.
85JSS(QuoteAsset); // in: Oracle.
86JSS(RawTransaction); // in: Batch
87JSS(RawTransactions); // in: Batch
88JSS(SLE_hit_rate); // out: GetCounts.
89JSS(Scale); // field.
90JSS(SettleDelay); // in: TransactionSign
91JSS(SendMax); // in: TransactionSign
92JSS(Sequence); // in/out: TransactionSign; field.
93JSS(SetFlag); // field.
94JSS(Signer); // field.
95JSS(Signers); // field.
96JSS(SigningPubKey); // field.
97JSS(Subject); // in: Credential transactions
98JSS(TakerGets); // field.
99JSS(TakerPays); // field.
100JSS(TradingFee); // in/out: AMM trading fee
101JSS(TransactionType); // in: TransactionSign.
102JSS(TransferRate); // in: TransferRate.
103JSS(TxnSignature); // field.
104JSS(URI); // field.
105JSS(VoteSlots); // out: AMM Vote
106JSS(aborted); // out: InboundLedger
107JSS(accepted); // out: LedgerToJson, OwnerInfo, SubmitTransaction
108JSS(accountState); // out: LedgerToJson
109JSS(accountTreeHash); // out: ledger/Ledger.cpp
110JSS(account_data); // out: AccountInfo
111JSS(account_flags); // out: AccountInfo
112JSS(account_hash); // out: LedgerToJson
113JSS(account_id); // out: WalletPropose
114JSS(account_nfts); // out: AccountNFTs
115JSS(account_objects); // out: AccountObjects
116JSS(account_root); // in: LedgerEntry
117JSS(account_sequence_next); // out: SubmitTransaction
118JSS(account_sequence_available); // out: SubmitTransaction
119JSS(account_history_tx_stream); // in: Subscribe, Unsubscribe
120JSS(account_history_tx_index); // out: Account txn history subscribe
121
122JSS(account_history_tx_first); // out: Account txn history subscribe
123JSS(account_history_boundary); // out: Account txn history subscribe
124JSS(accounts); // in: LedgerEntry, Subscribe,
125 // handlers/Ledger, Unsubscribe
126JSS(accounts_proposed); // in: Subscribe, Unsubscribe
127JSS(action);
128JSS(acquiring); // out: LedgerRequest
129JSS(address); // out: PeerImp
130JSS(affected); // out: AcceptedLedgerTx
131JSS(age); // out: NetworkOPs, Peers
132JSS(alternatives); // out: PathRequest, RipplePathFind
133JSS(amendment_blocked); // out: NetworkOPs
134JSS(amm_account); // in: amm_info
135JSS(amount); // out: AccountChannels, amm_info
136JSS(amount2); // out: amm_info
137JSS(api_version); // in: many, out: Version
138JSS(api_version_low); // out: Version
139JSS(applied); // out: SubmitTransaction
140JSS(asks); // out: Subscribe
141JSS(asset); // in: amm_info
142JSS(asset2); // in: amm_info
143JSS(assets); // out: GatewayBalances
144JSS(asset_frozen); // out: amm_info
145JSS(asset2_frozen); // out: amm_info
146JSS(attestations);
147JSS(attestation_reward_account);
148JSS(auction_slot); // out: amm_info
149JSS(authorized); // out: AccountLines
150JSS(authorize); // out: delegate
151JSS(authorized_credentials); // in: ledger_entry DepositPreauth
152JSS(auth_accounts); // out: amm_info
153JSS(auth_change); // out: AccountInfo
154JSS(auth_change_queued); // out: AccountInfo
155JSS(available); // out: ValidatorList
156JSS(avg_bps_recv); // out: Peers
157JSS(avg_bps_sent); // out: Peers
158JSS(balance); // out: AccountLines
159JSS(balances); // out: GatewayBalances
160JSS(base); // out: LogLevel
161JSS(base_asset); // in: get_aggregate_price
162JSS(base_fee); // out: NetworkOPs
163JSS(base_fee_xrp); // out: NetworkOPs
164JSS(bids); // out: Subscribe
165JSS(binary); // in: AccountTX, LedgerEntry,
166 // AccountTxOld, Tx LedgerData
167JSS(blob); // out: ValidatorList
168JSS(blobs_v2); // out: ValidatorList
169 // in: UNL
170JSS(books); // in: Subscribe, Unsubscribe
171JSS(both); // in: Subscribe, Unsubscribe
172JSS(both_sides); // in: Subscribe, Unsubscribe
173JSS(branch); // out: server_info
174JSS(broadcast); // out: SubmitTransaction
175JSS(bridge_account); // in: LedgerEntry
176JSS(build_path); // in: TransactionSign
177JSS(build_version); // out: NetworkOPs
178JSS(cancel_after); // out: AccountChannels
179JSS(can_delete); // out: CanDelete
180JSS(mpt_amount); // out: mpt_holders
181JSS(mpt_issuance_id); // in: Payment, mpt_holders
182JSS(mptoken_index); // out: mpt_holders
183JSS(changes); // out: BookChanges
184JSS(channel_id); // out: AccountChannels
185JSS(channels); // out: AccountChannels
186JSS(check_nodes); // in: LedgerCleaner
187JSS(clear); // in/out: FetchInfo
188JSS(close); // out: BookChanges
189JSS(close_flags); // out: LedgerToJson
190JSS(close_time); // in: Application, out: NetworkOPs,
191 // RCLCxPeerPos, LedgerToJson
192JSS(close_time_iso); // out: Tx, NetworkOPs, TransactionEntry
193 // AccountTx, LedgerToJson
194JSS(close_time_estimated); // in: Application, out: LedgerToJson
195JSS(close_time_human); // out: LedgerToJson
196JSS(close_time_offset); // out: NetworkOPs
197JSS(close_time_resolution); // in: Application; out: LedgerToJson
198JSS(closed); // out: NetworkOPs, LedgerToJson,
199 // handlers/Ledger
200JSS(closed_ledger); // out: NetworkOPs
201JSS(cluster); // out: PeerImp
202JSS(code); // out: errors
203JSS(command); // in: RPCHandler
204JSS(complete); // out: NetworkOPs, InboundLedger
205JSS(complete_ledgers); // out: NetworkOPs, PeerImp
206JSS(consensus); // out: NetworkOPs, LedgerConsensus
207JSS(converge_time); // out: NetworkOPs
208JSS(converge_time_s); // out: NetworkOPs
209JSS(cookie); // out: NetworkOPs
210JSS(count); // in: AccountTx*, ValidatorList
211JSS(counters); // in/out: retrieve counters
212JSS(credentials); // in: deposit_authorized
213JSS(credential_type); // in: LedgerEntry DepositPreauth
214JSS(ctid); // in/out: Tx RPC
215JSS(currency_a); // out: BookChanges
216JSS(currency_b); // out: BookChanges
217JSS(currency); // in: paths/PathRequest, STAmount
218 // out: STPathSet, STAmount,
219 // AccountLines
220JSS(current); // out: OwnerInfo
221JSS(current_activities);
222JSS(current_ledger_size); // out: TxQ
223JSS(current_queue_size); // out: TxQ
224JSS(data); // out: LedgerData
225JSS(date); // out: tx/Transaction, NetworkOPs
226JSS(dbKBLedger); // out: getCounts
227JSS(dbKBTotal); // out: getCounts
228JSS(dbKBTransaction); // out: getCounts
229JSS(debug_signing); // in: TransactionSign
230JSS(deletion_blockers_only); // in: AccountObjects
231JSS(delivered_amount); // out: insertDeliveredAmount
232JSS(deposit_authorized); // out: deposit_authorized
233JSS(deprecated); // out
234JSS(descending); // in: AccountTx*
235JSS(description); // in/out: Reservations
236JSS(destination); // in: nft_buy_offers, nft_sell_offers
237JSS(destination_account); // in: PathRequest, RipplePathFind, account_lines
238 // out: AccountChannels
239JSS(destination_amount); // in: PathRequest, RipplePathFind
240JSS(destination_currencies); // in: PathRequest, RipplePathFind
241JSS(destination_tag); // in: PathRequest
242 // out: AccountChannels
243JSS(details); // out: Manifest, server_info
244JSS(dir_entry); // out: DirectoryEntryIterator
245JSS(dir_index); // out: DirectoryEntryIterator
246JSS(dir_root); // out: DirectoryEntryIterator
247JSS(discounted_fee); // out: amm_info
248JSS(domain); // out: ValidatorInfo, Manifest
249JSS(drops); // out: TxQ
250JSS(duration_us); // out: NetworkOPs
251JSS(effective); // out: ValidatorList
252 // in: UNL
253JSS(enabled); // out: AmendmentTable
254JSS(engine_result); // out: NetworkOPs, TransactionSign, Submit
255JSS(engine_result_code); // out: NetworkOPs, TransactionSign, Submit
256JSS(engine_result_message); // out: NetworkOPs, TransactionSign, Submit
257JSS(entire_set); // out: get_aggregate_price
258JSS(ephemeral_key); // out: ValidatorInfo
259 // in/out: Manifest
260JSS(error); // out: error
261JSS(errored);
262JSS(error_code); // out: error
263JSS(error_exception); // out: Submit
264JSS(error_message); // out: error
265JSS(expand); // in: handler/Ledger
266JSS(expected_date); // out: any (warnings)
267JSS(expected_date_UTC); // out: any (warnings)
268JSS(expected_ledger_size); // out: TxQ
269JSS(expiration); // out: AccountOffers, AccountChannels,
270 // ValidatorList, amm_info
271JSS(fail_hard); // in: Sign, Submit
272JSS(failed); // out: InboundLedger
273JSS(feature); // in: Feature
274JSS(features); // out: Feature
275JSS(fee_base); // out: NetworkOPs
276JSS(fee_div_max); // in: TransactionSign
277JSS(fee_level); // out: AccountInfo
278JSS(fee_mult_max); // in: TransactionSign
279JSS(fee_ref); // out: NetworkOPs, DEPRECATED
280JSS(fetch_pack); // out: NetworkOPs
281JSS(FIELDS); // out: RPC server_definitions
282 // matches definitions.json format
283JSS(first); // out: rpc/Version
284JSS(finished);
285JSS(fix_txns); // in: LedgerCleaner
286JSS(flags); // out: AccountOffers,
287 // NetworkOPs
288JSS(forward); // in: AccountTx
289JSS(freeze); // out: AccountLines
290JSS(freeze_peer); // out: AccountLines
291JSS(deep_freeze); // out: AccountLines
292JSS(deep_freeze_peer); // out: AccountLines
293JSS(frozen_balances); // out: GatewayBalances
294JSS(full); // in: LedgerClearer, handlers/Ledger
295JSS(full_reply); // out: PathFind
296JSS(fullbelow_size); // out: GetCounts
297JSS(git); // out: server_info
298JSS(good); // out: RPCVersion
299JSS(hash); // out: NetworkOPs, InboundLedger,
300 // LedgerToJson, STTx; field
301JSS(have_header); // out: InboundLedger
302JSS(have_state); // out: InboundLedger
303JSS(have_transactions); // out: InboundLedger
304JSS(high); // out: BookChanges
305JSS(highest_sequence); // out: AccountInfo
306JSS(highest_ticket); // out: AccountInfo
307JSS(historical_perminute); // historical_perminute.
308JSS(holders); // out: MPTHolders
309JSS(hostid); // out: NetworkOPs
310JSS(hotwallet); // in: GatewayBalances
311JSS(id); // websocket.
312JSS(ident); // in: AccountCurrencies, AccountInfo,
313 // OwnerInfo
314JSS(ignore_default); // in: AccountLines
315JSS(inLedger); // out: tx/Transaction
316JSS(inbound); // out: PeerImp
317JSS(index); // in: LedgerEntry
318 // out: STLedgerEntry,
319 // LedgerEntry, TxHistory, LedgerData
320JSS(info); // out: ServerInfo, ConsensusInfo, FetchInfo
321JSS(initial_sync_duration_us);
322JSS(internal_command); // in: Internal
323JSS(invalid_API_version); // out: Many, when a request has an invalid
324 // version
325JSS(io_latency_ms); // out: NetworkOPs
326JSS(ip); // in: Connect, out: OverlayImpl
327JSS(is_burned); // out: nft_info (clio)
328JSS(isSerialized); // out: RPC server_definitions
329 // matches definitions.json format
330JSS(isSigningField); // out: RPC server_definitions
331 // matches definitions.json format
332JSS(isVLEncoded); // out: RPC server_definitions
333 // matches definitions.json format
334JSS(issuer); // in: RipplePathFind, Subscribe,
335 // Unsubscribe, BookOffers
336 // out: STPathSet, STAmount
337JSS(job);
338JSS(job_queue);
339JSS(jobs);
340JSS(jsonrpc); // json version
341JSS(jq_trans_overflow); // JobQueue transaction limit overflow.
342JSS(kept); // out: SubmitTransaction
343JSS(key); // out
344JSS(key_type); // in/out: WalletPropose, TransactionSign
345JSS(latency); // out: PeerImp
346JSS(last); // out: RPCVersion
347JSS(last_close); // out: NetworkOPs
348JSS(last_refresh_time); // out: ValidatorSite
349JSS(last_refresh_status); // out: ValidatorSite
350JSS(last_refresh_message); // out: ValidatorSite
351JSS(ledger); // in: NetworkOPs, LedgerCleaner,
352 // RPCHelpers
353 // out: NetworkOPs, PeerImp
354JSS(ledger_current_index); // out: NetworkOPs, RPCHelpers,
355 // LedgerCurrent, LedgerAccept,
356 // AccountLines
357JSS(ledger_data); // out: LedgerHeader
358JSS(ledger_hash); // in: RPCHelpers, LedgerRequest,
359 // RipplePathFind, TransactionEntry,
360 // handlers/Ledger
361 // out: NetworkOPs, RPCHelpers,
362 // LedgerClosed, LedgerData,
363 // AccountLines
364JSS(ledger_hit_rate); // out: GetCounts
365JSS(ledger_index); // in/out: many
366JSS(ledger_index_max); // in, out: AccountTx*
367JSS(ledger_index_min); // in, out: AccountTx*
368JSS(ledger_max); // in, out: AccountTx*
369JSS(ledger_min); // in, out: AccountTx*
370JSS(ledger_time); // out: NetworkOPs
371JSS(LEDGER_ENTRY_TYPES); // out: RPC server_definitions
372 // matches definitions.json format
373JSS(levels); // LogLevels
374JSS(limit); // in/out: AccountTx*, AccountOffers,
375 // AccountLines, AccountObjects
376 // in: LedgerData, BookOffers
377JSS(limit_peer); // out: AccountLines
378JSS(lines); // out: AccountLines
379JSS(list); // out: ValidatorList
380JSS(load); // out: NetworkOPs, PeerImp
381JSS(load_base); // out: NetworkOPs
382JSS(load_factor); // out: NetworkOPs
383JSS(load_factor_cluster); // out: NetworkOPs
384JSS(load_factor_fee_escalation); // out: NetworkOPs
385JSS(load_factor_fee_queue); // out: NetworkOPs
386JSS(load_factor_fee_reference); // out: NetworkOPs
387JSS(load_factor_local); // out: NetworkOPs
388JSS(load_factor_net); // out: NetworkOPs
389JSS(load_factor_server); // out: NetworkOPs
390JSS(load_fee); // out: LoadFeeTrackImp, NetworkOPs
391JSS(local); // out: resource/Logic.h
392JSS(local_txs); // out: GetCounts
393JSS(local_static_keys); // out: ValidatorList
394JSS(low); // out: BookChanges
395JSS(lowest_sequence); // out: AccountInfo
396JSS(lowest_ticket); // out: AccountInfo
397JSS(lp_token); // out: amm_info
398JSS(majority); // out: RPC feature
399JSS(manifest); // out: ValidatorInfo, Manifest
400JSS(marker); // in/out: AccountTx, AccountOffers,
401 // AccountLines, AccountObjects,
402 // LedgerData
403 // in: BookOffers
404JSS(master_key); // out: WalletPropose, NetworkOPs,
405 // ValidatorInfo
406 // in/out: Manifest
407JSS(master_seed); // out: WalletPropose
408JSS(master_seed_hex); // out: WalletPropose
409JSS(master_signature); // out: pubManifest
410JSS(max_ledger); // in/out: LedgerCleaner
411JSS(max_queue_size); // out: TxQ
412JSS(max_spend_drops); // out: AccountInfo
413JSS(max_spend_drops_total); // out: AccountInfo
414JSS(mean); // out: get_aggregate_price
415JSS(median); // out: get_aggregate_price
416JSS(median_fee); // out: TxQ
417JSS(median_level); // out: TxQ
418JSS(message); // error.
419JSS(meta); // out: NetworkOPs, AccountTx*, Tx
420JSS(meta_blob); // out: NetworkOPs, AccountTx*, Tx
421JSS(metaData);
422JSS(metadata); // out: TransactionEntry
423JSS(method); // RPC
424JSS(methods);
425JSS(metrics); // out: Peers
426JSS(min_count); // in: GetCounts
427JSS(min_ledger); // in: LedgerCleaner
428JSS(minimum_fee); // out: TxQ
429JSS(minimum_level); // out: TxQ
430JSS(missingCommand); // error
431JSS(name); // out: AmendmentTableImpl, PeerImp
432JSS(needed_state_hashes); // out: InboundLedger
433JSS(needed_transaction_hashes); // out: InboundLedger
434JSS(network_id); // out: NetworkOPs
435JSS(network_ledger); // out: NetworkOPs
436JSS(next_refresh_time); // out: ValidatorSite
437JSS(nft_id); // in: nft_sell_offers, nft_buy_offers
438JSS(nft_offer_index); // out nft_buy_offers, nft_sell_offers
439JSS(nft_serial); // out: account_nfts
440JSS(nft_taxon); // out: nft_info (clio)
441JSS(nftoken_id); // out: insertNFTokenID
442JSS(nftoken_ids); // out: insertNFTokenID
443JSS(no_ripple); // out: AccountLines
444JSS(no_ripple_peer); // out: AccountLines
445JSS(node); // out: LedgerEntry
446JSS(node_binary); // out: LedgerEntry
447JSS(node_read_bytes); // out: GetCounts
448JSS(node_read_errors); // out: GetCounts
449JSS(node_read_retries); // out: GetCounts
450JSS(node_reads_hit); // out: GetCounts
451JSS(node_reads_total); // out: GetCounts
452JSS(node_reads_duration_us); // out: GetCounts
453JSS(node_size); // out: server_info
454JSS(nodes); // out: VaultInfo
455JSS(nodestore); // out: GetCounts
456JSS(node_writes); // out: GetCounts
457JSS(node_written_bytes); // out: GetCounts
458JSS(node_writes_duration_us); // out: GetCounts
459JSS(node_write_retries); // out: GetCounts
460JSS(node_writes_delayed); // out::GetCounts
461JSS(nth); // out: RPC server_definitions
462JSS(obligations); // out: GatewayBalances
463JSS(offers); // out: NetworkOPs, AccountOffers, Subscribe
464JSS(offer_id); // out: insertNFTokenOfferID
465JSS(offline); // in: TransactionSign
466JSS(offset); // in/out: AccountTxOld
467JSS(open); // out: handlers/Ledger
468JSS(open_ledger_cost); // out: SubmitTransaction
469JSS(open_ledger_fee); // out: TxQ
470JSS(open_ledger_level); // out: TxQ
471JSS(oracles); // in: get_aggregate_price
472JSS(oracle_document_id); // in: get_aggregate_price
473JSS(owner); // in: LedgerEntry, out: NetworkOPs
474JSS(owner_funds); // in/out: Ledger, NetworkOPs, AcceptedLedgerTx
475JSS(page_index);
476JSS(params); // RPC
477JSS(parent_close_time); // out: LedgerToJson
478JSS(parent_hash); // out: LedgerToJson
479JSS(partition); // in: LogLevel
480JSS(passphrase); // in: WalletPropose
481JSS(password); // in: Subscribe
482JSS(paths); // in: RipplePathFind
483JSS(paths_canonical); // out: RipplePathFind
484JSS(paths_computed); // out: PathRequest, RipplePathFind
485JSS(peer); // in: AccountLines
486JSS(peer_authorized); // out: AccountLines
487JSS(peer_id); // out: RCLCxPeerPos
488JSS(peers); // out: InboundLedger, handlers/Peers, Overlay
489JSS(peer_disconnects); // Severed peer connection counter.
490JSS(peer_disconnects_resources); // Severed peer connections because of
491 // excess resource consumption.
492JSS(port); // in: Connect, out: NetworkOPs
493JSS(ports); // out: NetworkOPs
494JSS(previous); // out: Reservations
495JSS(previous_ledger); // out: LedgerPropose
496JSS(price); // out: amm_info, AuctionSlot
497JSS(proof); // in: BookOffers
498JSS(propose_seq); // out: LedgerPropose
499JSS(proposers); // out: NetworkOPs, LedgerConsensus
500JSS(protocol); // out: NetworkOPs, PeerImp
501JSS(proxied); // out: RPC ping
502JSS(pubkey_node); // out: NetworkOPs
503JSS(pubkey_publisher); // out: ValidatorList
504JSS(pubkey_validator); // out: NetworkOPs, ValidatorList
505JSS(public_key); // out: OverlayImpl, PeerImp, WalletPropose,
506 // ValidatorInfo
507 // in/out: Manifest
508JSS(public_key_hex); // out: WalletPropose
509JSS(published_ledger); // out: NetworkOPs
510JSS(publisher_lists); // out: ValidatorList
511JSS(quality); // out: NetworkOPs
512JSS(quality_in); // out: AccountLines
513JSS(quality_out); // out: AccountLines
514JSS(queue); // in: AccountInfo
515JSS(queue_data); // out: AccountInfo
516JSS(queued); // out: SubmitTransaction
517JSS(queued_duration_us);
518JSS(quote_asset); // in: get_aggregate_price
519JSS(random); // out: Random
520JSS(raw_meta); // out: AcceptedLedgerTx
521JSS(receive_currencies); // out: AccountCurrencies
522JSS(reference_level); // out: TxQ
523JSS(refresh_interval); // in: UNL
524JSS(refresh_interval_min); // out: ValidatorSites
525JSS(regular_seed); // in/out: LedgerEntry
526JSS(remaining); // out: ValidatorList
527JSS(remote); // out: Logic.h
528JSS(request); // RPC
529JSS(requested); // out: Manifest
530JSS(reservations); // out: Reservations
531JSS(reserve_base); // out: NetworkOPs
532JSS(reserve_base_xrp); // out: NetworkOPs
533JSS(reserve_inc); // out: NetworkOPs
534JSS(reserve_inc_xrp); // out: NetworkOPs
535JSS(response); // websocket
536JSS(result); // RPC
537JSS(ripple_lines); // out: NetworkOPs
538JSS(ripple_state); // in: LedgerEntr
539JSS(ripplerpc); // ripple RPC version
540JSS(role); // out: Ping.cpp
541JSS(rpc);
542JSS(rt_accounts); // in: Subscribe, Unsubscribe
543JSS(running_duration_us);
544JSS(search_depth); // in: RipplePathFind
545JSS(searched_all); // out: Tx
546JSS(secret); // in: TransactionSign,
547 // ValidationCreate, ValidationSeed,
548 // channel_authorize
549JSS(seed); //
550JSS(seed_hex); // in: WalletPropose, TransactionSign
551JSS(send_currencies); // out: AccountCurrencies
552JSS(send_max); // in: PathRequest, RipplePathFind
553JSS(seq); // in: LedgerEntry;
554 // out: NetworkOPs, RPCSub, AccountOffers,
555 // ValidatorList, ValidatorInfo, Manifest
556JSS(sequence); // in: UNL
557JSS(sequence_count); // out: AccountInfo
558JSS(server_domain); // out: NetworkOPs
559JSS(server_state); // out: NetworkOPs
560JSS(server_state_duration_us);// out: NetworkOPs
561JSS(server_status); // out: NetworkOPs
562JSS(server_version); // out: NetworkOPs
563JSS(settle_delay); // out: AccountChannels
564JSS(severity); // in: LogLevel
565JSS(shares); // out: VaultInfo
566JSS(signature); // out: NetworkOPs, ChannelAuthorize
567JSS(signature_verified); // out: ChannelVerify
568JSS(signing_key); // out: NetworkOPs
569JSS(signing_keys); // out: ValidatorList
570JSS(signing_time); // out: NetworkOPs
571JSS(signer_lists); // in/out: AccountInfo
572JSS(size); // out: get_aggregate_price
573JSS(snapshot); // in: Subscribe
574JSS(source_account); // in: PathRequest, RipplePathFind
575JSS(source_amount); // in: PathRequest, RipplePathFind
576JSS(source_currencies); // in: PathRequest, RipplePathFind
577JSS(source_tag); // out: AccountChannels
578JSS(stand_alone); // out: NetworkOPs
579JSS(standard_deviation); // out: get_aggregate_price
580JSS(start); // in: TxHistory
581JSS(started);
582JSS(state_accounting); // out: NetworkOPs
583JSS(state_now); // in: Subscribe
584JSS(status); // error
585JSS(stop); // in: LedgerCleaner
586JSS(stop_history_tx_only); // in: Unsubscribe, stop history tx stream
587JSS(streams); // in: Subscribe, Unsubscribe
588JSS(strict); // in: AccountCurrencies, AccountInfo
589JSS(sub_index); // in: LedgerEntry
590JSS(subcommand); // in: PathFind
591JSS(subject); // in: LedgerEntry Credential
592JSS(success); // rpc
593JSS(supported); // out: AmendmentTableImpl
594JSS(sync_mode); // in: Submit
595JSS(system_time_offset); // out: NetworkOPs
596JSS(tag); // out: Peers
597JSS(taker); // in: Subscribe, BookOffers
598JSS(taker_gets); // in: Subscribe, Unsubscribe, BookOffers
599JSS(taker_gets_funded); // out: NetworkOPs
600JSS(taker_pays); // in: Subscribe, Unsubscribe, BookOffers
601JSS(taker_pays_funded); // out: NetworkOPs
602JSS(threshold); // in: Blacklist
603JSS(ticket_count); // out: AccountInfo
604JSS(ticket_seq); // in: LedgerEntry
605JSS(time);
606JSS(timeouts); // out: InboundLedger
607JSS(time_threshold); // in/out: Oracle aggregate
608JSS(time_interval); // out: AMM Auction Slot
609JSS(track); // out: PeerImp
610JSS(traffic); // out: Overlay
611JSS(trim); // in: get_aggregate_price
612JSS(trimmed_set); // out: get_aggregate_price
613JSS(total); // out: counters
614JSS(total_bytes_recv); // out: Peers
615JSS(total_bytes_sent); // out: Peers
616JSS(total_coins); // out: LedgerToJson
617JSS(trading_fee); // out: amm_info
618JSS(transTreeHash); // out: ledger/Ledger.cpp
619JSS(transaction); // in: Tx
620 // out: NetworkOPs, AcceptedLedgerTx,
621JSS(transaction_hash); // out: RCLCxPeerPos, LedgerToJson
622JSS(transactions); // out: LedgerToJson,
623 // in: AccountTx*, Unsubscribe
624JSS(TRANSACTION_RESULTS); // out: RPC server_definitions
625 // matches definitions.json format
626JSS(TRANSACTION_TYPES); // out: RPC server_definitions
627 // matches definitions.json format
628JSS(TYPES); // out: RPC server_definitions
629 // matches definitions.json format
630JSS(transfer_rate); // out: nft_info (clio)
631JSS(transitions); // out: NetworkOPs
632JSS(treenode_cache_size); // out: GetCounts
633JSS(treenode_track_size); // out: GetCounts
634JSS(trusted); // out: UnlList
635JSS(trusted_validator_keys); // out: ValidatorList
636JSS(tx); // out: STTx, AccountTx*
637JSS(tx_blob); // in/out: Submit,
638 // in: TransactionSign, AccountTx*
639JSS(tx_hash); // in: TransactionEntry
640JSS(tx_json); // in/out: TransactionSign
641 // out: TransactionEntry
642JSS(tx_signing_hash); // out: TransactionSign
643JSS(tx_unsigned); // out: TransactionSign
644JSS(txn_count); // out: NetworkOPs
645JSS(txr_tx_cnt); // out: protocol message tx's count
646JSS(txr_tx_sz); // out: protocol message tx's size
647JSS(txr_have_txs_cnt); // out: protocol message have tx count
648JSS(txr_have_txs_sz); // out: protocol message have tx size
649JSS(txr_get_ledger_cnt); // out: protocol message get ledger count
650JSS(txr_get_ledger_sz); // out: protocol message get ledger size
651JSS(txr_ledger_data_cnt); // out: protocol message ledger data count
652JSS(txr_ledger_data_sz); // out: protocol message ledger data size
653JSS(txr_transactions_cnt); // out: protocol message get object count
654JSS(txr_transactions_sz); // out: protocol message get object size
655JSS(txr_selected_cnt); // out: selected peers count
656JSS(txr_suppressed_cnt); // out: suppressed peers count
657JSS(txr_not_enabled_cnt); // out: peers with tx reduce-relay disabled count
658JSS(txr_missing_tx_freq); // out: missing tx frequency average
659JSS(txs); // out: TxHistory
660JSS(type); // in: AccountObjects
661 // out: NetworkOPs, RPC server_definitions
662 // OverlayImpl, Logic
663JSS(type_hex); // out: STPathSet
664JSS(unl); // out: UnlList
665JSS(unlimited); // out: Connection.h
666JSS(uptime); // out: GetCounts
667JSS(uri); // out: ValidatorSites
668JSS(url); // in/out: Subscribe, Unsubscribe
669JSS(url_password); // in: Subscribe
670JSS(url_username); // in: Subscribe
671JSS(urlgravatar); //
672JSS(username); // in: Subscribe
673JSS(validated); // out: NetworkOPs, RPCHelpers, AccountTx*
674 // Tx
675JSS(validator_list_expires); // out: NetworkOps, ValidatorList
676JSS(validator_list); // out: NetworkOps, ValidatorList
677JSS(validators);
678JSS(validated_hash); // out: NetworkOPs
679JSS(validated_ledger); // out: NetworkOPs
680JSS(validated_ledger_index); // out: SubmitTransaction
681JSS(validated_ledgers); // out: NetworkOPs
682JSS(validation_key); // out: ValidationCreate, ValidationSeed
683JSS(validation_private_key); // out: ValidationCreate
684JSS(validation_public_key); // out: ValidationCreate, ValidationSeed
685JSS(validation_quorum); // out: NetworkOPs
686JSS(validation_seed); // out: ValidationCreate, ValidationSeed
687JSS(validations); // out: AmendmentTableImpl
688JSS(validator_list_threshold); // out: ValidatorList
689JSS(validator_sites); // out: ValidatorSites
690JSS(value); // out: STAmount
691JSS(vault_id); // in: VaultInfo
692JSS(version); // out: RPCVersion
693JSS(vetoed); // out: AmendmentTableImpl
694JSS(volume_a); // out: BookChanges
695JSS(volume_b); // out: BookChanges
696JSS(vote); // in: Feature
697JSS(vote_slots); // out: amm_info
698JSS(vote_weight); // out: amm_info
699JSS(warning); // rpc:
700JSS(warnings); // out: server_info, server_state
701JSS(workers);
702JSS(write_load); // out: GetCounts
703// clang-format on
704
705#pragma push_macro("TRANSACTION")
706#undef TRANSACTION
707
708#define TRANSACTION(tag, value, name, delegatable, fields) JSS(name);
709
710#include <xrpl/protocol/detail/transactions.macro>
711
712#undef TRANSACTION
713#pragma pop_macro("TRANSACTION")
714
715#pragma push_macro("LEDGER_ENTRY")
716#undef LEDGER_ENTRY
717#pragma push_macro("LEDGER_ENTRY_DUPLICATE")
718#undef LEDGER_ENTRY_DUPLICATE
719
720#define LEDGER_ENTRY(tag, value, name, rpcName, fields) \
721 JSS(name); \
722 JSS(rpcName);
723
724#define LEDGER_ENTRY_DUPLICATE(tag, value, name, rpcName, fields) JSS(rpcName);
725
726#include <xrpl/protocol/detail/ledger_entries.macro>
727
728#undef LEDGER_ENTRY
729#pragma pop_macro("LEDGER_ENTRY")
730#undef LEDGER_ENTRY_DUPLICATE
731#pragma pop_macro("LEDGER_ENTRY_DUPLICATE")
732
733#undef JSS
734
735} // namespace jss
736} // namespace ripple
737
738#endif
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition: algorithm.h:26
@ Invalid
The map is known to not be valid.
@ current
This was a new validation and was added.
@ open
We haven't closed our ledger yet, but others might have.
@ accepted
Manifest is valid.
@ manifest
Manifest.
static bool authorized(Port const &port, std::map< std::string, std::string > const &h)