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