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)
89 JSS(incomplete_shards);
91 JSS(LastLedgerSequence);
114 JSS(PaymentChannelClaim);
115 JSS(PaymentChannelCreate);
116 JSS(PaymentChannelFund);
135 JSS(TransactionType);
141 JSS(XChainAccountCreateCommit);
146 JSS(XChainModifyBridge);
147 JSS(XChainOwnedClaimID);
148 JSS(XChainOwnedCreateAccountClaimID);
153 JSS(accountTreeHash);
159 JSS(account_objects);
161 JSS(account_sequence_next);
162 JSS(account_sequence_available);
163 JSS(account_history_tx_stream);
164 JSS(account_history_tx_index);
166 JSS(account_history_tx_first);
167 JSS(account_history_boundary);
170 JSS(accounts_proposed);
177 JSS(amendment_blocked);
184 JSS(api_version_low);
193 JSS(attestation_reward_account);
198 JSS(auth_change_queued);
235 JSS(close_time_estimated);
236 JSS(close_time_human);
237 JSS(close_time_offset);
238 JSS(close_time_resolution);
246 JSS(complete_ledgers);
247 JSS(complete_shards);
250 JSS(converge_time_s);
258 JSS(currentShardIndex);
263 JSS(current_activities);
264 JSS(current_ledger_size);
265 JSS(current_queue_size);
270 JSS(dbKBTransaction);
272 JSS(deletion_blockers_only);
273 JSS(delivered_amount);
274 JSS(deposit_authorized);
275 JSS(deposit_preauth);
280 JSS(destination_account);
282 JSS(destination_amount);
283 JSS(destination_currencies);
284 JSS(destination_tag);
300 JSS(engine_result_code);
301 JSS(engine_result_message);
307 JSS(error_exception);
312 JSS(expected_date_UTC);
313 JSS(expected_ledger_size);
331 JSS(firstShardIndex);
339 JSS(frozen_balances);
349 JSS(have_transactions);
351 JSS(highest_sequence);
353 JSS(historical_perminute);
366 JSS(initial_sync_duration_us);
367 JSS(internal_command);
368 JSS(invalid_API_version);
386 JSS(jq_trans_overflow);
395 JSS(last_refresh_time);
396 JSS(last_refresh_status);
397 JSS(last_refresh_message);
401 JSS(ledger_current_index);
411 JSS(ledger_hit_rate);
413 JSS(ledger_index_max);
414 JSS(ledger_index_min);
418 JSS(LEDGER_ENTRY_TYPES);
430 JSS(load_factor_cluster);
431 JSS(load_factor_fee_escalation);
432 JSS(load_factor_fee_queue);
433 JSS(load_factor_fee_reference);
434 JSS(load_factor_local);
435 JSS(load_factor_net);
436 JSS(load_factor_server);
440 JSS(local_static_keys);
442 JSS(lowest_sequence);
455 JSS(master_seed_hex);
456 JSS(master_signature);
459 JSS(max_spend_drops);
460 JSS(max_spend_drops_total);
477 JSS(needed_state_hashes);
478 JSS(needed_transaction_hashes);
481 JSS(next_refresh_time);
484 JSS(nft_offer_index);
494 JSS(node_read_bytes);
495 JSS(node_read_errors);
496 JSS(node_read_retries);
498 JSS(node_reads_total);
499 JSS(node_reads_duration_us);
503 JSS(node_written_bytes);
504 JSS(node_writes_duration_us);
505 JSS(node_write_retries);
506 JSS(node_writes_delayed);
515 JSS(open_ledger_cost);
516 JSS(open_ledger_fee);
517 JSS(open_ledger_level);
522 JSS(parent_close_time);
528 JSS(paths_canonical);
530 JSS(payment_channel);
532 JSS(peer_authorized);
535 JSS(peer_disconnects);
536 JSS(peer_disconnects_resources);
541 JSS(previous_ledger);
549 JSS(pubkey_publisher);
550 JSS(pubkey_validator);
555 JSS(published_ledger);
556 JSS(publisher_lists);
563 JSS(queued_duration_us);
566 JSS(receive_currencies);
567 JSS(reference_level);
568 JSS(refresh_interval);
569 JSS(refresh_interval_min);
577 JSS(reserve_base_xrp);
579 JSS(reserve_inc_xrp);
588 JSS(running_duration_us);
596 JSS(send_currencies);
605 JSS(server_state_duration_us);
612 JSS(signature_verified);
621 JSS(source_currencies);
627 JSS(state_accounting);
631 JSS(stop_history_tx_only);
639 JSS(system_time_offset);
643 JSS(taker_gets_funded);
645 JSS(taker_pays_funded);
656 JSS(total_bytes_recv);
657 JSS(total_bytes_sent);
663 JSS(transaction_hash);
666 JSS(TRANSACTION_RESULTS);
668 JSS(TRANSACTION_TYPES);
674 JSS(treenode_cache_size);
675 JSS(treenode_track_size);
677 JSS(trusted_validator_keys);
684 JSS(tx_signing_hash);
689 JSS(txr_have_txs_cnt);
690 JSS(txr_have_txs_sz);
691 JSS(txr_get_ledger_cnt);
692 JSS(txr_get_ledger_sz);
693 JSS(txr_ledger_data_cnt);
694 JSS(txr_ledger_data_sz);
695 JSS(txr_transactions_cnt);
696 JSS(txr_transactions_sz);
697 JSS(txr_selected_cnt);
698 JSS(txr_suppressed_cnt);
699 JSS(txr_not_enabled_cnt);
700 JSS(txr_missing_tx_freq);
717 JSS(validator_list_expires);
721 JSS(validated_ledger);
722 JSS(validated_ledger_index);
723 JSS(validated_ledgers);
725 JSS(validation_private_key);
726 JSS(validation_public_key);
727 JSS(validation_quorum);
728 JSS(validation_seed);
730 JSS(validator_sites);
743 JSS(xchain_owned_claim_id);
744 JSS(xchain_owned_create_account_claim_id);