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(locked); // out: GatewayBalances
395JSS(low); // out: BookChanges
396JSS(lowest_sequence); // out: AccountInfo
397JSS(lowest_ticket); // out: AccountInfo
398JSS(lp_token); // out: amm_info
399JSS(majority); // out: RPC feature
400JSS(manifest); // out: ValidatorInfo, Manifest
401JSS(marker); // in/out: AccountTx, AccountOffers,
402 // AccountLines, AccountObjects,
403 // LedgerData
404 // in: BookOffers
405JSS(master_key); // out: WalletPropose, NetworkOPs,
406 // ValidatorInfo
407 // in/out: Manifest
408JSS(master_seed); // out: WalletPropose
409JSS(master_seed_hex); // out: WalletPropose
410JSS(master_signature); // out: pubManifest
411JSS(max_ledger); // in/out: LedgerCleaner
412JSS(max_queue_size); // out: TxQ
413JSS(max_spend_drops); // out: AccountInfo
414JSS(max_spend_drops_total); // out: AccountInfo
415JSS(mean); // out: get_aggregate_price
416JSS(median); // out: get_aggregate_price
417JSS(median_fee); // out: TxQ
418JSS(median_level); // out: TxQ
419JSS(message); // error.
420JSS(meta); // out: NetworkOPs, AccountTx*, Tx
421JSS(meta_blob); // out: NetworkOPs, AccountTx*, Tx
422JSS(metaData);
423JSS(metadata); // out: TransactionEntry
424JSS(method); // RPC
425JSS(methods);
426JSS(metrics); // out: Peers
427JSS(min_count); // in: GetCounts
428JSS(min_ledger); // in: LedgerCleaner
429JSS(minimum_fee); // out: TxQ
430JSS(minimum_level); // out: TxQ
431JSS(missingCommand); // error
432JSS(name); // out: AmendmentTableImpl, PeerImp
433JSS(needed_state_hashes); // out: InboundLedger
434JSS(needed_transaction_hashes); // out: InboundLedger
435JSS(network_id); // out: NetworkOPs
436JSS(network_ledger); // out: NetworkOPs
437JSS(next_refresh_time); // out: ValidatorSite
438JSS(nft_id); // in: nft_sell_offers, nft_buy_offers
439JSS(nft_offer_index); // out nft_buy_offers, nft_sell_offers
440JSS(nft_serial); // out: account_nfts
441JSS(nft_taxon); // out: nft_info (clio)
442JSS(nftoken_id); // out: insertNFTokenID
443JSS(nftoken_ids); // out: insertNFTokenID
444JSS(no_ripple); // out: AccountLines
445JSS(no_ripple_peer); // out: AccountLines
446JSS(node); // out: LedgerEntry
447JSS(node_binary); // out: LedgerEntry
448JSS(node_read_bytes); // out: GetCounts
449JSS(node_read_errors); // out: GetCounts
450JSS(node_read_retries); // out: GetCounts
451JSS(node_reads_hit); // out: GetCounts
452JSS(node_reads_total); // out: GetCounts
453JSS(node_reads_duration_us); // out: GetCounts
454JSS(node_size); // out: server_info
455JSS(nodes); // out: VaultInfo
456JSS(nodestore); // out: GetCounts
457JSS(node_writes); // out: GetCounts
458JSS(node_written_bytes); // out: GetCounts
459JSS(node_writes_duration_us); // out: GetCounts
460JSS(node_write_retries); // out: GetCounts
461JSS(node_writes_delayed); // out::GetCounts
462JSS(nth); // out: RPC server_definitions
463JSS(obligations); // out: GatewayBalances
464JSS(offers); // out: NetworkOPs, AccountOffers, Subscribe
465JSS(offer_id); // out: insertNFTokenOfferID
466JSS(offline); // in: TransactionSign
467JSS(offset); // in/out: AccountTxOld
468JSS(open); // out: handlers/Ledger
469JSS(open_ledger_cost); // out: SubmitTransaction
470JSS(open_ledger_fee); // out: TxQ
471JSS(open_ledger_level); // out: TxQ
472JSS(oracles); // in: get_aggregate_price
473JSS(oracle_document_id); // in: get_aggregate_price
474JSS(owner); // in: LedgerEntry, out: NetworkOPs
475JSS(owner_funds); // in/out: Ledger, NetworkOPs, AcceptedLedgerTx
476JSS(page_index);
477JSS(params); // RPC
478JSS(parent_close_time); // out: LedgerToJson
479JSS(parent_hash); // out: LedgerToJson
480JSS(partition); // in: LogLevel
481JSS(passphrase); // in: WalletPropose
482JSS(password); // in: Subscribe
483JSS(paths); // in: RipplePathFind
484JSS(paths_canonical); // out: RipplePathFind
485JSS(paths_computed); // out: PathRequest, RipplePathFind
486JSS(peer); // in: AccountLines
487JSS(peer_authorized); // out: AccountLines
488JSS(peer_id); // out: RCLCxPeerPos
489JSS(peers); // out: InboundLedger, handlers/Peers, Overlay
490JSS(peer_disconnects); // Severed peer connection counter.
491JSS(peer_disconnects_resources); // Severed peer connections because of
492 // excess resource consumption.
493JSS(port); // in: Connect, out: NetworkOPs
494JSS(ports); // out: NetworkOPs
495JSS(previous); // out: Reservations
496JSS(previous_ledger); // out: LedgerPropose
497JSS(price); // out: amm_info, AuctionSlot
498JSS(proof); // in: BookOffers
499JSS(propose_seq); // out: LedgerPropose
500JSS(proposers); // out: NetworkOPs, LedgerConsensus
501JSS(protocol); // out: NetworkOPs, PeerImp
502JSS(proxied); // out: RPC ping
503JSS(pubkey_node); // out: NetworkOPs
504JSS(pubkey_publisher); // out: ValidatorList
505JSS(pubkey_validator); // out: NetworkOPs, ValidatorList
506JSS(public_key); // out: OverlayImpl, PeerImp, WalletPropose,
507 // ValidatorInfo
508 // in/out: Manifest
509JSS(public_key_hex); // out: WalletPropose
510JSS(published_ledger); // out: NetworkOPs
511JSS(publisher_lists); // out: ValidatorList
512JSS(quality); // out: NetworkOPs
513JSS(quality_in); // out: AccountLines
514JSS(quality_out); // out: AccountLines
515JSS(queue); // in: AccountInfo
516JSS(queue_data); // out: AccountInfo
517JSS(queued); // out: SubmitTransaction
518JSS(queued_duration_us);
519JSS(quote_asset); // in: get_aggregate_price
520JSS(random); // out: Random
521JSS(raw_meta); // out: AcceptedLedgerTx
522JSS(receive_currencies); // out: AccountCurrencies
523JSS(reference_level); // out: TxQ
524JSS(refresh_interval); // in: UNL
525JSS(refresh_interval_min); // out: ValidatorSites
526JSS(regular_seed); // in/out: LedgerEntry
527JSS(remaining); // out: ValidatorList
528JSS(remote); // out: Logic.h
529JSS(request); // RPC
530JSS(requested); // out: Manifest
531JSS(reservations); // out: Reservations
532JSS(reserve_base); // out: NetworkOPs
533JSS(reserve_base_xrp); // out: NetworkOPs
534JSS(reserve_inc); // out: NetworkOPs
535JSS(reserve_inc_xrp); // out: NetworkOPs
536JSS(response); // websocket
537JSS(result); // RPC
538JSS(ripple_lines); // out: NetworkOPs
539JSS(ripple_state); // in: LedgerEntr
540JSS(ripplerpc); // ripple RPC version
541JSS(role); // out: Ping.cpp
542JSS(rpc);
543JSS(rt_accounts); // in: Subscribe, Unsubscribe
544JSS(running_duration_us);
545JSS(search_depth); // in: RipplePathFind
546JSS(searched_all); // out: Tx
547JSS(secret); // in: TransactionSign,
548 // ValidationCreate, ValidationSeed,
549 // channel_authorize
550JSS(seed); //
551JSS(seed_hex); // in: WalletPropose, TransactionSign
552JSS(send_currencies); // out: AccountCurrencies
553JSS(send_max); // in: PathRequest, RipplePathFind
554JSS(seq); // in: LedgerEntry;
555 // out: NetworkOPs, RPCSub, AccountOffers,
556 // ValidatorList, ValidatorInfo, Manifest
557JSS(sequence); // in: UNL
558JSS(sequence_count); // out: AccountInfo
559JSS(server_domain); // out: NetworkOPs
560JSS(server_state); // out: NetworkOPs
561JSS(server_state_duration_us);// out: NetworkOPs
562JSS(server_status); // out: NetworkOPs
563JSS(server_version); // out: NetworkOPs
564JSS(settle_delay); // out: AccountChannels
565JSS(severity); // in: LogLevel
566JSS(shares); // out: VaultInfo
567JSS(signature); // out: NetworkOPs, ChannelAuthorize
568JSS(signature_verified); // out: ChannelVerify
569JSS(signing_key); // out: NetworkOPs
570JSS(signing_keys); // out: ValidatorList
571JSS(signing_time); // out: NetworkOPs
572JSS(signer_lists); // in/out: AccountInfo
573JSS(size); // out: get_aggregate_price
574JSS(snapshot); // in: Subscribe
575JSS(source_account); // in: PathRequest, RipplePathFind
576JSS(source_amount); // in: PathRequest, RipplePathFind
577JSS(source_currencies); // in: PathRequest, RipplePathFind
578JSS(source_tag); // out: AccountChannels
579JSS(stand_alone); // out: NetworkOPs
580JSS(standard_deviation); // out: get_aggregate_price
581JSS(start); // in: TxHistory
582JSS(started);
583JSS(state_accounting); // out: NetworkOPs
584JSS(state_now); // in: Subscribe
585JSS(status); // error
586JSS(stop); // in: LedgerCleaner
587JSS(stop_history_tx_only); // in: Unsubscribe, stop history tx stream
588JSS(streams); // in: Subscribe, Unsubscribe
589JSS(strict); // in: AccountCurrencies, AccountInfo
590JSS(sub_index); // in: LedgerEntry
591JSS(subcommand); // in: PathFind
592JSS(subject); // in: LedgerEntry Credential
593JSS(success); // rpc
594JSS(supported); // out: AmendmentTableImpl
595JSS(sync_mode); // in: Submit
596JSS(system_time_offset); // out: NetworkOPs
597JSS(tag); // out: Peers
598JSS(taker); // in: Subscribe, BookOffers
599JSS(taker_gets); // in: Subscribe, Unsubscribe, BookOffers
600JSS(taker_gets_funded); // out: NetworkOPs
601JSS(taker_pays); // in: Subscribe, Unsubscribe, BookOffers
602JSS(taker_pays_funded); // out: NetworkOPs
603JSS(threshold); // in: Blacklist
604JSS(ticket_count); // out: AccountInfo
605JSS(ticket_seq); // in: LedgerEntry
606JSS(time);
607JSS(timeouts); // out: InboundLedger
608JSS(time_threshold); // in/out: Oracle aggregate
609JSS(time_interval); // out: AMM Auction Slot
610JSS(track); // out: PeerImp
611JSS(traffic); // out: Overlay
612JSS(trim); // in: get_aggregate_price
613JSS(trimmed_set); // out: get_aggregate_price
614JSS(total); // out: counters
615JSS(total_bytes_recv); // out: Peers
616JSS(total_bytes_sent); // out: Peers
617JSS(total_coins); // out: LedgerToJson
618JSS(trading_fee); // out: amm_info
619JSS(transTreeHash); // out: ledger/Ledger.cpp
620JSS(transaction); // in: Tx
621 // out: NetworkOPs, AcceptedLedgerTx,
622JSS(transaction_hash); // out: RCLCxPeerPos, LedgerToJson
623JSS(transactions); // out: LedgerToJson,
624 // in: AccountTx*, Unsubscribe
625JSS(TRANSACTION_RESULTS); // out: RPC server_definitions
626 // matches definitions.json format
627JSS(TRANSACTION_TYPES); // out: RPC server_definitions
628 // matches definitions.json format
629JSS(TYPES); // out: RPC server_definitions
630 // matches definitions.json format
631JSS(transfer_rate); // out: nft_info (clio)
632JSS(transitions); // out: NetworkOPs
633JSS(treenode_cache_size); // out: GetCounts
634JSS(treenode_track_size); // out: GetCounts
635JSS(trusted); // out: UnlList
636JSS(trusted_validator_keys); // out: ValidatorList
637JSS(tx); // out: STTx, AccountTx*
638JSS(tx_blob); // in/out: Submit,
639 // in: TransactionSign, AccountTx*
640JSS(tx_hash); // in: TransactionEntry
641JSS(tx_json); // in/out: TransactionSign
642 // out: TransactionEntry
643JSS(tx_signing_hash); // out: TransactionSign
644JSS(tx_unsigned); // out: TransactionSign
645JSS(txn_count); // out: NetworkOPs
646JSS(txr_tx_cnt); // out: protocol message tx's count
647JSS(txr_tx_sz); // out: protocol message tx's size
648JSS(txr_have_txs_cnt); // out: protocol message have tx count
649JSS(txr_have_txs_sz); // out: protocol message have tx size
650JSS(txr_get_ledger_cnt); // out: protocol message get ledger count
651JSS(txr_get_ledger_sz); // out: protocol message get ledger size
652JSS(txr_ledger_data_cnt); // out: protocol message ledger data count
653JSS(txr_ledger_data_sz); // out: protocol message ledger data size
654JSS(txr_transactions_cnt); // out: protocol message get object count
655JSS(txr_transactions_sz); // out: protocol message get object size
656JSS(txr_selected_cnt); // out: selected peers count
657JSS(txr_suppressed_cnt); // out: suppressed peers count
658JSS(txr_not_enabled_cnt); // out: peers with tx reduce-relay disabled count
659JSS(txr_missing_tx_freq); // out: missing tx frequency average
660JSS(txs); // out: TxHistory
661JSS(type); // in: AccountObjects
662 // out: NetworkOPs, RPC server_definitions
663 // OverlayImpl, Logic
664JSS(type_hex); // out: STPathSet
665JSS(unl); // out: UnlList
666JSS(unlimited); // out: Connection.h
667JSS(uptime); // out: GetCounts
668JSS(uri); // out: ValidatorSites
669JSS(url); // in/out: Subscribe, Unsubscribe
670JSS(url_password); // in: Subscribe
671JSS(url_username); // in: Subscribe
672JSS(urlgravatar); //
673JSS(username); // in: Subscribe
674JSS(validated); // out: NetworkOPs, RPCHelpers, AccountTx*
675 // Tx
676JSS(validator_list_expires); // out: NetworkOps, ValidatorList
677JSS(validator_list); // out: NetworkOps, ValidatorList
678JSS(validators);
679JSS(validated_hash); // out: NetworkOPs
680JSS(validated_ledger); // out: NetworkOPs
681JSS(validated_ledger_index); // out: SubmitTransaction
682JSS(validated_ledgers); // out: NetworkOPs
683JSS(validation_key); // out: ValidationCreate, ValidationSeed
684JSS(validation_private_key); // out: ValidationCreate
685JSS(validation_public_key); // out: ValidationCreate, ValidationSeed
686JSS(validation_quorum); // out: NetworkOPs
687JSS(validation_seed); // out: ValidationCreate, ValidationSeed
688JSS(validations); // out: AmendmentTableImpl
689JSS(validator_list_threshold); // out: ValidatorList
690JSS(validator_sites); // out: ValidatorSites
691JSS(value); // out: STAmount
692JSS(vault_id); // in: VaultInfo
693JSS(version); // out: RPCVersion
694JSS(vetoed); // out: AmendmentTableImpl
695JSS(volume_a); // out: BookChanges
696JSS(volume_b); // out: BookChanges
697JSS(vote); // in: Feature
698JSS(vote_slots); // out: amm_info
699JSS(vote_weight); // out: amm_info
700JSS(warning); // rpc:
701JSS(warnings); // out: server_info, server_state
702JSS(workers);
703JSS(write_load); // out: GetCounts
704// clang-format on
705
706#pragma push_macro("TRANSACTION")
707#undef TRANSACTION
708
709#define TRANSACTION(tag, value, name, delegatable, fields) JSS(name);
710
711#include <xrpl/protocol/detail/transactions.macro>
712
713#undef TRANSACTION
714#pragma pop_macro("TRANSACTION")
715
716#pragma push_macro("LEDGER_ENTRY")
717#undef LEDGER_ENTRY
718#pragma push_macro("LEDGER_ENTRY_DUPLICATE")
719#undef LEDGER_ENTRY_DUPLICATE
720
721#define LEDGER_ENTRY(tag, value, name, rpcName, fields) \
722 JSS(name); \
723 JSS(rpcName);
724
725#define LEDGER_ENTRY_DUPLICATE(tag, value, name, rpcName, fields) JSS(rpcName);
726
727#include <xrpl/protocol/detail/ledger_entries.macro>
728
729#undef LEDGER_ENTRY
730#pragma pop_macro("LEDGER_ENTRY")
731#undef LEDGER_ENTRY_DUPLICATE
732#pragma pop_macro("LEDGER_ENTRY_DUPLICATE")
733
734#undef JSS
735
736} // namespace jss
737} // namespace ripple
738
739#endif
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition: algorithm.h:25
@ 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)