Commit Graph

  • 9deae34b20 Workaround for MSVC stdlib and coroutine interaction: If beast::Time::currentTimeMillis is first called from a coroutine launched using boost::asio::spawn, Win32 throws an exception. This workaround calls getCurrentTime once in main to prevent the exception. Reference: https://svn.boost.org/trac/boost/ticket/10657 Vinnie Falco 2014-10-14 19:13:02 -07:00
  • ec92344fb4 Use autotls instead of multitls in websocket: The MultiSocket class implements a socket that handshakes in multiple protocols including SSL and PROXY. Unfortunately the way it type-erases the handlers and buffers is incompatible with boost::asio coroutines. To pave the way for coroutines this is part of a larger set of changes that roll back the usage of MultiSocket to older code, and some custom implementations that use templates. The custom implementations are more simple since they use coroutines. Removing MultiSocket will make many other classes and source files unused, a big win for trimming down the codebase size. Vinnie Falco 2014-10-18 17:40:21 -07:00
  • 44c68d6174 Change NodeStore::Backend tests to reflect observed patterns: Empirical evidence shows a database access pattern with few hits and many misses (objects that don't exist). This changes the timing tests so they more accurately reflect rippled's actual usage: * Add read missing keys test * Increase numObjectsToTest to 1,000,000 * Alter PredictableObjectFactory to seed RNG once only * Make NodeStoreTiming a manual test Donovan Hide 2014-10-22 21:24:29 +01:00
  • f0f082d3e3 Fix OS X version parsing/error related to OS X 10.10 update. Howard Hinnant 2014-10-20 21:55:57 -04:00
  • 5b7f172d03 Fix OS X version parsing/error related to OS X 10.10 update. Howard Hinnant 2014-10-20 21:55:57 -04:00
  • 65125eac87 Add "deferred" flag to transaction relay message JoelKatz 2014-10-19 22:29:31 -07:00
  • 761902864a Refactor STParsedJSON to parse an object or array [RIPD-480] Scott Schurr 2014-10-09 15:12:02 -07:00
  • 4a8555b3bf Workaround for MSVC move special members. Vinnie Falco 2014-10-18 08:16:12 -07:00
  • af24d541d1 Workaround for MSVC move special members. Vinnie Falco 2014-10-18 08:16:12 -07:00
  • 9d33e4bd7b Fix URL compositing in Beast (RIPD-636). Nik Bougalis 2014-10-13 18:42:22 -07:00
  • 3ad68a617e Fix dependency on boost::thread on OS/X. Donovan Hide 2014-10-16 20:04:49 -04:00
  • 9e1a6589d4 Return descriptive error message from memo validation (RIPD-591). Nik Bougalis 2014-10-03 19:17:42 -07:00
  • da8ceed07e RippleSSLContext.cpp cleanup. Josh Juran 2014-10-14 01:25:30 -07:00
  • 35935adc98 Fix URL compositing in Beast (RIPD-636). Nik Bougalis 2014-10-13 18:42:22 -07:00
  • 75c8d7aa57 Detab beast Howard Hinnant 2014-10-14 17:27:16 -04:00
  • 5b4a501f68 Detab beast Howard Hinnant 2014-10-14 17:27:16 -04:00
  • 5425a90f16 Fix tabs and trailing whitespace. Tom Ritchford 2014-10-14 16:58:47 -04:00
  • f034b02b92 Disable SSLv3 Mark Travis 2014-10-15 12:30:06 -07:00
  • 7eaca149c1 Remove boost_thread dependency (RIPD-216). Donovan Hide 2014-10-15 23:13:02 +01:00
  • 4b5fd95657 Disable SSLv3 Mark Travis 2014-10-15 12:30:06 -07:00
  • 96dedf553e Refactor SerializedTransaction: * Use boost:tribool instead of two intertwined bool variables * Trim down public interface, reduce member variables Nik Bougalis 2014-10-05 12:53:39 -07:00
  • 23219f2662 Disable transaction submission tests under Travis. sublimator 2014-10-11 22:37:49 +07:00
  • af78ed608e Call Stoppable::stopped in PeerFinder onStop. Vinnie Falco 2014-10-13 21:09:31 -07:00
  • 51dc59e019 Fix outgoing bytes calculation in HTTP server. Vinnie Falco 2014-10-13 19:06:50 -07:00
  • afc102e90a New class RPC::Status enforces JSON-RPC 2.0 error format. Tom Ritchford 2014-09-30 20:11:23 -04:00
  • fc560179e0 SHAMap performance improvements (RIPD-434) David Schwartz 2014-07-31 16:38:58 -07:00
  • d26241de0e Remove Og from debug mode sublimator 2014-10-05 18:52:18 +07:00
  • 96a3a34fa4 Gracefully cast from std:🧵:hardware_concurrency Howard Hinnant 2014-10-14 10:33:10 -04:00
  • 00310f4f10 Silence clang warnings Howard Hinnant 2014-10-10 19:32:20 -04:00
  • e965b7c0da Guarantee C locale Howard Hinnant 2014-10-13 19:20:53 -04:00
  • 8caae219cf Gracefully cast from std:🧵:hardware_concurrency Howard Hinnant 2014-10-14 10:33:10 -04:00
  • 2264ae9247 Guarantee C locale Howard Hinnant 2014-10-13 19:20:53 -04:00
  • 29225bbe75 Attempt to fix spurious travis failures Nicholas Dudfield 2014-10-06 16:14:44 +07:00
  • 4b5625fd59 Load PeerFinder database in Stoppable::onPrepare: OverlayImpl::onStart calls into PeerFinder before PeerFinder::Manager::onStart, causing tests to sometimes fail and the application to intermittently not start. The order of calls to Stoppable::onStart is implementation defined and not predictable. Vinnie Falco 2014-10-10 19:30:00 -07:00
  • 7c0c2419f7 Refactor PeerFinder: Previously, the PeerFinder manager constructed with a Callback object provided by the owner which was used to perform operations like connecting, disconnecting, and sending messages. This made it difficult to change the overlay code because a single call into the PeerFinder could cause both OverlayImpl and PeerImp to be re-entered one or more times, sometimes while holding a recursive mutex. This change eliminates the callback by changing PeerFinder functions to return values indicating the action the caller should take. Vinnie Falco 2014-10-07 18:00:14 -07:00
  • 5f59282ba1 Clean up Overlay and PeerFinder sources: * Tidy up identifiers and declarations * Merge PeerFinder headers into one file * Merge handout classes and functions into one file Vinnie Falco 2014-08-28 14:57:40 -07:00
  • 7847ac3144 Add pending_handlers Vinnie Falco 2014-10-07 20:19:41 -07:00
  • db03ce939c Add pending_handlers Vinnie Falco 2014-10-07 20:19:41 -07:00
  • 6708311a66 Add missing include in beast header Vinnie Falco 2014-10-08 19:10:12 -07:00
  • 68bcbbb701 Add missing include in beast header Vinnie Falco 2014-10-08 19:10:12 -07:00
  • 8bdf7b3983 Remove unused file David Schwartz 2014-10-10 10:19:55 -07:00
  • 4ab427d315 Cleanup: Combine Section and BasicConfig, move to basics Vinnie Falco 2014-10-09 12:25:24 -07:00
  • 9a0a434dd8 Fix incorrect address in connectivity check report: The remoteAddress is the address as seen on the socket, which for incoming connections has a random port chosen by the remote implementation that is different from the port number used to accept connections by the remote listening socket. The checkedAddress is the remote address as seen on the socket, combined with the port advertised in the TMEndpoints message. This fixes the reporting and metadata associated with addresses tested for connectivity. Vinnie Falco 2014-10-08 15:49:47 -07:00
  • 33d1dda954 Handle BIGNUM conversion failure Nik Bougalis 2014-10-02 14:19:01 -07:00
  • 8e9efb4ceb Remove unused transaction code. Howard Hinnant 2014-10-02 17:14:56 -04:00
  • 8835af11d5 Cleanups and surface reduction: * Don't use friendship unless needed * Trim down interfaces * Make classes feel more like std containers Nik Bougalis 2014-09-26 22:00:17 -07:00
  • cfb6b678f1 Remove HashMaps Nik Bougalis 2014-08-27 12:06:14 -07:00
  • 365500da98 Create orderbook integration test (RIPD-483) miguelportilla 2014-08-15 18:47:48 -04:00
  • f14d75e798 Optimize account_lines and account_offers (RIPD-587) Miguel Portilla 2014-09-22 12:16:18 -04:00
  • 0f71b4a378 Fix most compilation warnings for gcc, clang, release, debug. Tom Ritchford 2014-10-01 16:44:00 -04:00
  • b651e0146d Fix some fee logic: (RIPD-614) * fee_default sets cost in drops of reference transaction * Offline signing uses fee_default * Signing multiplier maximum works correctly * Fix bugs in load fee track * Remove dead code, add comments JoelKatz 2014-10-01 11:35:05 -07:00
  • a0dbbb2d84 Update and sort ErrorCode descriptions Tom Ritchford 2014-10-01 11:38:00 -04:00
  • a85fbf69e0 Update rocksdb Torrie Fischer 2014-10-01 11:21:46 -07:00
  • 225f8ac12f Merge commit '92b8c7961b433d12d9d77da5d61c26a920bbd370' into updated-rocksdb Torrie Fischer 2014-10-02 10:47:26 -07:00
  • 92b8c7961b Squashed 'src/rocksdb2/' changes from 37c6740..25888ae Torrie Fischer 2014-10-02 10:47:26 -07:00
  • 1161511207 Fix two Wunused-private-field warnings. Howard Hinnant 2014-10-01 11:28:42 -04:00
  • ca8eda412e Make travis build and use debug variants for tests Nicholas Dudfield 2014-10-01 15:33:49 +07:00
  • ec4ec48fb8 Add counters to track nodestore read and write activities. Mark Travis 2014-09-27 17:18:58 -07:00
  • af7f0b5074 Fix compiler warnings under gcc. Tom Ritchford 2014-09-30 10:37:33 -04:00
  • c0b69e8ef7 Remove the use of beast::String from rippled (RIPD-443) Nik Bougalis 2014-09-28 18:38:11 -07:00
  • 4241dbb600 Clean and harden Transaction. Tom Ritchford 2014-09-26 14:22:18 -04:00
  • f54280aaad New DatabaseReader reads ledger numbers from database. Tom Ritchford 2014-09-24 13:01:22 -04:00
  • 6069400538 Fix compiler warnings under gcc. Tom Ritchford 2014-09-30 10:37:33 -04:00
  • 78dfb6bcf5 Allow beast::lexicalCast to parse 'true' & 'false' into a bool Nik Bougalis 2014-09-25 16:01:41 -07:00
  • 616be1d76c Miscellaneous cleanups: * Limit HashPrefix construction and disallow assignment Howard Hinnant 2014-09-29 12:48:37 -04:00
  • 8e91ce67c5 Allow beast::lexicalCast to parse 'true' & 'false' into a bool Nik Bougalis 2014-09-25 16:01:41 -07:00
  • c1ecd661c3 Fix broken assert in built/validated ledger mismatch handler JoelKatz 2014-09-25 15:36:42 -07:00
  • b27e2aad07 Improve transaction security * Check signatures of every transaction on every validator * Remove obsolete code * Check transaction status in submit/sign RPC handler JoelKatz 2014-09-18 14:16:48 -07:00
  • 5ce508e09d Change output range names of ledger_cleaner MarkusTeufelberger 2014-09-26 11:26:06 +02:00
  • 3cfa5a41b1 Improve BuildInfo interface: * Remove unnecessary beast::String dependency * Explicitly cast to result type while packing a version * Add unit tests for version formatting Nik Bougalis 2014-09-20 09:37:12 -07:00
  • 6c072f37ef Remove unused testoverlay module Vinnie Falco 2014-10-01 08:10:02 -07:00
  • 4640079f55 Use namespaces instead of static-only classes Nik Bougalis 2014-09-21 15:02:21 -07:00
  • dbd993ed2b Use namespaces instead of static-only classes Nik Bougalis 2014-09-21 15:02:21 -07:00
  • 60330da25c Use deleted members to prevent copying in Beast (RIPD-268) Nik Bougalis 2014-09-25 11:13:38 -07:00
  • 45b5c4ba7a Use deleted members to prevent copying in Beast (RIPD-268) Nik Bougalis 2014-09-25 11:13:38 -07:00
  • 7933e5d1f9 Use deleted members to prevent copying in rippled (RIPD-268) Nik Bougalis 2014-09-20 11:27:37 -07:00
  • 01e52e6f9f Use trusted validators median fee Vinnie Falco 2014-09-30 18:00:40 -07:00
  • 40a955e192 Consume handshake data in HTTP/S server Vinnie Falco 2014-10-01 06:27:51 -07:00
  • a8296f7301 Set version to 0.26.3-sp4 0.26.3-sp4 Vinnie Falco 2014-09-29 10:51:33 -07:00
  • 590c3b876b Use trusted validators median fee Vinnie Falco 2014-09-30 18:00:40 -07:00
  • 6dfc805eaa Rewrite HTTP/S server to use coroutines: * Fix bug with more than one complete request in a read buffer * Use stackful coroutines for simplified control flow * Door refactored to detect handshakes * Remove dependency on MultiSocket * Remove dependency on handshake detect logic framework Vinnie Falco 2014-09-25 14:57:27 -07:00
  • cd97b5beec Remove obsolete SharedArg Vinnie Falco 2014-09-27 08:21:10 -07:00
  • 5ce6068df5 Remove obsolete SharedArg Vinnie Falco 2014-09-27 08:21:10 -07:00
  • bf9b8f4d1b Use secure RPC connections when configured Nik Bougalis 2014-09-27 19:01:36 -07:00
  • d618581060 Config improvements: * More fine-grained Section mutators * Add remap for mapping legacy single sections to key value pairs * Add output stream operators for BasicConfig and Section * Allow section values to be overwritten from command line * Update rpc key/value configs from command line * Add RPC::Setup with defaults and remap legacy rpc sections Vinnie Falco 2014-09-27 18:22:56 -07:00
  • 2936bbfae8 Make path filtering smarter (RIPD-561) * Break path liquidity checking into its own function * Measure initial quality over minimum destination amount * Test for available liquidity David Schwartz 2014-09-11 13:29:16 -07:00
  • 47b08bfc02 Add --quorum command line argument (RIPD-563) Nik Bougalis 2014-09-19 03:30:26 -07:00
  • da4f77ca1f Return correct error message for invalid fields Nik Bougalis 2014-09-22 09:50:52 -07:00
  • 1c0a75d467 Distinguish Byzantine failure from tx bug (RIPD-523) David Schwartz 2014-09-11 12:58:00 -07:00
  • 659cf0c221 Decouple LedgerMaster from configuration Nik Bougalis 2014-09-22 16:58:32 -07:00
  • 430229fd84 Mark several Ledger member functions as const. Howard Hinnant 2014-09-23 12:32:21 -04:00
  • 81699a0971 Add +DEBUG to the raw version string for DEBUG builds. This will show up in the rpc server_info command. There is no impact on the version string for release builds. Howard Hinnant 2014-09-23 14:48:18 -04:00
  • c54aff74b3 Build gcc.debug using -Og flag MarkusTeufelberger 2014-09-24 11:23:05 +02:00
  • 7f43ab9097 Improvements to SConstruct: * Default target is release instead of debug (scons with no arguments). * All targets now include debug symbols, including release. Rationale: "out of the box" builds of rippled using plain "scons" or "scons -j4" will produce a debug instead of a release build, which could underperform. Mark Travis 2014-09-23 16:52:11 -07:00
  • d78f740250 Add account_offers paging (RIPD-344) Miguel Portilla 2014-09-11 13:13:26 -04:00
  • cd1bd18a49 Add account_lines paging (RIPD-343) Miguel Portilla 2014-09-10 17:59:56 -04:00
  • f81b084448 Set page sizes for ledger_data correctly (RIPD-249) sublimator 2014-09-19 20:45:00 +07:00
  • 02d9c77402 Set version to 0.26.3-sp2 Vinnie Falco 2014-09-19 11:57:22 -07:00
  • a0c903c68c Add needed #include <istream> This is needed for the combination of boost 1.56 and libc++ Howard Hinnant 2014-09-19 12:20:38 -04:00
  • 6aa325d3da On missing node in consensus, bow out (RIPD-567) JoelKatz 2014-09-18 11:54:16 -07:00