Commit Graph

  • 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 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
  • 041f874d4c 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
  • 526ecd6a81 Detect invalid inputs during STAmount conversion (RIPD-570): * More robust validation of input * XRP may not be specified using fractions * Prevent creating native amounts larger than max possible value * Add unit tests to verify correct parsing Nik Bougalis 2014-09-18 01:17:32 -07:00
  • 30eb927ad4 Templetize and improve beast string-to-integer conversions: * Properly handle numbers at the edge of precision * Improve and expand unit test coverage Nik Bougalis 2014-09-16 22:49:02 -07:00
  • d373054fc4 Templetize and improve beast string-to-integer conversions: * Properly handle numbers at the edge of precision * Improve and expand unit test coverage Nik Bougalis 2014-09-16 22:49:02 -07:00
  • b6d9f1d4b2 Add fee voting configuration and docs (RIPD-564) Vinnie Falco 2014-09-16 15:09:09 -07:00
  • 3fef916972 Move some constants to core/SystemParameters.h Vinnie Falco 2014-09-16 16:33:57 -07:00
  • 89a51e5b91 Split Section to its own header and add convenience accessors Vinnie Falco 2014-09-16 16:19:17 -07:00
  • f87a6ccc7a Fix missing includes for boost 1.56.0 miguelportilla 2014-09-16 18:14:33 -04:00
  • f65cea66ef Remove unused macros, config variables, and file Nik Bougalis 2014-09-14 17:36:01 -07:00
  • 4239880acb Clean up and restructure sources Vinnie Falco 2014-09-16 14:03:58 -07:00
  • 579b1e6f79 Add missing includes and tidy up Vinnie Falco 2014-09-16 14:03:50 -07:00
  • 1dcd06a1c1 Add missing includes and tidy up Vinnie Falco 2014-09-16 14:03:50 -07:00
  • 0f30191d10 Refactor STAmount: * Remove unused functions * Remove unused constructor * Use delegating constructors * Mark some observers deprecated * Clean up declaration parameter names * Add checked and unchecked constructors * De-inline unnecessary inlined functions * Reorder and regroup members into sections * Move globals from the unity file to the .cpp * Change some member functions to be free functions * Put implementation in one .cpp and the test in another .cpp Vinnie Falco 2014-09-14 19:00:54 -07:00
  • 8fb9d5daaa Set version to 0.26.4-alpha Vinnie Falco 2014-09-15 18:20:47 -07:00
  • ed3c942ff1 Inject JobQueue in NetworkOPs Nik Bougalis 2014-08-28 16:31:03 -07:00
  • 80436d4a8b Cleanups: * Remove obsolete string formatting function * Remove unused ADDRESS macro * Re-scope functions Nik Bougalis 2014-09-12 18:20:44 -07:00
  • b5384cc964 Fix beast::http::headers move members Howard Hinnant 2014-09-15 18:09:11 -04:00
  • cfc702c766 Fix beast::http::headers move members Howard Hinnant 2014-09-15 18:09:11 -04:00
  • 146d706343 Add base64 conversions and tests Vinnie Falco 2014-08-30 08:26:28 -07:00
  • 88ae15ea8e Add base64 conversions and tests Vinnie Falco 2014-08-30 08:26:28 -07:00
  • b69ecfe75c Use transform_iterator in http::headers Vinnie Falco 2014-08-30 08:14:09 -07:00
  • 6bafca7386 Use transform_iterator in http::headers Vinnie Falco 2014-08-30 08:14:09 -07:00
  • 379e842080 Add BasicConfig simplified config interface Vinnie Falco 2014-09-06 14:55:05 -07:00
  • c41ce469d0 Cleanup: * Move QUALITY_ONE to Quality.h * Move functional files up one level * Remove core.h * Merge routines into Config.cpp * Rename Section to IniFileSections * Rename IniFileSections routines Vinnie Falco 2014-09-05 13:56:33 -07:00
  • a1ca68473d Merge branch 'release' into develop Vinnie Falco 2014-09-13 11:23:02 -07:00
  • 3345d03433 Avoid conversions whenever possible during RippleState lookups Nik Bougalis 2014-09-10 21:09:14 -07:00
  • 81a426608a Make log partitions case-insensitive Nik Bougalis 2014-09-09 11:47:23 +07:00
  • 2ad6f0a65e Set version to 0.26.3-sp1 Vinnie Falco 2014-09-12 15:22:54 -07:00
  • ee8bd8ddae Fix handling of HTTP/S keep-alives (RIPD-556): * Proper shutdown for ssl and non-ssl connections * Report session id in history * Report histogram of requests per session * Change print name to 'http' * Split logging into "HTTP" and "HTTP-RPC" partitions * More logging and refinement of logging severities * Log the request count when a session is destroyed Vinnie Falco 2014-09-08 14:04:16 -07:00
  • 319ac14e7d Add is_short_read() Vinnie Falco 2014-09-12 14:10:07 -07:00
  • 0215a7400d Fix handling of HTTP/S keep-alives (RIPD-556): * Proper shutdown for ssl and non-ssl connections * Report session id in history * Report histogram of requests per session * Change print name to 'http' * Split logging into "HTTP" and "HTTP-RPC" partitions * More logging and refinement of logging severities * Log the request count when a session is destroyed Vinnie Falco 2014-09-08 14:04:16 -07:00
  • 02d834e9bb Add is_short_read() Vinnie Falco 2014-09-12 14:10:07 -07:00
  • 79db0ca7a6 Add is_short_read() Vinnie Falco 2014-09-12 14:10:07 -07:00
  • 1a7eafb699 Add ledger cleaner documentation (RIPD-555) JoelKatz 2014-09-08 13:51:15 -07:00
  • 81a06ea6cd Cleanups: * Remove obsolete config variables * Reduce coupling * Use C++11 ownership containers * Use auto when it makes sense * Detect edge-case in unit tests * Reduce the number of LedgerEntrySet public members Nik Bougalis 2014-09-07 17:23:51 -07:00
  • e4ecc762c6 Refactor string-to-integer conversions Nik Bougalis 2014-09-08 13:20:43 -07:00
  • de4be649ab Refactor string-to-integer conversions Nik Bougalis 2014-09-08 13:20:43 -07:00
  • 4f515adafe Normalize sort paths in Visual Studio project generator sublimator 2014-09-09 01:04:56 +07:00
  • d90ec5f06c Normalize sort paths in Visual Studio project generator sublimator 2014-09-09 01:04:56 +07:00
  • 32065ced6e Add peer count to HTTP server properties Vinnie Falco 2014-09-08 08:18:39 -07:00
  • b5224a2227 Improve regularity of STObject and STArray (RIPD-448, RIPD-544): * reduce duplicated code using templates * replace BOOST_FOREACH with C++11 for loops * remove most direct calls to new * limit line length to 80 characters * clearly identify virtual and overridden methods * split STObject and STArray into their own files * name files after the class they contain Scott Schurr 2014-08-29 09:34:26 -07:00
  • c55777738f Refactor LedgerEntrySet: * Split adjustOwnerCount to increment and decrement paths. * Move pathfinding-specific functions out of LedgerEntrySet * Convert members to free functions Nik Bougalis 2014-09-02 14:13:09 -07:00
  • c72dff5a24 Make more RocksDB tunables Add support for universal compaction JoelKatz 2014-08-25 09:44:14 -07:00
  • 6b09e49c08 Increase the size of the tree cache: This change will not significantly increase memory consumption because most entries are pinned anyway. JoelKatz 2014-08-21 13:28:53 -07:00
  • 413218c4c4 Create the directory for the debug_logfile (RIPD-551) Nik Bougalis 2014-09-04 01:11:39 -07:00
  • 16c04b50ee Add date to tx command (RIPD-542) Miguel Portilla 2014-09-02 18:38:04 -04:00
  • 56c18f7768 Cleanups and fixes (RIPD-532): * Properly handle sfWalletLocator field * Plug a tiny memory leak * Avoid naked pointers * Remove unused variables * Other small cleanups Nik Bougalis 2014-08-31 00:07:02 -07:00
  • 22ca13bc78 Cleanups to RPC code Tom Ritchford 2014-08-03 18:42:00 -04:00
  • 4c7fd18230 Ticket integration tests Nicholas Dudfield 2014-09-01 15:42:01 +07:00
  • 39730fc13e Ticket issuing (RIPD-368): * New CreateTicket transactor to create tickets * New CancelTicket transactor to cancel tickets * Ledger entries for tickets & associated functions * First draft of M-of-N documentation Nik Bougalis 2014-09-04 15:12:59 -07:00
  • 889c0a0d0f Transactor refactor: * Allocate transactors on the stack instead of the heap. * Remove header files and reduce transactor public interface. Nik Bougalis 2014-09-04 15:12:23 -07:00
  • 4f0a20ec68 Handle whitespace separating an 'ip port' correctly (RIPD-552) Nik Bougalis 2014-09-02 17:37:25 -07:00
  • 624a803955 Handle whitespace separating an 'ip port' correctly (RIPD-552) Nik Bougalis 2014-09-02 17:37:25 -07:00
  • 9f5c21f80e Set version to 0.26.3 Vinnie Falco 2014-09-01 21:12:21 -07:00