mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add unit tests for wallet keypair generation:
* Allow `passphrase` to be a seed encoded in any of three formats or a
literal passphrase.
* Recognize the absence of `passphrase` as requesting a random seed.
Extract walletPropose() and keypairForSignature() as separately factored
functions (from doWalletPropose() and transactionSign() respectively) to
facilitate unit testing.
This commit is contained in:
committed by
Tom Ritchford
parent
3ec88b3665
commit
436ded68b7
@@ -99,6 +99,7 @@
|
||||
#include <ripple/rpc/impl/Accounts.cpp>
|
||||
#include <ripple/rpc/impl/GetMasterGenerator.cpp>
|
||||
#include <ripple/rpc/impl/Handler.cpp>
|
||||
#include <ripple/rpc/impl/KeypairForSignature.cpp>
|
||||
#include <ripple/rpc/impl/LegacyPathFind.cpp>
|
||||
#include <ripple/rpc/impl/LookupLedger.cpp>
|
||||
#include <ripple/rpc/impl/ParseAccountIds.cpp>
|
||||
@@ -109,6 +110,7 @@
|
||||
#include <ripple/rpc/tests/JsonObject.test.cpp>
|
||||
#include <ripple/rpc/tests/JSONRPC.test.cpp>
|
||||
#include <ripple/rpc/tests/JsonWriter.test.cpp>
|
||||
#include <ripple/rpc/tests/KeyGeneration.test.cpp>
|
||||
#include <ripple/rpc/tests/Status.test.cpp>
|
||||
#include <ripple/rpc/tests/WriteJson.test.cpp>
|
||||
#include <ripple/rpc/tests/Yield.test.cpp>
|
||||
|
||||
Reference in New Issue
Block a user