|
xrpld
|
Namespaces | |
| namespace | jtx |
| namespace | detail |
| namespace | validator_data |
| namespace | csf |
Typedefs | |
| using | MessageSPtr = std::shared_ptr<Message> |
| using | LinkSPtr = std::shared_ptr<Link> |
| using | PeerSPtr = std::shared_ptr<Peer> |
| using | PeerWPtr = std::weak_ptr<Peer> |
| using | SquelchCB = std::function<void(PublicKey const&, PeerWPtr const&, std::uint32_t)> |
| using | UnsquelchCB = std::function<void(PublicKey const&, PeerWPtr const&)> |
| using | LinkIterCB = std::function<void(Link&, MessageSPtr)> |
| using | socket_type = boost::beast::tcp_stream |
| using | stream_type = boost::beast::ssl_stream<socket_type> |
| using | BaseUintDeathTest = BaseUintTest |
Enumerations | |
| enum class | InboundLedgersBehavior { Good , DropAll } |
| enum class | PeerFeature { LedgerReplayEnabled , None } |
| enum class | PeerSetBehavior { Good , DropAlternate , DropAll , DropSkipListReply , DropLedgerDeltaReply , Repeat } |
| enum class | TaskStatus { Failed , Completed , NotDone , NotExist } |
| enum class | TrustFlag { Freeze , Auth , Noripple } |
| enum class | FieldType { AccountField , BlobField , ArrayField , CurrencyField , HashField , HashOrObjectField , FixedHashField , AssetField , ObjectField , StringField , TwoAccountArrayField , UInt32Field , UInt64Field } |
| enum class | Severity |
| Severity level / threshold of a Journal message. More... | |
Functions | |
| template<class TIn, class TOut, class TDerived> | |
| static bool | equalHelper (Step const &step, xrpl::Book const &book) |
| bool | bookStepEqual (Step const &step, xrpl::Book const &book) |
| bool | directStepEqual (Step const &step, AccountID const &src, AccountID const &dst, Currency const ¤cy) |
| bool | mptEndpointStepEqual (Step const &step, AccountID const &src, AccountID const &dst, MPTID const &mptid) |
| bool | xrpEndpointStepEqual (Step const &step, AccountID const &acc) |
| BEAST_DEFINE_TESTSUITE_PRIO (AccountDelete, app, xrpl, 2) | |
| BEAST_DEFINE_TESTSUITE_PRIO (AMM, app, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE_MANUAL (AMMCalc, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (AMMClawback, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (AMMClawbackMPT, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (AMMExtended, app, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE_PRIO (AMMExtendedMPT, app, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE_PRIO (AMMMPT, app, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE (Batch, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (Credentials, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_MANUAL_PRIO (CrossingLimits, app, xrpl, 10) | |
| BEAST_DEFINE_TESTSUITE_MANUAL_PRIO (CrossingLimitsMPT, tx, xrpl, 10) | |
| BEAST_DEFINE_TESTSUITE (Delegate, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (DeliverMin, app, xrpl) | |
| static XRPAmount | reserve (jtx::Env &env, std::uint32_t count) |
| static bool | hasDepositAuth (jtx::Env const &env, jtx::Account const &acct) |
| static json::Value | ledgerEntryDepositPreauth (jtx::Env &env, jtx::Account const &acc, std::vector< jtx::deposit::AuthorizeCredentials > const &auth) |
| BEAST_DEFINE_TESTSUITE (DepositAuth, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (DepositPreauth, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (DID, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_MANUAL_PRIO (DNS, app, xrpl, 20) | |
| BEAST_DEFINE_TESTSUITE (Escrow, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (EscrowToken, app, xrpl) | |
| STTx | createFeeTx (Rules const &rules, std::uint32_t seq, FeeSettingsFields const &fields) |
| STTx | createInvalidFeeTx (Rules const &rules, std::uint32_t seq, bool missingRequiredFields=true, bool wrongFeatureFields=false, std::uint32_t uniqueValue=42) |
| bool | applyFeeAndTestResult (jtx::Env &env, OpenView &view, STTx const &tx) |
| bool | verifyFeeObject (std::shared_ptr< Ledger const > const &ledger, Rules const &rules, FeeSettingsFields const &expected) |
| std::vector< STTx > | getTxs (std::shared_ptr< SHAMap > const &txSet) |
| BEAST_DEFINE_TESTSUITE (FeeVote, app, xrpl) | |
| bool | getNoRippleFlag (jtx::Env const &env, jtx::Account const &src, jtx::Account const &dst, Currency const &cur) |
| BEAST_DEFINE_TESTSUITE_PRIO (Flow, app, xrpl, 2) | |
| BEAST_DEFINE_TESTSUITE_MANUAL_PRIO (Flow_manual, app, xrpl, 4) | |
| BEAST_DEFINE_TESTSUITE_PRIO (FlowMPT, app, xrpl, 2) | |
| bool | makeTestGRPCCall (std::unique_ptr< org::xrpl::rpc::v1::XRPLedgerAPIService::Stub > const &stub) |
| Helper function to make a simple gRPC call to test connectivity. | |
| BEAST_DEFINE_TESTSUITE (GRPCServerTLS, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (HashRouter, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (Invariants, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LedgerHistory, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LedgerMaster, app, xrpl) | |
| void | logAll (LedgerServer &server, LedgerReplayClient &client, beast::Severity level=Severity::Trace) |
| BEAST_DEFINE_TESTSUITE (LedgerReplay, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (LedgerReplayer, app, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE (LedgerReplayerTimeout, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_MANUAL (LedgerReplayerLong, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LendingHelpers, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_MANUAL (Loan, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanBroker, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanCashBasis, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanCoverFreezeAuth, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanInvariants, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanLifecycle, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanMisc, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE_MANUAL (LoanBatch, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE_MANUAL (LoanArbitrary, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanPay, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanRounding, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanSecurity, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanSet, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LoanValidation, tx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LPTokenTransfer, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (Manifest, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (MPToken, app, xrpl, 2) | |
| BEAST_DEFINE_TESTSUITE (MultiSign, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (NetworkID, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (NetworkOPs, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (OfferBaseUtil, app, xrpl, 2) | |
| BEAST_DEFINE_TESTSUITE_PRIO (OfferWOSmallQOffers, app, xrpl, 2) | |
| BEAST_DEFINE_TESTSUITE_PRIO (OfferAllFeatures, app, xrpl, 2) | |
| BEAST_DEFINE_TESTSUITE_MANUAL_PRIO (Offer_manual, app, xrpl, 20) | |
| BEAST_DEFINE_TESTSUITE_PRIO (OfferMPT, tx, xrpl, 2) | |
| BEAST_DEFINE_TESTSUITE_MANUAL_PRIO (PlumpBook, app, xrpl, 5) | |
| BEAST_DEFINE_TESTSUITE (ThinBook, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_MANUAL_PRIO (OversizeMeta, app, xrpl, 3) | |
| BEAST_DEFINE_TESTSUITE_MANUAL_PRIO (FindOversizeCross, app, xrpl, 50) | |
| json::Value | rpf (jtx::Account const &src, jtx::Account const &dst, std::uint32_t numSrc) |
| BEAST_DEFINE_TESTSUITE (Path, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (PathMPT, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (PayChan, app, xrpl) | |
| std::uint32_t | trustFlag (TrustFlag f, bool useHigh) |
| bool | getTrustFlag (jtx::Env const &env, jtx::Account const &src, jtx::Account const &dst, Currency const &cur, TrustFlag flag) |
| BEAST_DEFINE_TESTSUITE (PayStrand, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (PayStrandMPT, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (PermissionedDEX, app, xrpl) | |
| static std::string | exceptionExpected (Env &env, json::Value const &jv) |
| BEAST_DEFINE_TESTSUITE (PermissionedDomains, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (PseudoTx, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (RCLValidations, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (ReducedOffer, app, xrpl, 2) | |
| BEAST_DEFINE_TESTSUITE (Regression, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (SetAuth, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (SHAMapStore, app, xrpl) | |
| static STAmount | accountReserve (jtx::Env &env, std::uint32_t count=1) |
| static STAmount | reserve (jtx::Env &env, std::uint32_t count) |
| static void | adjustAccountXRPBalance (jtx::Env &env, jtx::Account const &account, STAmount const &balanceTo) |
| BEAST_DEFINE_TESTSUITE (Sponsor, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (SponsorTxCosigning, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (SponsorTxPrefunded, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (TheoreticalQuality, app, xrpl, 3) | |
| BEAST_DEFINE_TESTSUITE (Transaction_ordering, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (TrustSet, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (TxQPosNegFlows, app, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE_PRIO (TxQMetaInfo, app, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE (ValidatorKeys, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (ValidatorList, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (ValidatorSite, app, xrpl, 2) | |
| BEAST_DEFINE_TESTSUITE (XChain, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE (XChainSim, app, xrpl) | |
| BEAST_DEFINE_TESTSUITE_MANUAL (DetectCrash, basics, beast) | |
| BEAST_DEFINE_TESTSUITE (CurrentThreadName, beast, beast) | |
| bool | negUnlSizeTest (std::shared_ptr< Ledger const > const &l, size_t size, bool hasToDisable, bool hasToReEnable) |
| Test the size of the negative UNL in a ledger, also test if the ledger has ToDisable and/or ToReEnable. | |
| bool | applyAndTestResult (jtx::Env &env, OpenView &view, STTx const &tx, bool pass) |
| Try to apply a ttUNL_MODIFY Tx, and test the apply result. | |
| bool | verifyPubKeyAndSeq (std::shared_ptr< Ledger const > const &l, hash_map< PublicKey, std::uint32_t > nUnlLedgerSeq) |
| Verify the content of negative UNL entries (public key and ledger sequence) of a ledger. | |
| std::size_t | countTx (std::shared_ptr< SHAMap > const &txSet) |
| Count the number of Tx in a TxSet. | |
| std::vector< PublicKey > | createPublicKeys (std::size_t n) |
| Create fake public keys. | |
| STTx | createTx (bool disabling, LedgerIndex seq, PublicKey const &txKey) |
| Create ttUNL_MODIFY Tx. | |
| template<typename PreVote = decltype(gDefaultPreVote)> | |
| bool | voteAndCheck (NetworkHistory &history, NodeID const &myId, std::size_t expect, PreVote const &pre=gDefaultPreVote) |
| Create a NegativeUNLVote object. | |
| BEAST_DEFINE_TESTSUITE (NegativeUNL, consensus, xrpl) | |
| BEAST_DEFINE_TESTSUITE (NegativeUNLVoteInternal, consensus, xrpl) | |
| BEAST_DEFINE_TESTSUITE_MANUAL (NegativeUNLVoteScoreTable, consensus, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (NegativeUNLVoteGoodScore, consensus, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE (NegativeUNLVoteOffline, consensus, xrpl) | |
| BEAST_DEFINE_TESTSUITE (NegativeUNLVoteMaxListed, consensus, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (NegativeUNLVoteRetiredValidator, consensus, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE (NegativeUNLVoteNewValidator, consensus, xrpl) | |
| BEAST_DEFINE_TESTSUITE (NegativeUNLVoteFilterValidations, consensus, xrpl) | |
| BEAST_DEFINE_TESTSUITE (ClosureCounter, core, xrpl) | |
| BEAST_DEFINE_TESTSUITE (Coroutine, core, xrpl) | |
| BEAST_DEFINE_TESTSUITE (JobQueue, core, xrpl) | |
| BEAST_DEFINE_TESTSUITE (Env, jtx, xrpl) | |
| char const * | getEnvLocalhostAddr () |
| void | setupConfigForUnitTests (Config &config) |
| initializes a config object for use with jtx::Env | |
| std::unique_ptr< AbstractClient > | makeJSONRPCClient (Config const &cfg, unsigned rpcVersion=2) |
| Returns a client using JSON-RPC over HTTP/S. | |
| std::unique_ptr< WSClient > | makeWSClient (Config const &cfg, bool v2=true, unsigned rpcVersion=2, std::unordered_map< std::string, std::string > const &headers={}) |
| Returns a client operating through WebSockets/S. | |
| std::size_t | countOffers (jtx::Env &env, jtx::Account const &account, Asset const &takerPays, Asset const &takerGets) |
| Count offer. | |
| std::size_t | countOffers (jtx::Env &env, jtx::Account const &account, STAmount const &takerPays, STAmount const &takerGets) |
| bool | isOffer (jtx::Env &env, jtx::Account const &account, STAmount const &takerPays, STAmount const &takerGets) |
| An offer exists. | |
| bool | isOffer (jtx::Env &env, jtx::Account const &account, Asset const &takerPays, Asset const &takerGets) |
| An offer exists. | |
| std::shared_ptr< TrustedPublisherServer > | makeTrustedPublisherServer (boost::asio::io_context &ioc, std::vector< TrustedPublisherServer::Validator > const &validators, NetClock::time_point validUntil, std::vector< std::pair< NetClock::time_point, NetClock::time_point > > const &futures, bool useSSL=false, int version=1, bool immediateStart=true, int sequence=1) |
| BEAST_DEFINE_TESTSUITE (WSClient, jtx, xrpl) | |
| BEAST_DEFINE_TESTSUITE (BookDirs, ledger, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (Directory, ledger, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE (PaymentSandbox, ledger, xrpl) | |
| BEAST_DEFINE_TESTSUITE (PendingSaves, ledger, xrpl) | |
| BEAST_DEFINE_TESTSUITE (SkipList, ledger, xrpl) | |
| BEAST_DEFINE_TESTSUITE (View, ledger, xrpl) | |
| BEAST_DEFINE_TESTSUITE (GetAmendments, ledger, xrpl) | |
| static uint256 | ledgerHash (LedgerHeader const &info) |
| BEAST_DEFINE_TESTSUITE_MANUAL (compression, overlay, xrpl) | |
| BEAST_DEFINE_TESTSUITE (handshake, overlay, xrpl) | |
| BEAST_DEFINE_TESTSUITE (reduce_relay, overlay, xrpl) | |
| BEAST_DEFINE_TESTSUITE_MANUAL (reduce_relay_simulate, overlay, xrpl) | |
| BEAST_DEFINE_TESTSUITE (TMGetObjectByHash, overlay, xrpl) | |
| BEAST_DEFINE_TESTSUITE (traffic_count, overlay, xrpl) | |
| BEAST_DEFINE_TESTSUITE (tx_reduce_relay, overlay, xrpl) | |
| BEAST_DEFINE_TESTSUITE (MultiApiJson, protocol, xrpl) | |
| BEAST_DEFINE_TESTSUITE (STIssue, protocol, xrpl) | |
| BEAST_DEFINE_TESTSUITE (AccountInfo, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (AccountObjects, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (AccountOffers, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (AccountTx, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (AMMInfo, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE_PRIO (Book, rpc, xrpl, 1) | |
| BEAST_DEFINE_TESTSUITE (BookChanges, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (DeliveredAmount, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (DepositAuthorized, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (GatewayBalances, rpc, xrpl) | |
| std::ostream & | operator<< (std::ostream &os, std::chrono::nanoseconds ns) |
| BEAST_DEFINE_TESTSUITE_MANUAL (Handler, rpc, xrpl) | |
| FieldType | getFieldType (json::StaticString fieldName) |
| std::string | getTypeName (FieldType typeID) |
| BEAST_DEFINE_TESTSUITE (LedgerEntry, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LedgerEntry_XChain, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (LedgerRPC, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (ManifestRPC, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (NoRipple, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (RobustTransaction, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (Roles, rpc, xrpl) | |
| std::string | updateAPIVersionString (char const *const req, unsigned apiVersion) |
| std::unique_ptr< Config > | makeNetworkConfig (uint32_t networkID) |
| BEAST_DEFINE_TESTSUITE (RPCCall, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (RPCHelpers, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (RPCOverload, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (ServerDefinitions, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (ServerInfo, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (Simulate, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (Submit, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (Subscribe, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (ValidatorInfo, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (ValidatorRPC, rpc, xrpl) | |
| BEAST_DEFINE_TESTSUITE (Server, server, xrpl) | |
| BEAST_DEFINE_TESTSUITE (ServerStatus, server, xrpl) | |
| bool | equal (SecretKey const &lhs, SecretKey const &rhs) |
| Compare two SecretKey objects for equality. | |
| TEST_F (BaseUintDeathTest, fromRaw_size_mismatch) | |
| TEST_F (BaseUintTest, base_uint) | |
| TEST_F (BufferTest, default_constructed_is_empty) | |
| TEST_F (BufferTest, zero_sized_construction_is_empty) | |
| TEST_F (BufferTest, alloc_grows_an_empty_buffer) | |
| TEST_F (BufferTest, sized_construction_reserves_without_filling) | |
| TEST_F (BufferTest, construction_copies_raw_memory) | |
| TEST_F (BufferTest, equality_compares_contents) | |
| TEST_F (BufferTest, copy_construction) | |
| TEST_F (BufferTest, copy_assignment) | |
| TEST_F (BufferTest, self_assignment_preserves_contents) | |
| TEST_F (BufferTest, move_construct_from_empty) | |
| TEST_F (BufferTest, move_construct_from_non_empty) | |
| TEST_F (BufferTest, move_assign_empty_to_empty) | |
| TEST_F (BufferTest, move_assign_non_empty_to_empty) | |
| TEST_F (BufferTest, move_assign_empty_to_non_empty) | |
| TEST_F (BufferTest, move_assign_non_empty_to_non_empty) | |
| TEST_F (BufferTest, construction_from_slice) | |
| TEST_F (BufferTest, assignment_from_slice) | |
| TEST_F (BufferTest, resize_allocates_and_clear_releases) | |
| TEST_F (BufferTest, fill_sets_every_byte) | |
| TEST_F (BufferTest, fill_overwrites_and_keeps_size) | |
| TEST_F (BufferTest, fill_on_empty_buffer_is_a_noop) | |
| TEST_F (JoinTest, join) | |
| TEST (UnitsTest, types) | |
| TEST (UnitsTest, json) | |
| TEST (UnitsTest, functions) | |
| TEST (UnitsTest, initial_xrp) | |
| TEST (ByzantineFailureSimTest, DISABLED_byzantine_failure_sim) | |
| TEST (CensorshipDetectorTest, censorship_detector) | |
| TEST (ConsensusTest, should_close_ledger) | |
| TEST (ConsensusTest, check_consensus) | |
| TEST (ConsensusTest, standalone) | |
| TEST (ConsensusTest, peers_agree) | |
| TEST (ConsensusTest, slow_peers) | |
| TEST (ConsensusTest, close_time_disagree) | |
| TEST (ConsensusTest, wrong_lcl) | |
| TEST (ConsensusTest, consensus_close_time_rounding) | |
| TEST (ConsensusTest, fork) | |
| TEST (ConsensusTest, hub_network) | |
| TEST (ConsensusTest, preferred_by_branch) | |
| TEST (ConsensusTest, pause_for_laggards) | |
| TEST (ConsensusTest, disputes) | |
| TEST (DistributedValidatorsTest, DISABLED_distributed_validators) | |
| TEST (LedgerTimingTest, get_next_ledger_time_resolution) | |
| TEST (LedgerTimingTest, round_close_time) | |
| TEST (LedgerTimingTest, eff_close_time) | |
| TEST (LedgerTrieTest, insert) | |
| TEST (LedgerTrieTest, remove) | |
| TEST (LedgerTrieTest, empty) | |
| TEST (LedgerTrieTest, support) | |
| TEST (LedgerTrieTest, get_preferred) | |
| TEST (LedgerTrieTest, root_related) | |
| TEST (LedgerTrieTest, stress) | |
| TEST (ScaleFreeSimTest, DISABLED_scale_free_sim) | |
| TEST (BasicNetworkTest, network) | |
| TEST (BasicNetworkTest, disconnect) | |
| TEST (DigraphTest, digraph) | |
| TEST (HistogramTest, histogram) | |
| TEST (SchedulerTest, scheduler) | |
| FeatureBitset | allFeatures () |
| Returns all testable amendments. | |
| template<std::floating_point T> | |
| XRPAmount | XRP (T xrp) |
| Convert XRP to drops (floating point types). | |
| XRPAmount | XRP (Number const &xrp) |
| Convert XRP to drops (Number type). | |
| constexpr std::uint32_t | asfToLsf (std::uint32_t asf) |
| Convert AccountSet flag (asf) to LedgerState flag (lsf). | |
| TEST (AccountSet, NullAccountSet) | |
| TEST (AccountSet, MostFlags) | |
| TEST (AccountSet, SetAndResetAccountTxnID) | |
| TEST (AccountSet, SetNoFreeze) | |
| TEST (AccountSet, Domain) | |
| TEST (AccountSet, MessageKey) | |
| TEST (AccountSet, WalletID) | |
| TEST (AccountSet, EmailHash) | |
| TEST (AccountSet, TransferRate) | |
| TEST (AccountSet, BadInputs) | |
| TEST (AccountSet, RequireAuthWithDir) | |
| TEST (AccountSet, Ticket) | |
| TEST (AccountSet, BadSigningKey) | |
| TEST (AccountSet, Gateway) | |
Variables | |
| auto | gDefaultPreVote = [](NegativeUNLVote& vote) {} |
| std::atomic< bool > | gEnvUseIPv4 {false} |
| static constexpr std::uint32_t | kMaxPeers = 10 |
| static constexpr std::uint32_t | kMaxValidators = 10 |
| static constexpr std::uint32_t | kMaxMessages = 200000 |
| static char const * | gBobAccountObjects [] |
| std::vector< std::pair< json::StaticString, FieldType > > | gMappings |
| static RPCCallTestData const | kRpcCallTestArray [] |
| template<std::integral T> | |
| constexpr | XRPAmount |
| Convert XRP to drops (integral types). | |
Definition at line 55 of file reduce_relay_test.cpp.
| using xrpl::test::LinkSPtr = std::shared_ptr<Link> |
Definition at line 56 of file reduce_relay_test.cpp.
| using xrpl::test::PeerSPtr = std::shared_ptr<Peer> |
Definition at line 57 of file reduce_relay_test.cpp.
| using xrpl::test::PeerWPtr = std::weak_ptr<Peer> |
Definition at line 58 of file reduce_relay_test.cpp.
| using xrpl::test::SquelchCB = std::function<void(PublicKey const&, PeerWPtr const&, std::uint32_t)> |
Definition at line 59 of file reduce_relay_test.cpp.
| using xrpl::test::UnsquelchCB = std::function<void(PublicKey const&, PeerWPtr const&)> |
Definition at line 60 of file reduce_relay_test.cpp.
| using xrpl::test::LinkIterCB = std::function<void(Link&, MessageSPtr)> |
Definition at line 61 of file reduce_relay_test.cpp.
| using xrpl::test::socket_type = boost::beast::tcp_stream |
Definition at line 43 of file Server_test.cpp.
| using xrpl::test::stream_type = boost::beast::ssl_stream<socket_type> |
Definition at line 44 of file Server_test.cpp.
Definition at line 129 of file base_uint.cpp.
|
strong |
| Enumerator | |
|---|---|
| Good | |
| DropAll | |
Definition at line 143 of file LedgerReplay_test.cpp.
|
strong |
| Enumerator | |
|---|---|
| LedgerReplayEnabled | |
| None | |
Definition at line 262 of file LedgerReplay_test.cpp.
|
strong |
| Enumerator | |
|---|---|
| Good | |
| DropAlternate | |
| DropAll | |
| DropSkipListReply | |
| DropLedgerDeltaReply | |
| Repeat | |
Definition at line 403 of file LedgerReplay_test.cpp.
|
strong |
| Enumerator | |
|---|---|
| Failed | |
| Completed | |
| NotDone | |
| NotExist | |
Definition at line 635 of file LedgerReplay_test.cpp.
|
strong |
| Enumerator | |
|---|---|
| Freeze | |
| Auth | |
| Noripple | |
Definition at line 53 of file PayStrand_test.cpp.
|
strong |
| Enumerator | |
|---|---|
| AccountField | |
| BlobField | |
| ArrayField | |
| CurrencyField | |
| HashField | |
| HashOrObjectField | |
| FixedHashField | |
| AssetField | |
| ObjectField | |
| StringField | |
| TwoAccountArrayField | |
| UInt32Field | |
| UInt64Field | |
Definition at line 69 of file LedgerEntry_test.cpp.
|
strong |
|
static |
Definition at line 1558 of file BookStep.cpp.
| bool xrpl::test::bookStepEqual | ( | Step const & | step, |
| xrpl::Book const & | book ) |
Definition at line 1566 of file BookStep.cpp.
| bool xrpl::test::directStepEqual | ( | Step const & | step, |
| AccountID const & | src, | ||
| AccountID const & | dst, | ||
| Currency const & | currency ) |
Definition at line 906 of file DirectStep.cpp.
| bool xrpl::test::mptEndpointStepEqual | ( | Step const & | step, |
| AccountID const & | src, | ||
| AccountID const & | dst, | ||
| MPTID const & | mptid ) |
Definition at line 940 of file MPTEndpointStep.cpp.
Definition at line 381 of file XRPEndpointStep.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | AccountDelete | , |
| app | , | ||
| xrpl | , | ||
| 2 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL | ( | AMMCalc | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | AMMClawback | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | AMMClawbackMPT | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | AMMExtended | , |
| app | , | ||
| xrpl | , | ||
| 1 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | AMMExtendedMPT | , |
| app | , | ||
| xrpl | , | ||
| 1 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | AMMMPT | , |
| app | , | ||
| xrpl | , | ||
| 1 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | Credentials | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL_PRIO | ( | CrossingLimits | , |
| app | , | ||
| xrpl | , | ||
| 10 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL_PRIO | ( | CrossingLimitsMPT | , |
| tx | , | ||
| xrpl | , | ||
| 10 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | Delegate | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | DeliverMin | , |
| app | , | ||
| xrpl | ) |
|
static |
Definition at line 54 of file DepositAuth_test.cpp.
|
static |
Definition at line 61 of file DepositAuth_test.cpp.
|
static |
Definition at line 367 of file DepositAuth_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | DepositAuth | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | DepositPreauth | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | DID | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL_PRIO | ( | DNS | , |
| app | , | ||
| xrpl | , | ||
| 20 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | Escrow | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | EscrowToken | , |
| app | , | ||
| xrpl | ) |
| STTx xrpl::test::createFeeTx | ( | Rules const & | rules, |
| std::uint32_t | seq, | ||
| FeeSettingsFields const & | fields ) |
Definition at line 51 of file FeeVote_test.cpp.
| STTx xrpl::test::createInvalidFeeTx | ( | Rules const & | rules, |
| std::uint32_t | seq, | ||
| bool | missingRequiredFields = true, | ||
| bool | wrongFeatureFields = false, | ||
| std::uint32_t | uniqueValue = 42 ) |
Definition at line 84 of file FeeVote_test.cpp.
Definition at line 135 of file FeeVote_test.cpp.
| bool xrpl::test::verifyFeeObject | ( | std::shared_ptr< Ledger const > const & | ledger, |
| Rules const & | rules, | ||
| FeeSettingsFields const & | expected ) |
Definition at line 142 of file FeeVote_test.cpp.
| std::vector< STTx > xrpl::test::getTxs | ( | std::shared_ptr< SHAMap > const & | txSet | ) |
Definition at line 194 of file FeeVote_test.cpp.
| bool xrpl::test::getNoRippleFlag | ( | jtx::Env const & | env, |
| jtx::Account const & | src, | ||
| jtx::Account const & | dst, | ||
| Currency const & | cur ) |
Definition at line 55 of file Flow_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | Flow | , |
| app | , | ||
| xrpl | , | ||
| 2 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL_PRIO | ( | Flow_manual | , |
| app | , | ||
| xrpl | , | ||
| 4 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | FlowMPT | , |
| app | , | ||
| xrpl | , | ||
| 2 | ) |
| bool xrpl::test::makeTestGRPCCall | ( | std::unique_ptr< org::xrpl::rpc::v1::XRPLedgerAPIService::Stub > const & | stub | ) |
Helper function to make a simple gRPC call to test connectivity.
Returns true if the call succeeded, false otherwise.
Definition at line 340 of file GRPCServerTLS_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | GRPCServerTLS | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | HashRouter | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | Invariants | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LedgerHistory | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LedgerMaster | , |
| app | , | ||
| xrpl | ) |
| void xrpl::test::logAll | ( | LedgerServer & | server, |
| LedgerReplayClient & | client, | ||
| beast::Severity | level = Severity::Trace ) |
Definition at line 892 of file LedgerReplay_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LedgerReplay | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | LedgerReplayer | , |
| app | , | ||
| xrpl | , | ||
| 1 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LedgerReplayerTimeout | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL | ( | LedgerReplayerLong | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LendingHelpers | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL | ( | Loan | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LoanBroker | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LoanCashBasis | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LoanCoverFreezeAuth | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LoanInvariants | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LoanLifecycle | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LoanMisc | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL | ( | LoanBatch | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL | ( | LoanArbitrary | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LoanRounding | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LoanSecurity | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LoanValidation | , |
| tx | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LPTokenTransfer | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | MPToken | , |
| app | , | ||
| xrpl | , | ||
| 2 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | MultiSign | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | NetworkID | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | NetworkOPs | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | OfferBaseUtil | , |
| app | , | ||
| xrpl | , | ||
| 2 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | OfferWOSmallQOffers | , |
| app | , | ||
| xrpl | , | ||
| 2 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | OfferAllFeatures | , |
| app | , | ||
| xrpl | , | ||
| 2 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL_PRIO | ( | Offer_manual | , |
| app | , | ||
| xrpl | , | ||
| 20 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | OfferMPT | , |
| tx | , | ||
| xrpl | , | ||
| 2 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL_PRIO | ( | PlumpBook | , |
| app | , | ||
| xrpl | , | ||
| 5 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | ThinBook | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL_PRIO | ( | OversizeMeta | , |
| app | , | ||
| xrpl | , | ||
| 3 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL_PRIO | ( | FindOversizeCross | , |
| app | , | ||
| xrpl | , | ||
| 50 | ) |
| json::Value xrpl::test::rpf | ( | jtx::Account const & | src, |
| jtx::Account const & | dst, | ||
| std::uint32_t | numSrc ) |
Definition at line 65 of file Path_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | PathMPT | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | PayChan | , |
| app | , | ||
| xrpl | ) |
| std::uint32_t xrpl::test::trustFlag | ( | TrustFlag | f, |
| bool | useHigh ) |
Definition at line 56 of file PayStrand_test.cpp.
| bool xrpl::test::getTrustFlag | ( | jtx::Env const & | env, |
| jtx::Account const & | src, | ||
| jtx::Account const & | dst, | ||
| Currency const & | cur, | ||
| TrustFlag | flag ) |
Definition at line 77 of file PayStrand_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | PayStrand | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | PayStrandMPT | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | PermissionedDEX | , |
| app | , | ||
| xrpl | ) |
|
static |
Definition at line 41 of file PermissionedDomains_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | PermissionedDomains | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | PseudoTx | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | RCLValidations | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | ReducedOffer | , |
| app | , | ||
| xrpl | , | ||
| 2 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | Regression | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | SetAuth | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | SHAMapStore | , |
| app | , | ||
| xrpl | ) |
|
static |
Definition at line 73 of file Sponsor_test.cpp.
|
static |
Definition at line 79 of file Sponsor_test.cpp.
|
static |
Definition at line 85 of file Sponsor_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | Sponsor | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | SponsorTxCosigning | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | SponsorTxPrefunded | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | TheoreticalQuality | , |
| app | , | ||
| xrpl | , | ||
| 3 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | Transaction_ordering | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | TxQPosNegFlows | , |
| app | , | ||
| xrpl | , | ||
| 1 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | TxQMetaInfo | , |
| app | , | ||
| xrpl | , | ||
| 1 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | ValidatorKeys | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | ValidatorList | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | ValidatorSite | , |
| app | , | ||
| xrpl | , | ||
| 2 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | XChain | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | XChainSim | , |
| app | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL | ( | DetectCrash | , |
| basics | , | ||
| beast | ) |
| bool xrpl::test::negUnlSizeTest | ( | std::shared_ptr< Ledger const > const & | l, |
| size_t | size, | ||
| bool | hasToDisable, | ||
| bool | hasToReEnable ) |
Test the size of the negative UNL in a ledger, also test if the ledger has ToDisable and/or ToReEnable.
| l | the ledger |
| size | the expected negative UNL size |
| hasToDisable | if expect ToDisable in ledger |
| hasToReEnable | if expect ToDisable in ledger |
Definition at line 1889 of file NegativeUNL_test.cpp.
Try to apply a ttUNL_MODIFY Tx, and test the apply result.
| env | the test environment |
| view | the OpenView of the ledger |
| tx | the ttUNL_MODIFY Tx |
| pass | if the Tx should be applied successfully |
Definition at line 1903 of file NegativeUNL_test.cpp.
| bool xrpl::test::verifyPubKeyAndSeq | ( | std::shared_ptr< Ledger const > const & | l, |
| hash_map< PublicKey, std::uint32_t > | nUnlLedgerSeq ) |
Verify the content of negative UNL entries (public key and ledger sequence) of a ledger.
| l | the ledger |
| nUnlLedgerSeq | the expected PublicKeys and ledger Sequences |
Definition at line 1915 of file NegativeUNL_test.cpp.
| std::size_t xrpl::test::countTx | ( | std::shared_ptr< SHAMap > const & | txSet | ) |
Count the number of Tx in a TxSet.
| txSet | the TxSet |
Definition at line 1951 of file NegativeUNL_test.cpp.
| std::vector< PublicKey > xrpl::test::createPublicKeys | ( | std::size_t | n | ) |
Create fake public keys.
| n | the number of public keys |
Definition at line 1962 of file NegativeUNL_test.cpp.
| STTx xrpl::test::createTx | ( | bool | disabling, |
| LedgerIndex | seq, | ||
| PublicKey const & | txKey ) |
Create ttUNL_MODIFY Tx.
| disabling | disabling or re-enabling a validator |
| seq | current ledger seq |
| txKey | the public key of the validator |
Definition at line 1978 of file NegativeUNL_test.cpp.
| bool xrpl::test::voteAndCheck | ( | NetworkHistory & | history, |
| NodeID const & | myId, | ||
| std::size_t | expect, | ||
| PreVote const & | pre = gDefaultPreVote ) |
Create a NegativeUNLVote object.
It then creates ttUNL_MODIFY Tx as its vote on negative UNL changes.
| PreVote | a function to be called before vote |
| history | the ledger history |
| myId | the voting validator |
| expect | the number of ttUNL_MODIFY Tx expected |
| pre | the PreVote function |
Definition at line 707 of file NegativeUNL_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | NegativeUNL | , |
| consensus | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | NegativeUNLVoteInternal | , |
| consensus | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL | ( | NegativeUNLVoteScoreTable | , |
| consensus | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | NegativeUNLVoteGoodScore | , |
| consensus | , | ||
| xrpl | , | ||
| 1 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | NegativeUNLVoteOffline | , |
| consensus | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | NegativeUNLVoteMaxListed | , |
| consensus | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_PRIO | ( | NegativeUNLVoteRetiredValidator | , |
| consensus | , | ||
| xrpl | , | ||
| 1 | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | NegativeUNLVoteNewValidator | , |
| consensus | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | NegativeUNLVoteFilterValidations | , |
| consensus | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | ClosureCounter | , |
| core | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | Coroutine | , |
| core | , | ||
| xrpl | ) |
| char const * xrpl::test::getEnvLocalhostAddr | ( | ) |
Definition at line 15 of file envconfig.h.
|
extern |
initializes a config object for use with jtx::Env
| config | the configuration object to be initialized |
Definition at line 19 of file envconfig.cpp.
| std::unique_ptr< AbstractClient > xrpl::test::makeJSONRPCClient | ( | Config const & | cfg, |
| unsigned | rpcVersion ) |
Returns a client using JSON-RPC over HTTP/S.
Definition at line 233 of file JSONRPCClient.cpp.
| std::unique_ptr< WSClient > xrpl::test::makeWSClient | ( | Config const & | cfg, |
| bool | v2, | ||
| unsigned | rpcVersion, | ||
| std::unordered_map< std::string, std::string > const & | headers ) |
Returns a client operating through WebSockets/S.
Definition at line 371 of file WSClient.cpp.
| std::size_t xrpl::test::countOffers | ( | jtx::Env & | env, |
| jtx::Account const & | account, | ||
| Asset const & | takerPays, | ||
| Asset const & | takerGets ) |
| std::size_t xrpl::test::countOffers | ( | jtx::Env & | env, |
| jtx::Account const & | account, | ||
| STAmount const & | takerPays, | ||
| STAmount const & | takerGets ) |
| bool xrpl::test::isOffer | ( | jtx::Env & | env, |
| jtx::Account const & | account, | ||
| STAmount const & | takerPays, | ||
| STAmount const & | takerGets ) |
| bool xrpl::test::isOffer | ( | jtx::Env & | env, |
| jtx::Account const & | account, | ||
| Asset const & | takerPays, | ||
| Asset const & | takerGets ) |
| std::shared_ptr< TrustedPublisherServer > xrpl::test::makeTrustedPublisherServer | ( | boost::asio::io_context & | ioc, |
| std::vector< TrustedPublisherServer::Validator > const & | validators, | ||
| NetClock::time_point | validUntil, | ||
| std::vector< std::pair< NetClock::time_point, NetClock::time_point > > const & | futures, | ||
| bool | useSSL = false, | ||
| int | version = 1, | ||
| bool | immediateStart = true, | ||
| int | sequence = 1 ) |
Definition at line 702 of file TrustedPublisherServer.h.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | PaymentSandbox | , |
| ledger | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | PendingSaves | , |
| ledger | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | SkipList | , |
| ledger | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | View | , |
| ledger | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | GetAmendments | , |
| ledger | , | ||
| xrpl | ) |
|
static |
Definition at line 59 of file compression_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL | ( | compression | , |
| overlay | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | handshake | , |
| overlay | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | reduce_relay | , |
| overlay | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE_MANUAL | ( | reduce_relay_simulate | , |
| overlay | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | TMGetObjectByHash | , |
| overlay | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | traffic_count | , |
| overlay | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | tx_reduce_relay | , |
| overlay | , | ||
| xrpl | ) |
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | MultiApiJson | , |
| protocol | , | ||
| xrpl | ) |
| std::ostream & xrpl::test::operator<< | ( | std::ostream & | os, |
| std::chrono::nanoseconds | ns ) |
Definition at line 26 of file Handler_test.cpp.
| FieldType xrpl::test::getFieldType | ( | json::StaticString | fieldName | ) |
Definition at line 105 of file LedgerEntry_test.cpp.
| std::string xrpl::test::getTypeName | ( | FieldType | typeID | ) |
Definition at line 118 of file LedgerEntry_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | LedgerEntry | , |
| rpc | , | ||
| xrpl | ) |
| std::string xrpl::test::updateAPIVersionString | ( | char const *const | req, |
| unsigned | apiVersion ) |
Definition at line 5831 of file RPCCall_test.cpp.
| std::unique_ptr< Config > xrpl::test::makeNetworkConfig | ( | uint32_t | networkID | ) |
Definition at line 5841 of file RPCCall_test.cpp.
| xrpl::test::BEAST_DEFINE_TESTSUITE | ( | ServerStatus | , |
| server | , | ||
| xrpl | ) |
| bool xrpl::test::equal | ( | SecretKey const & | lhs, |
| SecretKey const & | rhs ) |
Compare two SecretKey objects for equality.
SecretKey::operator== is deleted, so a named function is used to avoid member-function lookup shadowing free-function overloads.
Definition at line 15 of file src/test/unit_test/utils.h.
| xrpl::test::TEST_F | ( | BaseUintDeathTest | , |
| fromRaw_size_mismatch | ) |
Definition at line 131 of file base_uint.cpp.
| xrpl::test::TEST_F | ( | BaseUintTest | , |
| base_uint | ) |
Definition at line 196 of file base_uint.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| default_constructed_is_empty | ) |
Definition at line 62 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| zero_sized_construction_is_empty | ) |
Definition at line 71 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| alloc_grows_an_empty_buffer | ) |
Definition at line 79 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| sized_construction_reserves_without_filling | ) |
Definition at line 90 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| construction_copies_raw_memory | ) |
Definition at line 102 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| equality_compares_contents | ) |
Definition at line 112 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| copy_construction | ) |
Definition at line 124 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| copy_assignment | ) |
Definition at line 135 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| self_assignment_preserves_contents | ) |
Definition at line 155 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| move_construct_from_empty | ) |
Definition at line 177 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| move_construct_from_non_empty | ) |
Definition at line 187 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| move_assign_empty_to_empty | ) |
Definition at line 197 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| move_assign_non_empty_to_empty | ) |
Definition at line 209 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| move_assign_empty_to_non_empty | ) |
Definition at line 221 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| move_assign_non_empty_to_non_empty | ) |
Definition at line 233 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| construction_from_slice | ) |
Definition at line 250 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| assignment_from_slice | ) |
Definition at line 261 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| resize_allocates_and_clear_releases | ) |
Definition at line 286 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| fill_sets_every_byte | ) |
Definition at line 323 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| fill_overwrites_and_keeps_size | ) |
Definition at line 333 of file Buffer.cpp.
| xrpl::test::TEST_F | ( | BufferTest | , |
| fill_on_empty_buffer_is_a_noop | ) |
Definition at line 344 of file Buffer.cpp.
| xrpl::test::TEST | ( | ByzantineFailureSimTest | , |
| DISABLED_byzantine_failure_sim | ) |
Definition at line 17 of file ByzantineFailureSim.cpp.
| xrpl::test::TEST | ( | CensorshipDetectorTest | , |
| censorship_detector | ) |
Definition at line 53 of file CensorshipDetector.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| should_close_ledger | ) |
Definition at line 193 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| check_consensus | ) |
Definition at line 222 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| standalone | ) |
Definition at line 291 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| peers_agree | ) |
Definition at line 315 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| slow_peers | ) |
Definition at line 352 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| close_time_disagree | ) |
Definition at line 507 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| wrong_lcl | ) |
Definition at line 572 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| consensus_close_time_rounding | ) |
Definition at line 743 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| fork | ) |
Definition at line 842 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| hub_network | ) |
Definition at line 898 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| preferred_by_branch | ) |
Definition at line 932 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| pause_for_laggards | ) |
Definition at line 1037 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | ConsensusTest | , |
| disputes | ) |
Definition at line 1115 of file tests/libxrpl/consensus/Consensus.cpp.
| xrpl::test::TEST | ( | DistributedValidatorsTest | , |
| DISABLED_distributed_validators | ) |
Definition at line 216 of file DistributedValidatorsSim.cpp.
| xrpl::test::TEST | ( | LedgerTimingTest | , |
| get_next_ledger_time_resolution | ) |
Definition at line 13 of file LedgerTiming.cpp.
| xrpl::test::TEST | ( | LedgerTimingTest | , |
| round_close_time | ) |
Definition at line 66 of file LedgerTiming.cpp.
| xrpl::test::TEST | ( | LedgerTimingTest | , |
| eff_close_time | ) |
Definition at line 85 of file LedgerTiming.cpp.
| xrpl::test::TEST | ( | LedgerTrieTest | , |
| insert | ) |
Definition at line 12 of file LedgerTrie.cpp.
| xrpl::test::TEST | ( | LedgerTrieTest | , |
| remove | ) |
Definition at line 138 of file LedgerTrie.cpp.
| xrpl::test::TEST | ( | LedgerTrieTest | , |
| empty | ) |
Definition at line 269 of file LedgerTrie.cpp.
| xrpl::test::TEST | ( | LedgerTrieTest | , |
| support | ) |
Definition at line 288 of file LedgerTrie.cpp.
| xrpl::test::TEST | ( | LedgerTrieTest | , |
| get_preferred | ) |
Build the tree below with initial tip support annotated A / \ B(1) C(1) / | | H D F(1) | E(2) | G
One of E advancing to G doesn't change anything A / \ B(1) C(1) / | | H D F(1) | E(1) | G(1)
C advancing to H does advance the seq 3 preferred ledger A / \ B(1) C / | | H(1)D F(1) | E(1) | G(1)
F advancing to E also moves the preferred ledger forward A / \ B(1) C / | | H(1)D F | E(2) | G(1)
Definition at line 334 of file LedgerTrie.cpp.
| xrpl::test::TEST | ( | LedgerTrieTest | , |
| root_related | ) |
Definition at line 615 of file LedgerTrie.cpp.
| xrpl::test::TEST | ( | LedgerTrieTest | , |
| stress | ) |
Definition at line 643 of file LedgerTrie.cpp.
| xrpl::test::TEST | ( | ScaleFreeSimTest | , |
| DISABLED_scale_free_sim | ) |
Definition at line 19 of file ScaleFreeSim.cpp.
| xrpl::test::TEST | ( | BasicNetworkTest | , |
| network | ) |
Definition at line 64 of file BasicNetwork.cpp.
| xrpl::test::TEST | ( | BasicNetworkTest | , |
| disconnect | ) |
Definition at line 100 of file BasicNetwork.cpp.
| xrpl::test::TEST | ( | DigraphTest | , |
| digraph | ) |
Definition at line 12 of file Digraph.cpp.
| xrpl::test::TEST | ( | HistogramTest | , |
| histogram | ) |
Definition at line 7 of file Histogram.cpp.
| xrpl::test::TEST | ( | SchedulerTest | , |
| scheduler | ) |
Definition at line 9 of file Scheduler.cpp.
| FeatureBitset xrpl::test::allFeatures | ( | ) |
Returns all testable amendments.
Definition at line 42 of file TxTest.cpp.
| XRPAmount xrpl::test::XRP | ( | T | xrp | ) |
| XRPAmount xrpl::test::XRP | ( | Number const & | xrp | ) |
|
constexpr |
Convert AccountSet flag (asf) to LedgerState flag (lsf).
| asf | The AccountSet flag value. |
| std::runtime_error | if the flag is not supported. |
Supported flags: asfRequireDest, asfRequireAuth, asfDisallowXRP, asfDisableMaster, asfNoFreeze, asfGlobalFreeze, asfDefaultRipple, asfDepositAuth, asfAllowTrustLineClawback, asfDisallowIncomingCheck, asfDisallowIncomingNFTokenOffer, asfDisallowIncomingPayChan, asfDisallowIncomingTrustline, asfAllowTrustLineLocking
| xrpl::test::TEST | ( | AccountSet | , |
| NullAccountSet | ) |
Definition at line 46 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| MostFlags | ) |
Definition at line 63 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| SetAndResetAccountTxnID | ) |
Definition at line 178 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| SetNoFreeze | ) |
Definition at line 209 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| Domain | ) |
Definition at line 252 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| MessageKey | ) |
Definition at line 320 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| WalletID | ) |
Definition at line 361 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| EmailHash | ) |
Definition at line 394 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| TransferRate | ) |
Definition at line 425 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| BadInputs | ) |
Definition at line 476 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| RequireAuthWithDir | ) |
Definition at line 556 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| Ticket | ) |
Definition at line 604 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| BadSigningKey | ) |
Definition at line 663 of file tests/libxrpl/tx/AccountSet.cpp.
| xrpl::test::TEST | ( | AccountSet | , |
| Gateway | ) |
Definition at line 687 of file tests/libxrpl/tx/AccountSet.cpp.
| auto xrpl::test::gDefaultPreVote = [](NegativeUNLVote& vote) {} |
Definition at line 693 of file NegativeUNL_test.cpp.
| std::atomic< bool > xrpl::test::gEnvUseIPv4 {false} |
Definition at line 16 of file envconfig.cpp.
|
staticconstexpr |
Definition at line 63 of file reduce_relay_test.cpp.
|
staticconstexpr |
Definition at line 64 of file reduce_relay_test.cpp.
|
staticconstexpr |
Definition at line 65 of file reduce_relay_test.cpp.
|
static |
Definition at line 46 of file AccountObjects_test.cpp.
| std::vector<std::pair<json::StaticString, FieldType> > xrpl::test::gMappings |
Definition at line 85 of file LedgerEntry_test.cpp.
|
static |
Definition at line 68 of file RPCCall_test.cpp.
|
constexpr |
Convert XRP to drops (integral types).
| xrp | The amount in XRP. |