mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-03 16:56:48 +00:00
Reverts 259 files that carried unrelated upstream changes through the phase-6 merge: enum class removals (cppcoreguidelines-use-enum-class), scoped_lock→lock_guard conversions (modernize-use-scoped-lock), nodestore Backend API changes (void const* key), .clang-tidy config, test infrastructure deletions, and miscellaneous develop changes. These changes belong on develop, not in the telemetry PR chain. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
20 lines
452 B
C++
20 lines
452 B
C++
#include <helpers/Account.h>
|
|
|
|
#include <xrpl/protocol/KeyType.h>
|
|
#include <xrpl/protocol/PublicKey.h>
|
|
#include <xrpl/protocol/SecretKey.h>
|
|
#include <xrpl/protocol/Seed.h>
|
|
|
|
namespace xrpl::test {
|
|
|
|
Account const Account::master{"masterpassphrase"};
|
|
|
|
Account::Account(std::string_view name, KeyType type)
|
|
: name_(name)
|
|
, keyPair_(generateKeyPair(type, generateSeed(name_)))
|
|
, id_(calcAccountID(keyPair_.first))
|
|
{
|
|
}
|
|
|
|
} // namespace xrpl::test
|