Add rpc call server_definitions to rippled.

This commit is contained in:
Richard Holland
2023-01-30 11:29:21 +00:00
parent c164acd3d6
commit 72fb172649
6 changed files with 1872 additions and 2 deletions

View File

@@ -146,6 +146,7 @@ Handler const handlerArray[]{
byRef(&doSubmitMultiSigned),
Role::USER,
NEEDS_CURRENT_LEDGER},
{"server_definitions", byRef(&doServerDefinitions), Role::USER, NO_CONDITION},
{"server_info", byRef(&doServerInfo), Role::USER, NO_CONDITION},
{"server_state", byRef(&doServerState), Role::USER, NO_CONDITION},
{"crawl_shards", byRef(&doCrawlShards), Role::ADMIN, NO_CONDITION},