Commit Graph

  • 3eb1c7bd6f Set version to 0.24.0 Vinnie Falco 2014-05-05 10:20:46 -07:00
  • 2ed2158309 Set version to 0.24.0-rc2 Vinnie Falco 2014-05-02 11:40:46 -07:00
  • 112d383698 Pathfinding dispatch improvements * Simplify decision whether to update a path * Prevent pathfinding threads from blocking each other JoelKatz 2014-05-02 11:23:34 -07:00
  • 11d0c89a59 Set version to 0.24.0-rc1 Vinnie Falco 2014-05-01 14:27:34 -07:00
  • 7cffd0e0f5 Add comments to LedgerHistory JoelKatz 2014-04-29 02:42:09 -07:00
  • d1f5006e44 Validation timing fixes: * Log whether consensus built a ledger we already had or were acquiring * Don't trigger an acquire for a validation for a ledger we might be building * When we finish building a ledger, try to accept that ledger * If we cannot accept a built ledger, check held validations * Correctly set isCurrent for untrusted validations * Add appropriate logging JoelKatz 2014-04-27 01:51:40 -07:00
  • a10c48182f Move .proto and generated sources Vinnie Falco 2014-05-01 09:44:39 -07:00
  • b5348980e2 Improve Json::Value special members (fixes RIPD-215): * Add move special members * Fix Json::Value::swap Howard Hinnant 2014-04-18 13:39:40 -04:00
  • 73c5a867c6 Fix out-of-order initialization Nik Bougalis 2014-04-29 01:12:06 -07:00
  • b8162884d9 Finish implementation of Ledger process/Features logic: * Defining RIPPLE_PROPOSE_FEATURES enables ledger features * Reduce dependence on getApp via dependency injection * Converted uint32 members to use Clock::time_point * Inject Journal, tidy up classes: - Features - FeaturesImpl - FeeVote - FeeVoteImpl miguelportilla 2014-04-22 16:48:53 -07:00
  • ebae927a3e Allow range-based for to work on STVector256 David Schwartz 2014-04-23 11:00:10 -07:00
  • 3dde8b4345 If RocksDB high threads are configured, use them for flushes David Schwartz 2014-04-22 16:00:10 -07:00
  • 6f6720b346 Optimize composition of HTTP/RPC reply strings Nik Bougalis 2014-04-26 00:40:24 -07:00
  • 1ba0d40bb4 Small Ledger cleanups and improvements: * Remove call to updateHash in LedgerConsensus::accept * Correct serialization size in updateHash * Add some comments to setImmutable and setAccepted JoelKatz 2014-04-27 02:42:12 -07:00
  • 3b87b140c9 Update README.md Nik Bougalis 2014-04-27 15:08:16 -07:00
  • 912d74e805 Tidy up some STAmount and base_uint operations: * Constrain use of arithmetic operators in STAmount * Prevent constructor conversion of uint256 to uint128 - make intent clear * Prevent implicit conversion of uint64_t to uint256 * Prevent implicit conversion of uint64_t to uint160 Nik Bougalis 2014-04-28 11:22:39 -07:00
  • 6ae329f4a6 Universal flags need to be added to tfAccountSetMask JoelKatz 2014-04-16 16:17:53 -07:00
  • 360db3c7ca Fix RIPD-166: Tom Swirly 2014-04-23 18:15:08 -04:00
  • c39fd4e64d RPC: Improve wallet_propose, deprecate wallet_seed: * Add master_key, public_key and public_key_hex to wallet_propose's JSON response. * Report an error if we can't understand wallet_propose's passphrase. * Deprecate wallet_seed by adding a "deprecated" parameter directing the user to wallet_propose. Tom Swirly 2014-04-23 21:14:59 -04:00
  • f4aec40fc1 Fix display formatting of STAmount Nik Bougalis 2014-04-22 12:13:04 -07:00
  • 7fed69fc13 Split RPCHandler into a large number of small parts: * Handler methods of RPCHandler are extracted into individual files. * Helper methods of RPCHandler are converted into free functions, and extracted into individual files. * Much code leaves ripple_app/rpc/RPCHandler.cpp and enters ripple_rpc/. Tom Swirly 2014-04-17 12:55:51 -04:00
  • f26d95d0bb Quality tests aren't manual Nik Bougalis 2014-04-18 09:31:22 -07:00
  • df3f5e442d Fix VS2013 warnings about integer conversions Vinnie Falco 2014-04-17 11:57:48 -07:00
  • 29ee4899bc Fix VS2013 warnings about integer conversions Vinnie Falco 2014-04-17 11:57:48 -07:00
  • fdfcebd1cb Refactoring of container usage: * New ripple container aliases use hardened_hash * Use std::tuple instead of boost::tuple * Use std unordered containers instead of boost * Fix Destroyer for new containers * Fix warning for fnv1a on 32-bit arch * Validator fixes for new containers Howard Hinnant 2014-04-03 17:08:52 -04:00
  • 6596c94eb9 Refactoring of container usage: * New ripple container aliases use hardened_hash * Use std::tuple instead of boost::tuple * Use std unordered containers instead of boost * Fix Destroyer for new containers * Fix warning for fnv1a on 32-bit arch * Validator fixes for new containers Howard Hinnant 2014-04-03 17:08:52 -04:00
  • 6f8145b696 Add [max_peers] doc to example cfg Vinnie Falco 2014-04-16 12:22:54 -07:00
  • 65f496fefb Fix 64-bit Visual Studio build Miguel Portilla 2014-04-15 18:46:55 -04:00
  • 3ca8bf5f98 Remove obsolete TODO files Vinnie Falco 2014-04-16 07:15:18 -07:00
  • 62354350a3 Refactor ripple_overlay: * Use rvalue move to receive accepted sockets * Split asio dependent APIs to their own class and file * Update documentation * Organize code into different files * Make some members private * Rename things for clarity Vinnie Falco 2014-04-09 20:38:23 -07:00
  • 8f5b4a6c96 Add CleanCCPFiles.py, a utility for tidying up whitespace Tom Swirly 2014-04-13 20:59:27 -04:00
  • 898b7eb6f0 Add CleanCCPFiles.py, a utility for tidying up whitespace Tom Swirly 2014-04-13 20:59:27 -04:00
  • a45b532664 Add beast::tagged_integer: * Wraps standard integer types to provide type-safety * Named types provide self-documenting semantics * Catches programmer errors involving mismatched types at compile time * Operators restrict mutation to only safe and meaningful operations Nik Bougalis 2014-03-21 09:31:15 -07:00
  • 398edd39f8 Add beast::tagged_integer: * Wraps standard integer types to provide type-safety * Named types provide self-documenting semantics * Catches programmer errors involving mismatched types at compile time * Operators restrict mutation to only safe and meaningful operations Nik Bougalis 2014-03-21 09:31:15 -07:00
  • 5fddf374f4 Refactor usage of boost::format Nik Bougalis 2014-04-13 14:13:58 -07:00
  • 2ed8edc19d Make is_set_bit a universal template function Nik Bougalis 2014-04-14 21:21:19 -07:00
  • feb88c4f7f Enforce minimum version requirements on OpenSSL and Boost Tom Swirly 2014-04-13 20:23:53 -04:00
  • c0dfbdc910 Fix Visual Studio 2013 build Vinnie Falco 2014-04-15 07:37:04 -07:00
  • ebcedcbe93 Fix Visual Studio 2013 build Vinnie Falco 2014-04-15 07:37:04 -07:00
  • e3995ac776 Updated example cfg for new validator public keys. The Doctor 2014-04-11 13:48:06 -07:00
  • a4ef993282 New Zero struct implements "compare with zero." * Zero lets classes efficiently compare with 0, so you can use constructors like x < zero or y != zero. * New BEAST_CONSTEXPR to handle Windows/C++11 differences regarding the constexpr specifier. Tom Swirly 2014-04-10 19:14:52 -04:00
  • 64ee0d07d0 New Zero struct implements "compare with zero." * Zero lets classes efficiently compare with 0, so you can use constructors like x < zero or y != zero. * New BEAST_CONSTEXPR to handle Windows/C++11 differences regarding the constexpr specifier. Tom Swirly 2014-04-10 19:14:52 -04:00
  • 6b0cec1189 Improvements to scons build for beast. Tom Ritchford 2014-04-09 15:33:34 -04:00
  • 524f41177c Improvements to scons build for beast. Tom Ritchford 2014-04-09 15:33:34 -04:00
  • 04ea9ff74c New classes for processing offers in order books: * BookTip provides consume-and-step offer traversal * OfferStream applies offer business rules and presents offers to callers * Taker class manages state for the active party during order processing * Offer class wraps book offers for presentation Vinnie Falco 2014-04-02 14:26:38 -07:00
  • 53bf5e7f36 New classes and types for handling asset amounts: * Quality opaque type for order book quality * Amount replacement for STAmount * Amounts, in/out amount pair for offers * 'core' namespace with type aliases for Ripple primitives. Vinnie Falco 2014-04-08 17:45:01 -07:00
  • bd60a93cd6 Fix conversion of binary data to hexadecimal strings in some cases. Nik Bougalis 2014-04-07 14:49:42 -07:00
  • 8a608b5829 Configuration file improvements: * Set default node_db to RocksDB from HyperlevelDB, to match gateway appliances and Ripple Labs server configurations. * Set some rpc_startup options to reduce logging and save disk space. * More sensible documentation regarding WebSocket SSL directives The Doctor 2014-04-07 11:50:16 -07:00
  • 151388692a Add bg_threads and high_threads RocksDB tunables David Schwartz 2014-04-01 09:28:40 -07:00
  • bec876d062 Remove unused legacy code Nik Bougalis 2014-04-04 16:46:59 -07:00
  • 4a3176e3a0 Force BOOST_ASIO_HAS_STD_ARRAY to 1 for the clang / gcc libstdc++ 4.8 combination Howard Hinnant 2014-04-03 14:58:28 -04:00
  • 81238e21a5 Force BOOST_ASIO_HAS_STD_ARRAY to 1 for the clang / gcc libstdc++ 4.8 combination Howard Hinnant 2014-04-03 14:58:28 -04:00
  • fd9206584f Sub in std::array for boost::array and beast::FixedArray Howard Hinnant 2014-04-03 14:02:26 -04:00
  • cc354ee9f2 Sub in std::array for boost::array and beast::FixedArray Howard Hinnant 2014-04-03 14:02:26 -04:00
  • 90842073bf Must set flags before signing validation. JoelKatz 2014-04-02 15:02:02 -07:00
  • a5488c3727 Autobridging hooks and cleanups: Nik Bougalis 2014-03-26 12:25:39 -07:00
  • 166b8963bb Don't create peer doors in standalone mode Nik Bougalis 2014-03-26 17:36:33 -07:00
  • c51644f1b9 More robustly validate signature inputs, closes #313 Nik Bougalis 2014-03-26 12:11:28 +07:00
  • f124a34730 Fix assert invariant in Peers::close_all Vinnie Falco 2014-04-01 10:24:55 -07:00
  • 2ab7cfbf30 New hash_append robust container hash function framework: * is_contiguous_hashable trait identifies optimizable types * hash_append() function overloads for basic types: - scalars, floats - array, C array - pair, tuple - boost array and tuple (if configured) * Provided Spooky hash wrapper for use with hash_append * Use hash_append in hardened_hash and other places * New Utility meta functions for working with variadics: - static_and - static_sum * Added type_name utility function for diagnostics * hash_metrics suite of functions to evalulate hash functions * Test suites to measure hash function performance * Various fixes Howard Hinnant 2014-03-30 23:17:29 -07:00
  • 30e882196f New hash_append robust container hash function framework: * is_contiguous_hashable trait identifies optimizable types * hash_append() function overloads for basic types: - scalars, floats - array, C array - pair, tuple - boost array and tuple (if configured) * Provided Spooky hash wrapper for use with hash_append * Use hash_append in hardened_hash and other places * New Utility meta functions for working with variadics: - static_and - static_sum * Added type_name utility function for diagnostics * hash_metrics suite of functions to evalulate hash functions * Test suites to measure hash function performance * Various fixes Howard Hinnant 2014-03-30 23:17:29 -07:00
  • 14830c7cb4 Avoid redundant unlock David Schwartz 2014-03-31 09:09:17 -07:00
  • 5a21269da4 mRecentPositions must be protected by the master lock. JoelKatz 2014-03-28 13:45:15 -07:00
  • cc5466d450 Reject expired transactions immediately JoelKatz 2014-03-28 10:33:53 -07:00
  • a068bff9c1 Set fully-canonical flag in transactions and validations. JoelKatz 2014-03-28 09:34:22 -07:00
  • 1e54472a1d Clean local transaction checks. Check account field size David Schwartz 2014-03-25 14:52:29 -07:00
  • be9e18ddb8 Track and re-appply LocalTransactions as needed David Schwartz 2014-03-24 12:31:56 -07:00
  • 5d1aec6280 Charge for pathfinding updates. JoelKatz 2014-03-17 19:40:35 -07:00
  • 0442b3a683 Change resource costs. JoelKatz 2014-03-17 19:32:13 -07:00
  • 6b467e7e59 Move hardened_hash to container/ Vinnie Falco 2014-03-25 12:18:36 -07:00
  • bbc8a8fdc4 Move hardened_hash to container/ Vinnie Falco 2014-03-25 12:18:36 -07:00
  • d64f5a387c Add beast SConstruct and .travis.yml Vinnie Falco 2014-03-24 09:26:55 -07:00
  • 428872731a Add beast SConstruct and .travis.yml Vinnie Falco 2014-03-24 09:26:55 -07:00
  • 015d91b50d OfferCreateTransactor cleanups: - Use std containers instead of their boost counterparts - Reduce transactor console verbosity - Remove unneeded parameter shadowing member variable - Remove BOOST_FOREACH - Add comments - Small cleanups Nik Bougalis 2014-03-19 11:03:11 -07:00
  • cc6cd0bb8f Transactor journal support and small cleanups Nik Bougalis 2014-03-17 13:33:11 -07:00
  • 436061be22 Transactor journal support and small cleanups Nik Bougalis 2014-03-17 13:33:11 -07:00
  • d447a1db39 Refactor ECDSA canonical checks: * Add signature canonicalization unit tests * Tidy up into new classes and functions Nik Bougalis 2014-03-12 13:37:58 -07:00
  • a4a7dd4314 Fedora RPM support: Luke Cyca 2014-03-20 16:19:23 -07:00
  • 4886772ca3 Add Arch Linux PKGBUILD: Roberto Catini 2014-03-19 16:59:05 +01:00
  • 0f19efac2d Example configuration file update: - Fix config database default location. - Add SSL/TLS for WebSockets config. Currently commented out. The Doctor 2014-03-19 11:22:15 -07:00
  • 3fbff6e620 beast cleanup and tidying: * Replace custom types with C++11 <cstdint> types * Fix sqlite integer intos and uses * Fix String implicit integer constructors * Escape the enclosing namespace in sqdb * Replace contract checks with assert * Make many header files compile independently * Remove the dependence on beast_core.h in many places * Remove unused or obsolete classes and functions * Remove unused or obsolete macros * Remove unused network functions and files * Remove unused or obsolete classes: - ChildProcess - HighResolutionTimer - InterProcessLock - Throw - TrackedMutex - UntrackedMutex - XmlDocument - XmlElement Vinnie Falco 2014-03-22 09:43:11 -07:00
  • b2d97703c6 beast cleanup and tidying: * Replace custom types with C++11 <cstdint> types * Fix sqlite integer intos and uses * Fix String implicit integer constructors * Escape the enclosing namespace in sqdb * Replace contract checks with assert * Make many header files compile independently * Remove the dependence on beast_core.h in many places * Remove unused or obsolete classes and functions * Remove unused or obsolete macros * Remove unused network functions and files * Remove unused or obsolete classes: - ChildProcess - HighResolutionTimer - InterProcessLock - Throw - TrackedMutex - UntrackedMutex - XmlDocument - XmlElement Vinnie Falco 2014-03-22 09:43:11 -07:00
  • 5eb0aa2765 Add hardened_hash, prevents adversarial inputs Vinnie Falco 2014-03-22 12:11:44 -07:00
  • 936f45c7ec Add hardened_hash, prevents adversarial inputs Vinnie Falco 2014-03-22 12:11:44 -07:00
  • f63cf33118 New unit_test framework: * Header-only! * No external dependencies or other beast modules * Compilation options allow for: - Stand-alone application to run a single test suite - Stand-alone application to run a set of test suites - Global suite of tests inline with the host application - Disable test suite generation completely * Existing tests reworked to use the new classes Vinnie Falco 2014-03-20 17:25:39 -07:00
  • a865149c65 New unit_test framework: * Header-only! * No external dependencies or other beast modules * Compilation options allow for: - Stand-alone application to run a single test suite - Stand-alone application to run a set of test suites - Global suite of tests inline with the host application - Disable test suite generation completely * Existing tests reworked to use the new classes Vinnie Falco 2014-03-20 17:25:39 -07:00
  • 0bb6171a85 beast.streams improvements: * New basic_std_ostream wraps any std::stream. * New debug_ostream redirects output to debugger if attached. Vinnie Falco 2014-03-20 16:50:25 -07:00
  • 547019bd1b beast.streams improvements: * New basic_std_ostream wraps any std::stream. * New debug_ostream redirects output to debugger if attached. Vinnie Falco 2014-03-20 16:50:25 -07:00
  • e92dd73169 Add const_container Vinnie Falco 2014-03-20 08:23:44 -07:00
  • 953805d97e Add const_container Vinnie Falco 2014-03-20 08:23:44 -07:00
  • 2d490f6e6a beast cleaning and tidying: * Consolidate small modules into one * Remove Android-specific platform support * Remove Chrono.h from beast_core.h * Removed files: - TypeTraits.h - Utility.h - Net.h - Asio.h * Remove zlib support: - Remove inline zlib library sources - Remove GZIPCompressorOutputStream - Remove GZIPDecompressorInputStream * Remove obsolete or unused classes: - AbstractObject - BigInteger - BufferedInputStream - CacheLine - CPUMeter - DatagramSocket - DynamicObject - FileLogger - FPUFlags - Identifier - JSON - LocalisedStrings - MACAddress - MemoryAlignment - MemoryInputStream - MemoryMappedFile - NamedValueSet - OptionalScopedPointer - PerformanceCounter - PropertySet - ScopedTimeInterval - SparseSet - SpinDelay - StreamingSocket - StringPool - SubregionStream - Uuid - Variant Vinnie Falco 2014-03-20 18:08:54 -07:00
  • e344cb3d62 beast cleaning and tidying: * Consolidate small modules into one * Remove Android-specific platform support * Remove Chrono.h from beast_core.h * Removed files: - TypeTraits.h - Utility.h - Net.h - Asio.h * Remove zlib support: - Remove inline zlib library sources - Remove GZIPCompressorOutputStream - Remove GZIPDecompressorInputStream * Remove obsolete or unused classes: - AbstractObject - BigInteger - BufferedInputStream - CacheLine - CPUMeter - DatagramSocket - DynamicObject - FileLogger - FPUFlags - Identifier - JSON - LocalisedStrings - MACAddress - MemoryAlignment - MemoryInputStream - MemoryMappedFile - NamedValueSet - OptionalScopedPointer - PerformanceCounter - PropertySet - ScopedTimeInterval - SparseSet - SpinDelay - StreamingSocket - StringPool - SubregionStream - Uuid - Variant Vinnie Falco 2014-03-20 18:08:54 -07:00
  • 761affacc3 Update to SQLite 3.8.4.1 Vinnie Falco 2014-03-20 19:17:25 -07:00
  • 693a5927a9 Update to SQLite 3.8.4.1 Vinnie Falco 2014-03-20 19:17:25 -07:00
  • 979c834ee0 Fix and add tests for empty_base_optimization. Howard Hinnant 2014-03-20 14:39:01 -04:00
  • 07e2f87079 Fix and add tests for empty_base_optimization. Howard Hinnant 2014-03-20 14:39:01 -04:00
  • aff0ec18b0 Fix error code assignment in raw_parser Vinnie Falco 2014-03-20 10:43:01 -07:00
  • 9b152d8098 Fix error code assignment in raw_parser Vinnie Falco 2014-03-20 10:43:01 -07:00
  • d32b91e0de Add abstract streams module: * New basic_abstract_ostream template for generic output * New abstract_ostream, common type alias * basic_scoped_ostream, RAII output to abstract streams Vinnie Falco 2014-03-01 09:56:32 -08:00
  • 8daecb5430 Add abstract streams module: * New basic_abstract_ostream template for generic output * New abstract_ostream, common type alias * basic_scoped_ostream, RAII output to abstract streams Vinnie Falco 2014-03-01 09:56:32 -08:00