Commit Graph

  • 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
  • f24e859f17 Construct Server after Overlay and WSDoors: When the ServerHandler is constructed before the Overlay, an incoming connection received after the server's listening ports have been opened but before the Overlay object has been created causes a crash. Vinnie Falco 2014-11-12 05:13:14 -08:00
  • 737b33f9d1 Merge branch 'release' into develop Vinnie Falco 2014-11-14 10:56:45 -08:00
  • 00791d2151 Set version to 0.26.4-sp3 0.26.4-sp3 David Schwartz 2014-11-11 16:33:52 -08:00
  • b141598f9b Fix bugs in pathfinding with XRP as the source currency David Schwartz 2014-11-11 15:20:16 -08:00
  • d1618d79b0 Fix pathfinding with multiple issuers for one currency (RIPD-618). Tom Ritchford 2014-10-27 14:45:58 -04:00
  • 00c84dfe5c Clean up Pathfinder. Tom Ritchford 2014-10-09 13:57:22 -04:00
  • 95f31b98a8 Set version to 0.26.4-sp2 0.26.4-sp2 Vinnie Falco 2014-11-11 14:22:37 -08:00
  • 10d74ed100 Fix account_lines, account_offers and book_offers result (RIPD-682): The RPC account_lines and account_offers commands respond with the correct ledger info. account_offers, account_lines and book_offers allow admins unlimited size on the limit param. Specifying a negative value on limit clamps to the minimum value allowed. Incorrect types for limit are correctly reported in the result. Miguel Portilla 2014-11-06 16:28:14 -05:00
  • 8a7f612d5b Revert pathfinding changes: * 5e7c527 Revert "Fix account_lines, account_offers and book_offers result (RIPD-682):" * b3417ca Revert "Fix pathfinding with multiple issuers for one currency (RIPD-618)." * 00db7f5 Revert "Clean up Pathfinder." Vinnie Falco 2014-11-11 14:19:31 -08:00
  • c1e070c042 Add missing header needed for boost 1.57 compatibility. Tom Ritchford 2014-11-10 19:28:35 -05:00
  • 0829ee9234 Add missing header needed for boost 1.57 compatibility. Tom Ritchford 2014-11-10 19:28:35 -05:00
  • ade26e2c86 Make Stoppable unit tests manual Nik Bougalis 2014-11-10 16:31:25 -08:00
  • b22e33444b Make Stoppable unit tests manual Nik Bougalis 2014-11-10 16:31:25 -08:00
  • d115a12cbe Remove dead TxQueue code David Schwartz 2014-11-10 14:04:20 -08:00
  • b7b744de94 Remove sole use of beast::MurmurHash Nik Bougalis 2014-11-07 12:41:50 -08:00
  • b668b79341 Remove MurmurHash from Beast Nik Bougalis 2014-11-07 12:43:42 -08:00
  • 68e46e406a Remove MurmurHash from Beast Nik Bougalis 2014-11-07 12:43:42 -08:00
  • a46ae4efec Set version to 0.26.4-sp1 0.26.4-sp1 Miguel Portilla 2014-11-10 15:40:50 -05:00
  • 62777a794e Fix account_lines, account_offers and book_offers result (RIPD-682): The RPC account_lines and account_offers commands respond with the correct ledger info. account_offers, account_lines and book_offers allow admins unlimited size on the limit param. Specifying a negative value on limit clamps to the minimum value allowed. Incorrect types for limit are correctly reported in the result. Miguel Portilla 2014-11-06 16:28:14 -05:00
  • 329a969761 Remove unused RPCServer. Tom Ritchford 2014-11-10 14:48:11 -05:00
  • 7bc26c5ea0 Add WrappedSink Vinnie Falco 2014-11-09 17:05:06 -08:00
  • 30170bc394 Add short_read manual unit test: This manual unit test explores the outcomes of shutting down SSL stream connections at various point during a session. Vinnie Falco 2014-11-09 10:52:55 -08:00
  • f193302e15 Add WrappedSink Vinnie Falco 2014-11-09 17:05:06 -08:00
  • 5ece1fa568 Add operator<< for basic_streambuf Vinnie Falco 2014-11-08 19:18:40 -08:00
  • 7c4870d641 Add operator<< for basic_streambuf Vinnie Falco 2014-11-08 19:18:40 -08:00
  • 98ea17f7fc Make ci_equal a function Vinnie Falco 2014-11-06 06:13:11 -08:00
  • 8b84a76d5d Make ci_equal a function Vinnie Falco 2014-11-06 06:13:11 -08:00
  • 8d25cc3c92 Add rfc2616::parse_csv Vinnie Falco 2014-11-06 06:01:14 -08:00
  • a4cd761372 Add rfc2616::parse_csv Vinnie Falco 2014-11-06 06:01:14 -08:00
  • 63d2cfd6ba Fix account_lines, account_offers and book_offers result (RIPD-682): The RPC account_lines and account_offers commands respond with the correct ledger info. account_offers, account_lines and book_offers allow admins unlimited size on the limit param. Specifying a negative value on limit clamps to the minimum value allowed. Incorrect types for limit are correctly reported in the result. Miguel Portilla 2014-11-06 16:28:14 -05:00
  • bb44bdd047 Fix pathfinding with multiple issuers for one currency (RIPD-618). Tom Ritchford 2014-10-27 14:45:58 -04:00
  • 6904e66384 Clean up Pathfinder. Tom Ritchford 2014-10-09 13:57:22 -04:00
  • 15c1055ff4 Fix weak_fn unit test. Vinnie Falco 2014-11-09 20:27:05 -08:00
  • fbffe2367e Fix weak_fn unit test. Vinnie Falco 2014-11-09 20:27:05 -08:00
  • e442a2846d Overlay improvements and bug fixes: PeerImp::detach had a default argument graceful=true which did not correctly close the socket and cause the Overlay to often hang on exit. The logging for Overlay and Peers has been reworked. All the socket activity is logged to Peers while protocol activity goes to Protocol. Every log line is prefixed by a small integer ID unique to the connection. * Removed graceful PeerImp::detach option * Peer and Protocol log message handle respective types of logging * Log messages prefixed with peer unique integer * Prevent call to timer ancel from throwing an exception Vinnie Falco 2014-11-08 06:30:33 -08:00
  • f6985586ea Better logging when opening Server ports. Vinnie Falco 2014-11-08 07:33:41 -08:00
  • 2bae5b0959 Throw if rippled.cfg is missing a [server] section Vinnie Falco 2014-11-07 11:48:31 -08:00
  • c930151a95 Remove obsolete get_pointer Vinnie Falco 2014-11-08 10:22:30 -08:00
  • 1e58809fcc Remove obsolete get_pointer Vinnie Falco 2014-11-08 10:22:30 -08:00