mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
refactor: Remove reporting mode (#5092)
This commit is contained in:
@@ -11,7 +11,7 @@ import "org/xrpl/rpc/v1/get_ledger_diff.proto";
|
||||
|
||||
|
||||
// These methods are binary only methods for retrieiving arbitrary ledger state
|
||||
// via gRPC. These methods are used by clio and reporting mode, but can also be
|
||||
// via gRPC. These methods are used by clio, but can also be
|
||||
// used by any client that wants to extract ledger state in an efficient manner.
|
||||
// They do not directly mimic the JSON equivalent methods.
|
||||
service XRPLedgerAPIService {
|
||||
|
||||
@@ -136,8 +136,8 @@ enum error_code_i {
|
||||
rpcINVALID_LGR_RANGE = 79,
|
||||
rpcEXPIRED_VALIDATOR_LIST = 80,
|
||||
|
||||
// Reporting
|
||||
rpcFAILED_TO_FORWARD = 90,
|
||||
// unused = 90,
|
||||
// DEPRECATED. New code must not use this value.
|
||||
rpcREPORTING_UNSUPPORTED = 91,
|
||||
|
||||
rpcOBJECT_NOT_FOUND = 92,
|
||||
@@ -148,8 +148,7 @@ enum error_code_i {
|
||||
// Oracle
|
||||
rpcORACLE_MALFORMED = 94,
|
||||
|
||||
rpcLAST =
|
||||
rpcORACLE_MALFORMED // rpcLAST should always equal the last code.=
|
||||
rpcLAST = rpcORACLE_MALFORMED // rpcLAST should always equal the last code.
|
||||
};
|
||||
|
||||
/** Codes returned in the `warnings` array of certain RPC commands.
|
||||
@@ -160,7 +159,7 @@ enum warning_code_i {
|
||||
warnRPC_UNSUPPORTED_MAJORITY = 1001,
|
||||
warnRPC_AMENDMENT_BLOCKED = 1002,
|
||||
warnRPC_EXPIRED_VALIDATOR_LIST = 1003,
|
||||
warnRPC_REPORTING = 1004
|
||||
// unused = 1004
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user