20 #ifndef RIPPLE_PROTOCOL_JSONFIELDS_H_INCLUDED
21 #define RIPPLE_PROTOCOL_JSONFIELDS_H_INCLUDED
23 #include <ripple/json/json_value.h>
30 #define JSS(x) constexpr ::Json::StaticString x(#x)
88 JSS(incomplete_shards);
90 JSS(LastLedgerSequence);
113 JSS(PaymentChannelClaim);
114 JSS(PaymentChannelCreate);
115 JSS(PaymentChannelFund);
134 JSS(TransactionType);
140 JSS(XChainAccountCreateCommit);
145 JSS(XChainModifyBridge);
146 JSS(XChainOwnedClaimID);
147 JSS(XChainOwnedCreateAccountClaimID);
152 JSS(accountTreeHash);
158 JSS(account_objects);
160 JSS(account_sequence_next);
161 JSS(account_sequence_available);
162 JSS(account_history_tx_stream);
163 JSS(account_history_tx_index);
165 JSS(account_history_tx_first);
166 JSS(account_history_boundary);
169 JSS(accounts_proposed);
176 JSS(amendment_blocked);
183 JSS(api_version_low);
192 JSS(attestation_reward_account);
197 JSS(auth_change_queued);
232 JSS(close_time_estimated);
233 JSS(close_time_human);
234 JSS(close_time_offset);
235 JSS(close_time_resolution);
243 JSS(complete_ledgers);
244 JSS(complete_shards);
247 JSS(converge_time_s);
255 JSS(currentShardIndex);
260 JSS(current_activities);
261 JSS(current_ledger_size);
262 JSS(current_queue_size);
267 JSS(dbKBTransaction);
269 JSS(deletion_blockers_only);
270 JSS(delivered_amount);
271 JSS(deposit_authorized);
272 JSS(deposit_preauth);
277 JSS(destination_account);
279 JSS(destination_amount);
280 JSS(destination_currencies);
281 JSS(destination_tag);
297 JSS(engine_result_code);
298 JSS(engine_result_message);
304 JSS(error_exception);
309 JSS(expected_date_UTC);
310 JSS(expected_ledger_size);
328 JSS(firstShardIndex);
336 JSS(frozen_balances);
346 JSS(have_transactions);
348 JSS(highest_sequence);
350 JSS(historical_perminute);
363 JSS(initial_sync_duration_us);
364 JSS(internal_command);
365 JSS(invalid_API_version);
383 JSS(jq_trans_overflow);
392 JSS(last_refresh_time);
393 JSS(last_refresh_status);
394 JSS(last_refresh_message);
398 JSS(ledger_current_index);
408 JSS(ledger_hit_rate);
410 JSS(ledger_index_max);
411 JSS(ledger_index_min);
415 JSS(LEDGER_ENTRY_TYPES);
427 JSS(load_factor_cluster);
428 JSS(load_factor_fee_escalation);
429 JSS(load_factor_fee_queue);
430 JSS(load_factor_fee_reference);
431 JSS(load_factor_local);
432 JSS(load_factor_net);
433 JSS(load_factor_server);
437 JSS(local_static_keys);
439 JSS(lowest_sequence);
452 JSS(master_seed_hex);
453 JSS(master_signature);
456 JSS(max_spend_drops);
457 JSS(max_spend_drops_total);
473 JSS(needed_state_hashes);
474 JSS(needed_transaction_hashes);
477 JSS(next_refresh_time);
480 JSS(nft_offer_index);
490 JSS(node_read_bytes);
491 JSS(node_read_errors);
492 JSS(node_read_retries);
494 JSS(node_reads_total);
495 JSS(node_reads_duration_us);
499 JSS(node_written_bytes);
500 JSS(node_writes_duration_us);
501 JSS(node_write_retries);
502 JSS(node_writes_delayed);
511 JSS(open_ledger_cost);
512 JSS(open_ledger_fee);
513 JSS(open_ledger_level);
518 JSS(parent_close_time);
524 JSS(paths_canonical);
526 JSS(payment_channel);
528 JSS(peer_authorized);
531 JSS(peer_disconnects);
532 JSS(peer_disconnects_resources);
537 JSS(previous_ledger);
545 JSS(pubkey_publisher);
546 JSS(pubkey_validator);
551 JSS(published_ledger);
552 JSS(publisher_lists);
559 JSS(queued_duration_us);
562 JSS(receive_currencies);
563 JSS(reference_level);
564 JSS(refresh_interval);
565 JSS(refresh_interval_min);
573 JSS(reserve_base_xrp);
575 JSS(reserve_inc_xrp);
584 JSS(running_duration_us);
592 JSS(send_currencies);
601 JSS(server_state_duration_us);
608 JSS(signature_verified);
617 JSS(source_currencies);
623 JSS(state_accounting);
627 JSS(stop_history_tx_only);
636 JSS(system_time_offset);
640 JSS(taker_gets_funded);
642 JSS(taker_pays_funded);
653 JSS(total_bytes_recv);
654 JSS(total_bytes_sent);
660 JSS(transaction_hash);
663 JSS(TRANSACTION_RESULTS);
665 JSS(TRANSACTION_TYPES);
671 JSS(treenode_cache_size);
672 JSS(treenode_track_size);
674 JSS(trusted_validator_keys);
681 JSS(tx_signing_hash);
686 JSS(txr_have_txs_cnt);
687 JSS(txr_have_txs_sz);
688 JSS(txr_get_ledger_cnt);
689 JSS(txr_get_ledger_sz);
690 JSS(txr_ledger_data_cnt);
691 JSS(txr_ledger_data_sz);
692 JSS(txr_transactions_cnt);
693 JSS(txr_transactions_sz);
694 JSS(txr_selected_cnt);
695 JSS(txr_suppressed_cnt);
696 JSS(txr_not_enabled_cnt);
697 JSS(txr_missing_tx_freq);
714 JSS(validator_list_expires);
718 JSS(validated_ledger);
719 JSS(validated_ledger_index);
720 JSS(validated_ledgers);
722 JSS(validation_private_key);
723 JSS(validation_public_key);
724 JSS(validation_quorum);
725 JSS(validation_seed);
727 JSS(validator_sites);
740 JSS(xchain_owned_claim_id);
741 JSS(xchain_owned_create_account_claim_id);