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