Commit Graph

  • 5100eadf12 Fix undefined behavior Howard Hinnant 2014-12-23 16:12:56 -05:00
  • 07737c6e5b Add 'delivered_amount' to Transaction JSON (RIPD-643): Nik Bougalis 2014-12-30 16:55:54 -08:00
  • 1d6721d345 Reduce Beast dependencies by leveraging C++11 features: Nik Bougalis 2014-12-22 02:45:36 -08:00
  • 98d5eefc86 Pathfinding bugfixes (RIPD-735): * Fix specifying paths and search level for ripple_path_find * Don't modify the pathfinder, it has issuer-neutral paths. * Handle previous paths correctly * Compare paths correctly JoelKatz 2014-12-23 14:39:30 -08:00
  • 4f2d93bb65 Avoid processing transactions if we need a network ledger JoelKatz 2014-12-23 09:56:14 -08:00
  • a5df3f1747 Support a "no_server" flag in test config. * Will use a running instance of rippled (possibly in a debugger). * Modify all tests to respect the server_default value. * Fail test if new account already exists and has a balance. * README.md with instructions for advanced test debugging, particularly using no_server. Edward Hennis 2014-12-23 20:44:36 -05:00
  • 7f5f73887d Fix undefined behavior Howard Hinnant 2014-12-23 16:12:56 -05:00
  • 91ce7807b9 Remove legacy LoadTypes (RIPD-365) Nik Bougalis 2014-11-24 22:40:30 -08:00
  • d26fae9875 Reduce Beast dependencies by leveraging C++11 features: Nik Bougalis 2014-12-22 02:45:36 -08:00
  • 60bdc79ec4 Remove unused sitefiles module Nik Bougalis 2014-12-23 18:55:48 -08:00
  • 253ddf2998 Split off CheckLibraryVersions.test.cpp. Tom Ritchford 2014-12-26 12:40:42 -05:00
  • 9fa15b390a Always initialize LedgerHandler options field Nik Bougalis 2014-12-23 12:55:41 -08:00
  • e7d6fe6c8b Cull duplicate/unused code in RippleAddress: Josh Juran 2014-12-03 18:14:21 -05:00
  • 9650b1aa70 New ripple::TestSuite with method expectEquals(). Tom Ritchford 2014-12-22 12:31:58 -05:00
  • eafa6f960f API for improved Unit Testing (RIPD-432): Howard Hinnant 2014-11-19 14:04:36 -05:00
  • c62ccf4870 Update README.md (RIPD-601) Yana 2014-12-05 16:01:16 -08:00
  • ef34439a79 Set version to 0.26.5-rc1 Vinnie Falco 2014-12-22 15:15:31 -08:00
  • b328ec2462 Prevent passing of non-POD types to POD-only interfaces: Nik Bougalis 2014-12-18 22:40:32 -08:00
  • 60f27178b8 Levelization, improve structure of source files: Vinnie Falco 2014-12-19 08:57:30 -08:00
  • c01b4e6baa Tidy up usage of std::begin, std::end Vinnie Falco 2014-12-19 08:35:26 -08:00
  • e3fbb83ad0 Tidy up usage of std::begin, std::end Vinnie Falco 2014-12-19 08:35:26 -08:00
  • 28b70a7b9a Remove 'Proof of Work' code Nik Bougalis 2014-12-13 04:35:26 -08:00
  • dcdc341d0f Add appveyor Nicholas Dudfield 2014-12-12 11:31:45 +07:00
  • fce77c9372 Configuration for yielding RPC server. Tom Ritchford 2014-12-10 13:21:04 -05:00
  • a360c481c2 Refactor out a version of lookupLedger returning Status. Tom Ritchford 2014-12-10 14:42:13 -05:00
  • c72db5fa5f Refactor away RPCHandler::doRpcCommand Tom Ritchford 2014-12-03 15:32:20 -05:00
  • fc9a23d6d4 Send output incrementally in ServerHandlerImp. Tom Ritchford 2014-12-02 15:26:42 -05:00
  • 167f4666e2 New generic Ledger RPC handler. Tom Ritchford 2014-12-03 18:15:28 -05:00
  • 1cbcc7be21 Allow the Ledger to generically output to both Json models. Tom Ritchford 2014-12-01 19:20:30 -05:00
  • 8053598069 Better interoperation between Json::Value and JsonObject. * Generic functions to add entries to both object models. * Add Json::Value into JsonObjects. * Write Json::Value to string incrementally. * Get rid of ripple::RPC::New namespace Tom Ritchford 2014-12-01 20:35:09 -05:00
  • 7cfac1a91a Wrap Output in a coroutine that periodically yields. Tom Ritchford 2014-11-10 12:47:08 -05:00
  • 192cdd028e Change Output to be a generic std::function. Tom Ritchford 2014-12-01 17:11:04 -05:00
  • 029c143922 Add a comment to ledger/Ledger.h. Tom Ritchford 2014-12-07 13:01:57 -05:00
  • 00298cc68c Simplify LedgerData.cpp. Tom Ritchford 2014-12-10 14:42:01 -05:00
  • d9c7db51af Make three ErrorCode functions generic. Tom Ritchford 2014-11-20 16:52:20 -05:00
  • f12b15d22b Fix logic in HTTP/S server: Vinnie Falco 2014-12-11 15:39:34 -08:00
  • 409b8bac00 Remove unused and obsolete Ripple identifiers and tidy up: Vinnie Falco 2014-12-12 10:41:19 -08:00
  • 28b09bde4b Simplify RipplePublicKey: Vinnie Falco 2014-12-12 14:20:28 -08:00
  • 2f6af906f4 Validators work (RIPD-703): Vinnie Falco 2014-11-18 15:43:33 -08:00
  • 16021591b2 Add waitable_executor Vinnie Falco 2014-11-20 08:27:14 -08:00
  • 628e3ac1eb Add waitable_executor Vinnie Falco 2014-11-20 08:27:14 -08:00
  • fbf5785e35 Combine STTx::checkSign overloads: Josh Juran 2014-12-03 12:50:35 -05:00
  • eeea2b1ff8 Use ppa:afrank/boost 1.57 for Travis Nicholas Dudfield 2014-12-11 09:28:02 +07:00
  • 32062e439f Split peer connect logic to another class (RIPD-711): All of the logic for establishing an outbound peer connection including the initial HTTP handshake exchange is moved into a separate class. This allows PeerImp to have a strong invariant: All PeerImp objects that exist represent active peer connections that have already gone through the handshake process. Vinnie Falco 2014-11-22 07:36:50 -08:00
  • 930a0beaf1 Add ZeroCopyOutputStream and tidy up Vinnie Falco 2014-12-01 14:41:13 -08:00
  • 4a49fefdd9 Various cleanups: * Replace SYSTEM_NAME and other macros with C++ constructs * Remove RIPPLE_ARRAYSIZE and use std::extent or ranged for loops * Remove old-style, unused offer crossing unit test * Make STAmount::saFromRate free and remove default argument Nik Bougalis 2014-12-04 03:16:41 -08:00
  • 8e792855e0 Do not use path if path expansion fails Nik Bougalis 2014-11-21 21:39:19 -08:00
  • 69f5c6987a Whitespace: clean WebSockets to 80 columns. Tom Ritchford 2014-12-07 14:00:10 -05:00
  • 85fc9e4ecf Revert e4c9822d78 "Enable processor-specific optimizations when available:" Nik Bougalis 2014-12-04 03:51:15 -08:00
  • d5c3f0c9cf Stability bugfixes for online delete SHAMapStore: The correct ledger age is necessary for checking health status, and the previous behavior caused the online deletion process to abort if the process took too long. Mark Travis 2014-11-30 00:04:55 -08:00
  • a48120e675 Fix incorrect source issuer for XRP source JoelKatz 2014-12-03 11:54:57 -08:00
  • 36f8e4f2ad Improve hex conversion & parsing routines Nik Bougalis 2014-12-01 17:02:09 -08:00
  • 1084a39a45 Improve the humanAccountID cache (RIPD-693) David Schwartz 2014-11-18 13:31:14 -08:00
  • 86df482842 Make sure that handlers always return Json::objectValue. Tom Ritchford 2014-12-01 15:26:59 -05:00
  • b0d47ebcc6 Use better base64 handling in ServerHandlerImp. Tom Ritchford 2014-11-11 17:59:05 -05:00
  • a237f9d28c Make beast::detail::chunk_encoded_buffers::to_hex() static Tom Ritchford 2014-12-01 11:12:59 -05:00
  • fffdf1dfba Make beast::detail::chunk_encoded_buffers::to_hex() static Tom Ritchford 2014-12-01 11:12:59 -05:00
  • f1eb9d4f89 Remove unused BEAST_COMPILER_CHECKS_SOCKET_OVERRIDES. Tom Ritchford 2014-12-01 10:56:03 -05:00
  • 3273ed2616 Remove unused BEAST_COMPILER_CHECKS_SOCKET_OVERRIDES. Tom Ritchford 2014-12-01 10:56:03 -05:00
  • aa7b0a31b0 Refactor protocol message parsing: Vinnie Falco 2014-11-23 06:43:10 -08:00
  • fb0d44d403 Use cluster state in Slot instead of PeerImp Vinnie Falco 2014-11-24 07:11:09 -08:00
  • cd8ec89cbb Use injections from OverlayImpl in PeerImp Vinnie Falco 2014-11-24 06:01:30 -08:00
  • 1da5e090d5 Fixes to beast::asio::streambuf: * Fix to_string conversion * Fix assert on debug invariant checks * Fix the treatment of the output position when the entire output is committed. * Add unit test Vinnie Falco 2014-11-23 06:09:14 -08:00
  • 252f271dc5 Fixes to beast::asio::streambuf: * Fix to_string conversion * Fix assert on debug invariant checks * Fix the treatment of the output position when the entire output is committed. * Add unit test Vinnie Falco 2014-11-23 06:09:14 -08:00
  • 62d400c3a9 Move the call to cancel_timer to the right place Vinnie Falco 2014-11-23 13:45:15 -08:00
  • f9aa3e0da5 Add more unit tests to rpc/impl/TransactionSign (RIPD-480): Scott Schurr 2014-11-17 14:05:42 -08:00
  • 5cde522d5e Remove unused chrono::time_point stream conversions Vinnie Falco 2014-11-24 09:01:50 -08:00
  • 685fe5b0fb Don't call std::exit on clean exit Vinnie Falco 2014-11-22 09:55:17 -08:00
  • 8aa4a027bb Template abstract_clock on Clock: The abstract_clock is now templated on a type meeting the requirements of the Clock concept. It inherits the nested types of the Clock on which it is based. This resolves a problem with the original design which broke the type-safety of time_point from different abstract clocks. Vinnie Falco 2014-11-20 05:51:47 -08:00
  • 5180e71a0d Remove unused chrono::time_point stream conversions Vinnie Falco 2014-11-24 09:01:50 -08:00
  • 55637f7508 Template abstract_clock on Clock: The abstract_clock is now templated on a type meeting the requirements of the Clock concept. It inherits the nested types of the Clock on which it is based. This resolves a problem with the original design which broke the type-safety of time_point from different abstract clocks. Vinnie Falco 2014-11-20 05:51:47 -08:00
  • 7d72dfe0be Updated freeze tests: * Always run freeze tests (and enforcement tests) * book_offers filtering tests are broken Nicholas Dudfield 2014-11-08 12:29:07 +07:00
  • 02529a0fc2 SHAMapStore Online Delete (RIPD-415): Mark Travis 2014-10-22 11:52:53 -07:00
  • b44974677e Cleanup some stray formatting left in logs JoelKatz 2014-10-28 11:39:01 -07:00
  • d4fd5e4fce HTTP Handshaking for Peers on Universal Port (RIPD-446): Vinnie Falco 2014-11-02 05:36:14 -08:00
  • d9c49386cb Add WrappedSink: This class puts a configured string prefix in front of each line of Journal output. Vinnie Falco 2014-11-21 16:42:44 -08:00
  • 30123eaa4a Add WrappedSink: This class puts a configured string prefix in front of each line of Journal output. Vinnie Falco 2014-11-21 16:42:44 -08:00
  • 454ec97d51 Replace custom exceptions with std::runtime_error Nik Bougalis 2014-11-21 12:58:54 -08:00
  • cd98d1c1f9 Fix unit_test suite matching with full names Vinnie Falco 2014-11-20 14:56:30 -08:00
  • c2ac331e78 Fix unit_test suite matching with full names Vinnie Falco 2014-11-20 14:56:30 -08:00
  • 756ac603db Simplify the Beast fatal error reporting framework: * Reduce interface to a single function which reports error details * Remove unused functions Nik Bougalis 2014-11-16 23:17:42 -08:00
  • be4a35af11 Clarify SetAccount logic and clean up existing code Nik Bougalis 2014-11-05 14:55:19 -08:00
  • 445b29ad0d Fix RPC handlers to use the results of lookupLedger. Tom Ritchford 2014-11-19 21:53:27 -05:00
  • 64d0f7fffd Fix DecayingSample treatment of the window Vinnie Falco 2014-11-20 10:30:25 -08:00
  • baf0d09455 Simplify the Beast fatal error reporting framework: * Reduce interface to a single function which reports error details * Remove unused functions Nik Bougalis 2014-11-16 23:17:42 -08:00
  • 933a98b97c Add http::chunk_encode: This transforms a ConstBufferSequence into a new ConstBufferSequence whose data is encoded according to the Content transfer encoding rules of RFC2616. The implementation does not copy any memory. Vinnie Falco 2014-11-12 16:15:33 -08:00
  • 08a81a0ab9 Tidy up the structure of sources in protocol/: Split out and rename STValidation Split out and rename STBlob Split out and rename STAccount Split out STPathSet Split STVector256 and move UintTypes to protocol/ Rename to STBase Rename to STLedgerEntry Rename to SOTemplate Rename to STTx Remove obsolete AgedHistory Remove types.h and add missing includes Remove unnecessary includes in app.h Remove unnecessary includes in app.h Remove include app.h from app1.cpp Vinnie Falco 2014-11-19 07:22:11 -08:00
  • b14751aad9 Use asio signal handling in Application (RIPD-140): * Use signal_set as cross platform way of handling SIGINT * Remove polling on main thread for shutdown. * Add extra logging for received signal. * Clean up exit handling on error in setup routines. * Reuse isStopped() from Stoppable for status (could be isStopping() instead). * Ctrl-C should now work for standalone mode as well on Windows. Donovan Hide 2014-11-19 19:17:08 +00:00
  • 31110c7fd9 Cleanup ripple::Ledger: * Convert static member functions to free functions * Adopt consistent naming convention * De-inline code Nik Bougalis 2014-10-17 21:23:41 -07:00
  • 0e1dd92d9b Fix case where slot==nullptr in Overlay: This changes the Overlay to correctly handle the case when nullptr is returned by PeerFinder new_inbound_slot on a detected self-connection. Vinnie Falco 2014-11-17 16:04:33 -08:00
  • a3204a4df7 Add http::chunk_encode: This transforms a ConstBufferSequence into a new ConstBufferSequence whose data is encoded according to the Content transfer encoding rules of RFC2616. The implementation does not copy any memory. Vinnie Falco 2014-11-12 16:15:33 -08:00
  • 2288ab48b9 Use asio signal handling in Application (RIPD-140): * Use signal_set as cross platform way of handling SIGINT * Remove polling on main thread for shutdown. * Add extra logging for received signal. * Clean up exit handling on error in setup routines. * Reuse isStopped() from Stoppable for status (could be isStopping() instead). * Ctrl-C should now work for standalone mode as well on Windows. Donovan Hide 2014-11-19 19:17:08 +00:00
  • 670401884c Improve the human-readable description of the tesSUCCESS code: mDuo13 2014-11-06 17:37:43 -08:00
  • 37181c341e Changed doc/rippled-example.cfg to specify default for ssl_verify Yana 2014-11-10 17:02:06 -08:00
  • be7e677448 Update integration tests for changes to ripple-lib account request API: wltsmrz 2014-11-13 21:07:17 -08:00
  • b2eeb49a45 Clean up CKey and RippleAddress (RIPD-672) Josh Juran 2014-11-14 00:34:35 -08:00
  • f3ebd508d6 Accept generic arguments in ci_equal Vinnie Falco 2014-11-13 17:22:11 -08:00
  • 9aa040d917 Accept generic arguments in ci_equal Vinnie Falco 2014-11-13 17:22:11 -08:00
  • 5d33ce352e Tidy up split_commas function and use it in Server Vinnie Falco 2014-11-11 08:51:56 -08:00
  • c2043a223b Tidy up split_commas function and use it in Server Vinnie Falco 2014-11-11 08:51:56 -08:00