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