mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Add RPC "simulate" to execute a dry run of a transaction (#5069)
- Spec: https://github.com/XRPLF/XRPL-Standards/tree/master/XLS-0069d-simulate - Also update signing methods to autofill fees better and properly handle transactions that require a non-standard fee.
This commit is contained in:
@@ -151,7 +151,10 @@ enum error_code_i {
|
||||
// deposit_authorized + credentials
|
||||
rpcBAD_CREDENTIALS = 95,
|
||||
|
||||
rpcLAST = rpcBAD_CREDENTIALS // rpcLAST should always equal the last code.
|
||||
// Simulate
|
||||
rpcTX_SIGNED = 96,
|
||||
|
||||
rpcLAST = rpcTX_SIGNED // rpcLAST should always equal the last code.
|
||||
};
|
||||
|
||||
/** Codes returned in the `warnings` array of certain RPC commands.
|
||||
|
||||
Reference in New Issue
Block a user