Commit Graph

  • 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 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
  • a3fe089367 Fix missing return value error check Nik Bougalis 2014-09-01 15:09:06 -07:00
  • 85d5cd3118 Fix missing return value error check Nik Bougalis 2014-09-01 15:09:06 -07:00
  • 61006e626d Also report mismatched built ledger Vinnie Falco 2014-08-28 18:05:10 -07:00
  • 15aad1cb24 Optimize pathfinding operations (RIPD-537): * Calculate and cache Account hashes without holding locks. * Fast hash-based path element comparison. * Use emplace instead of find/insert Nik Bougalis 2014-08-21 16:31:23 -07:00
  • 95c1c5f54e Stream generated JSON. Tom Ritchford 2014-08-27 20:54:42 -04:00
  • b12676f701 Fix special members for http classes Vinnie Falco 2014-08-28 08:32:22 -07:00
  • c65fb91878 Fix special members for http classes Vinnie Falco 2014-08-28 08:32:22 -07:00
  • d5a7e1331e Set version to 0.26.3-rc3 Vinnie Falco 2014-08-27 12:51:19 -07:00
  • b968821cc1 HTTP message and parser improvements: * streambuf wrapper supports rvalue move * message class holds a complete HTTP message * body class holds the HTTP content body * headers class holds RFC-compliant HTTP headers * basic_parser provides class interface to joyent's http-parser * parser class parses into a message object * Remove unused http get client free function * unit test for parsing malformed messages Vinnie Falco 2014-08-26 09:25:19 -07:00
  • 04bcd93ba3 HTTP(S)-RPC server improvements (RIPD-489, RIPD-533): * Correct handling of Keep-Alive in socket handlers * Report session history in print command Vinnie Falco 2014-08-26 09:25:28 -07:00
  • f97ef7039a HTTP message and parser improvements: * streambuf wrapper supports rvalue move * message class holds a complete HTTP message * body class holds the HTTP content body * headers class holds RFC-compliant HTTP headers * basic_parser provides class interface to joyent's http-parser * parser class parses into a message object * Remove unused http get client free function * unit test for parsing malformed messages Vinnie Falco 2014-08-26 09:25:19 -07:00
  • 9160b46c1e Bug fixes and new features for LedgerTool: Tom Ritchford 2014-08-26 10:33:35 -04:00
  • aa4b116498 Wrap RippleCalc into a single function (RIPD-500): Edward Hennis 2014-08-21 12:16:32 -04:00
  • d81154bf6c Add enable_if_lvalue Edward Hennis 2014-08-22 19:50:15 -04:00
  • 612bb71165 Add enable_if_lvalue Edward Hennis 2014-08-22 19:50:15 -04:00
  • 5c67f99ef9 Remove old rocksdb/ Torrie Fischer 2014-08-27 11:27:03 -07:00
  • 101a4808a0 Update includes and scons Torrie Fischer 2014-08-27 11:25:59 -07:00
  • 7f25d88f02 Merge commit '1d38671f5edc2322bc58417816674cc629ae7a70' as 'src/rocksdb2' Torrie Fischer 2014-08-27 12:36:50 -07:00
  • 1d38671f5e Squashed 'src/rocksdb2/' content from commit 37c6740 Torrie Fischer 2014-08-27 12:36:50 -07:00
  • be830d3dad Set version to 0.26.3-rc2 Vinnie Falco 2014-08-26 09:48:31 -07:00
  • 5bc949d70f Fix a unit test warning Nik Bougalis 2014-08-22 13:52:31 -07:00
  • 43817bd722 Merge remote-tracking branch 'upstream/release' into tmp Vinnie Falco 2014-08-26 09:46:29 -07:00
  • 61623d6d75 Improve parallelization of getRippleLines JoelKatz 2014-08-21 16:05:35 -07:00
  • 9aad60f56d Make sure we update mTNByID when we replace the root David Schwartz 2014-08-20 13:52:47 -07:00
  • e7cf3e8084 Add ledger.history.mismatch insight statistic Vinnie Falco 2014-08-25 17:13:05 -07:00
  • c7c9a725b8 Compile git tags now include name and branch. (RIPD-493) Tom Ritchford 2014-08-20 18:13:44 -04:00
  • e024e7c2ec Compile git tags now include name and branch. (RIPD-493) Tom Ritchford 2014-08-20 18:13:44 -04:00
  • 6fc136ae9a Update npm tests & config to pass in Windows. (RIPD-209) * Extend timeout for WebSocket test. * Windows networking doesn't like connecting to 0.0.0.0. Use 127.0.0.1 * Additional command line options in config. Can potentially be used to run rippled in a debugger. Edward Hennis 2014-08-19 11:59:07 -04:00
  • 2b69ded1ea Convert rvalue to an lvalue. (RIPD-494) * The rvalue gets destructed as soon as "rc" is constructed. Edward Hennis 2014-08-19 17:14:19 -04:00
  • 8dd799aa6f New command line LedgerTool. (RIPD-243) Tom Ritchford 2014-08-13 20:19:08 -04:00
  • 83add658f9 Fix warnings and compile errors Vinnie Falco 2014-08-20 17:03:54 -07:00
  • 7230ef41ee Fix warnings and compile errors Vinnie Falco 2014-08-20 17:03:54 -07:00
  • a86f0a743c Clean up some docs * Consistent line endings in rippled-example.cfg * Rewrite CodingStyle.md. Get down to top priorities Edward Hennis 2014-08-07 16:17:09 -04:00
  • af75b55ef7 src/README.md: s/addded/added/ Josh Juran 2014-08-17 10:09:23 -07:00
  • 9ecb37dd4f Add validators aged container test Vinnie Falco 2014-08-14 15:36:12 -07:00
  • cb0e91c602 Use aged containers in Validators module (RIPD-349) Scott Schurr 2014-08-06 14:24:42 -07:00
  • 2e3784a914 Tidy up sources Vinnie Falco 2014-08-14 14:16:34 -07:00
  • 019c1af435 Use aged containers in Validators module (RIPD-349) Scott Schurr 2014-08-06 14:24:42 -07:00
  • 97d87dff09 Fix exception safety in aged containers Vinnie Falco 2014-08-14 13:01:07 -07:00
  • 5322955f2b Fix exception safety in aged containers Vinnie Falco 2014-08-14 13:01:07 -07:00
  • fe9d77734f Fix move constructor of aged_unordered_container (RIPD-490) Howard Hinnant 2014-08-20 17:40:35 -04:00
  • a8ea4ce283 Fix move constructor of aged_unordered_container (RIPD-490) Howard Hinnant 2014-08-20 17:40:35 -04:00
  • c12862f60d Enable heap profiling with jemalloc: The jemalloc library (which must be downloaded and installed separately) is required to perform heap profiling. Instructions on how to enable heap profiling with rippled are available in doc/HeapProfiling.md Mark Travis 2014-08-09 13:24:23 -07:00
  • e889183fc5 JSON cleanups: * Fix Json headers to include what they use. * Get rid of ripple/json/api directory. Tom Ritchford 2014-08-12 12:41:42 -04:00
  • 7be695c6bd Handle changes to boost::optional in newly released boost 1.56: To improve compatibility with the proposed std::optional a number of changes were made, one of which is the removal of the implicit conversion to bool. As a result, returning boost::optional as a bool value now fails. Explicit conversion to bool used for clarity. Jeff Trull 2014-08-12 11:20:31 -07:00
  • 956901ae02 Properly handle edge-cases when parsing JSON integers (RIPD-470): * Properly handle both unsigned and signed integers * Return parsing error for overlong JSON numbers * Implement unit test checking the edge cases that are of interest Nik Bougalis 2014-08-10 11:20:35 -07:00