mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
sign_for RPC command fixes (RIPD-182):
o Remove warning written to log by sign_for command. o The sign_for RPC command previously only worked in the "json sign_for" form. The command now works as a straight "sign_for". The "offline" parameter also works. o Don't autofill Fee or Paths when signing offline.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
|
||||
#include <ripple/app/misc/NetworkOPs.h>
|
||||
#include <ripple/server/Role.h>
|
||||
#include <ripple/ledger/ApplyView.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
@@ -81,7 +82,8 @@ Json::Value transactionSign (
|
||||
Role role,
|
||||
int validatedLedgerAge,
|
||||
Application& app,
|
||||
std::shared_ptr<ReadView const> ledger);
|
||||
std::shared_ptr<ReadView const> ledger,
|
||||
ApplyFlags flags = tapNONE);
|
||||
|
||||
/** Returns a Json::objectValue. */
|
||||
Json::Value transactionSubmit (
|
||||
@@ -91,7 +93,8 @@ Json::Value transactionSubmit (
|
||||
int validatedLedgerAge,
|
||||
Application& app,
|
||||
std::shared_ptr<ReadView const> ledger,
|
||||
ProcessTransactionFn const& processTransaction);
|
||||
ProcessTransactionFn const& processTransaction,
|
||||
ApplyFlags flags = tapNONE);
|
||||
|
||||
/** Returns a Json::objectValue. */
|
||||
Json::Value transactionSignFor (
|
||||
@@ -100,7 +103,8 @@ Json::Value transactionSignFor (
|
||||
Role role,
|
||||
int validatedLedgerAge,
|
||||
Application& app,
|
||||
std::shared_ptr<ReadView const> ledger);
|
||||
std::shared_ptr<ReadView const> ledger,
|
||||
ApplyFlags flags = tapNONE);
|
||||
|
||||
/** Returns a Json::objectValue. */
|
||||
Json::Value transactionSubmitMultiSigned (
|
||||
@@ -110,7 +114,8 @@ Json::Value transactionSubmitMultiSigned (
|
||||
int validatedLedgerAge,
|
||||
Application& app,
|
||||
std::shared_ptr<ReadView const> ledger,
|
||||
ProcessTransactionFn const& processTransaction);
|
||||
ProcessTransactionFn const& processTransaction,
|
||||
ApplyFlags flags = tapNONE);
|
||||
|
||||
} // RPC
|
||||
} // ripple
|
||||
|
||||
Reference in New Issue
Block a user