mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-19 01:55:48 +00:00
Remove unused constants from resource/Fees.h (#4856)
This commit is contained in:
@@ -25,43 +25,38 @@
|
|||||||
namespace ripple {
|
namespace ripple {
|
||||||
namespace Resource {
|
namespace Resource {
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
/** Schedule of fees charged for imposing load on the server. */
|
/** Schedule of fees charged for imposing load on the server. */
|
||||||
/** @{ */
|
/** @{ */
|
||||||
extern Charge const
|
extern Charge const feeInvalidRequest; // A request that we can immediately
|
||||||
feeInvalidRequest; // A request that we can immediately tell is invalid
|
// tell is invalid
|
||||||
extern Charge const feeRequestNoReply; // A request that we cannot satisfy
|
extern Charge const feeRequestNoReply; // A request that we cannot satisfy
|
||||||
extern Charge const feeInvalidSignature; // An object whose signature we had to
|
extern Charge const feeInvalidSignature; // An object whose signature we had
|
||||||
// check and it failed
|
// to check and it failed
|
||||||
extern Charge const feeUnwantedData; // Data we have no use for
|
extern Charge const feeUnwantedData; // Data we have no use for
|
||||||
extern Charge const feeBadData; // Data we have to verify before rejecting
|
extern Charge const feeBadData; // Data we have to verify before
|
||||||
|
// rejecting
|
||||||
|
|
||||||
// RPC loads
|
// RPC loads
|
||||||
extern Charge const
|
extern Charge const feeInvalidRPC; // An RPC request that we can
|
||||||
feeInvalidRPC; // An RPC request that we can immediately tell is invalid.
|
// immediately tell is invalid.
|
||||||
extern Charge const feeReferenceRPC; // A default "reference" unspecified load
|
extern Charge const feeReferenceRPC; // A default "reference" unspecified
|
||||||
extern Charge const feeExceptionRPC; // An RPC load that causes an exception
|
// load
|
||||||
extern Charge const feeLightRPC; // A normal RPC command
|
extern Charge const feeExceptionRPC; // RPC load that causes an exception
|
||||||
extern Charge const feeLowBurdenRPC; // A slightly burdensome RPC load
|
|
||||||
extern Charge const feeMediumBurdenRPC; // A somewhat burdensome RPC load
|
extern Charge const feeMediumBurdenRPC; // A somewhat burdensome RPC load
|
||||||
extern Charge const feeHighBurdenRPC; // A very burdensome RPC load
|
extern Charge const feeHighBurdenRPC; // A very burdensome RPC load
|
||||||
extern Charge const feePathFindUpdate; // An update to an existing PF request
|
|
||||||
|
|
||||||
// Peer loads
|
// Peer loads
|
||||||
extern Charge const feeLightPeer; // Requires no reply
|
extern Charge const feeLightPeer; // Requires no reply
|
||||||
extern Charge const feeLowBurdenPeer; // Quick/cheap, slight reply
|
|
||||||
extern Charge const feeMediumBurdenPeer; // Requires some work
|
extern Charge const feeMediumBurdenPeer; // Requires some work
|
||||||
extern Charge const feeHighBurdenPeer; // Extensive work
|
extern Charge const feeHighBurdenPeer; // Extensive work
|
||||||
|
|
||||||
// Good things
|
|
||||||
extern Charge const
|
|
||||||
feeNewTrustedNote; // A new transaction/validation/proposal we trust
|
|
||||||
extern Charge const feeNewValidTx; // A new, valid transaction
|
|
||||||
extern Charge const feeSatisfiedRequest; // Data we requested
|
|
||||||
|
|
||||||
// Administrative
|
// Administrative
|
||||||
extern Charge const feeWarning; // The cost of receiving a warning
|
extern Charge const feeWarning; // The cost of receiving a warning
|
||||||
extern Charge const feeDrop; // The cost of being dropped for excess load
|
extern Charge const feeDrop; // The cost of being dropped for
|
||||||
|
// excess load
|
||||||
/** @} */
|
/** @} */
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
} // namespace Resource
|
} // namespace Resource
|
||||||
} // namespace ripple
|
} // namespace ripple
|
||||||
|
|||||||
Reference in New Issue
Block a user