Vinnie Falco
724ec46129
Use per-file include directories for external code subtrees:
...
* leveldb, hyperleveldb, rocksdb, snappy
* SConstruct OSX fix regarding OpenSSL version check
2014-06-04 13:28:43 -07:00
Vinnie Falco
4f1d1d2a8a
Reorganize source file hierarchy:
...
* Rename unity files
* Move some modules to new subdirectories
* Remove obsolete Visual Studio project files
* Remove obsolete coding style and TODO list
2014-06-03 21:43:59 -07:00
Tom Ritchford
39a387b54c
Check for openSSL version in SConstruct.
...
* Uses the platform specific openssl binary to detect the current version.
2014-06-02 10:56:21 -07:00
Roberto Catini
2b0034667d
Add Dockerfile:
...
* The ports are not automatically exposed.
* No test is performed after the build.
2014-06-02 10:27:09 -07:00
Tom Ritchford
98202c56ae
base_uint now compares and assigns with beast::Zero.
...
Conflicts:
src/ripple/types/api/base_uint.h
src/ripple_basics/ripple_basics.h
2014-06-02 10:15:45 -07:00
Vinnie Falco
1e06ddf13c
Refactor MultiSocket:
...
* Variadic constructor argument list
* Tidy up sources and filenames
2014-06-02 10:07:05 -07:00
Vinnie Falco
560071bb68
Make all include paths relative to a root directory:
...
* Better include path support in the VSProject scons tool.
* Various manual fixes to include paths.
2014-06-02 09:16:28 -07:00
Nik Bougalis
2e49ec47a3
Revert "Ste version to 0.25.2-rc1"
...
This reverts commit 3f10924594 .
2014-06-01 16:32:41 -07:00
Mark Travis
3f10924594
Ste version to 0.25.2-rc1
2014-06-01 22:35:12 +00:00
Mark Travis
f8182c335a
Detect paths with illegal bridging offers
2014-06-01 01:26:11 +00:00
Vinnie Falco
1d8d6a6d68
Revert "Improve checking of library versions."
...
This reverts commit 69fccdf5c6 .
2014-05-28 19:04:37 -07:00
Tom Ritchford
69fccdf5c6
Improve checking of library versions.
...
* Correctly handle openSSL version checking on Ubuntu, Debian, OS/X.
* Also check versions of openSSL, Boost, GCC and MSVC at C++ compile time.
* Get rid of over-engineered runtime CheckLibraryVersions.
2014-05-28 17:07:35 -07:00
Nik Bougalis
27e8d44a56
Autobridging:
...
Complete implementation of bridged offers crossings. While processing an offer
A:B we consider both the A:B order book and the combined A:XRP and XRP:B books
and pick the better offers. The net result is better liquidity and potentially
better rates.
* Rearchitect core::Taker to perform direct and bridged crossings.
* Compute bridged qualities.
* Implement a new Bridged OfferCreate transactor.
* Factor out common code from the Bridged and Direct OfferCreate transactors.
* Perform flow calculations without losing accuracy.
* Rename all transactors.
* Cleanups.
2014-05-28 16:35:03 -07:00
Vinnie Falco
72bc4ebf37
Fix VSProject generator item sort
2014-05-28 16:35:02 -07:00
Tom Ritchford
353f32e6af
Fix a few warnings
2014-05-28 09:28:50 -07:00
Howard Hinnant
9bbaa9a2ae
Report whether a ledger is validated:
...
This addresses https://ripplelabs.atlassian.net/browse/RIPD-275
Use Json::StaticString to improve performance.
Use inject_error instead of manually adding errors.
2014-05-28 09:27:22 -07:00
Nicholas Dudfield
096fcefae9
Fix clang/travis, prefer static libs when BOOST_ROOT is set.
2014-05-28 08:32:11 -07:00
Vinnie Falco
0f1e292e34
New http::client_session for making requests:
...
- Add 10,000 popular URL data set for unit tests
2014-05-28 08:31:45 -07:00
Vinnie Falco
195957a7cc
Add ci_char_traits
2014-05-28 07:30:02 -07:00
Vinnie Falco
eb122f45f9
Tidy up includes
2014-05-28 07:29:59 -07:00
Vinnie Falco
c51ac9d6da
Fix rocksdb relative include
2014-05-27 15:23:50 -07:00
Vinnie Falco
97c9d02c43
Improved SConstruct:
...
* Automatic source list built via directory iteration
* Build multiple toolchains and flavors simulaneously:
- Toolchains: gcc, clang, msvc
- Flavors: debug, release
* Documentation on aliases (top of the SConstruct file)
2014-05-27 15:23:50 -07:00
Vinnie Falco
0c06939f38
Beast SCons tools:
...
* Add VSProject SCons Builder
* Add Protoc SCons Builder
* Add Beast build utilities python module
2014-05-27 15:23:49 -07:00
Vinnie Falco
5db677d74d
Tidy up some source filenames:
...
* Add .unity suffix to mark unity sources
* Fix some relative include paths
2014-05-27 15:23:48 -07:00
Nik Bougalis
251ce4efbc
base_uint cleanups:
...
* Remove unused and broken reverse iterators
* Use charUnHex to reduce code duplication
2014-05-27 09:26:18 -07:00
Nik Bougalis
386eabb61f
Convert a unit test to manual
2014-05-26 15:29:48 -07:00
Nik Bougalis
b35eabe161
Optimize SQL query composition
2014-05-26 15:29:48 -07:00
Tom Swirly
9ad9845d69
Initialize unassigned variable bConsumed.
...
* Assigned in the code, but only to false.
* Someday will get assigned to true.
2014-05-23 12:16:24 -07:00
Tom Swirly
74eb25f9b5
RippleCalc: Stop using reference that might have been invalidated.
2014-05-23 12:16:22 -07:00
Nik Bougalis
044f390fe0
Properly standardize RFC1751 inputs
2014-05-23 11:06:43 -07:00
Miguel Portilla
06d6e4901e
Complete NodeStore documentation
...
* Complete README.md
* Add missing doxygen
* Fix getHitRate bug
2014-05-19 10:53:40 -07:00
Tom Swirly
3ca9646329
Refactor the structure of RippleCalc
...
* Split code into multiple files
* Rename and move things
2014-05-19 10:53:40 -07:00
Tom Ritchford
4b3e629dfd
Allow ledgers to be loaded from the command line.
...
Conflicts:
src/ripple_data/protocol/BuildInfo.cpp
2014-05-19 10:53:39 -07:00
Tom Swirly
568fae9878
Add documentation comments
2014-05-19 10:53:39 -07:00
Tom Swirly
a844026f6b
Clean up pre C++1 idioms:
...
* Use auto for in some loops
* Fix shadowing iterator declaration
* Rename NUMBER to ARRAYSIZE.
* Use placeholders instead of macros
* Replace macro BIND_TYPE with std::bind
* Replace BOOST_FOREACH with range-for
2014-05-19 10:53:38 -07:00
Vinnie Falco
b677cacb8c
Set version to 0.25.1
0.25.1
2014-05-15 11:13:54 -07:00
Nik Bougalis
1d66169ef1
Fix rippled-example.cfg to list 'peers_max'
2014-05-15 11:11:16 -07:00
Vinnie Falco
74653e57e6
Use std::string in lexicalCast
2014-05-15 11:11:15 -07:00
Vinnie Falco
29d1d5f062
Set version to 0.25.0
0.25.0
2014-05-14 09:01:44 -07:00
Vinnie Falco
d8e8693d9a
Update rippled-example.cfg
2014-05-13 20:43:39 -07:00
Miguel Portilla
be737e0047
Enable Snappy compression for NodeStore backends.
...
* Configured via config.cfg
2014-05-13 12:21:01 -07:00
Vinnie Falco
83ef06748d
Add snappy compression integration
2014-05-13 12:16:39 -07:00
Vinnie Falco
5a93f9991a
Merge commit '8b0602a5824199d495f6720ef2447f695179257a' as 'src/snappy/snappy'
2014-05-13 12:16:31 -07:00
Vinnie Falco
8b0602a582
Squashed 'src/snappy/snappy/' content from commit 1ff9be9
...
git-subtree-dir: src/snappy/snappy
git-subtree-split: 1ff9be9b8fafc8528ca9e055646f5932aa5db9c4
2014-05-13 12:16:31 -07:00
Vinnie Falco
eb24ca6def
Update .gitattributes
2014-05-13 12:15:59 -07:00
Nik Bougalis
22af79606a
Fix lexicographical compare during tfRequireAuth processing
2014-05-13 12:10:39 -07:00
Nik Bougalis
bee12fb89d
Autobridging future support:
...
* Refactor and cleanup transactors
* Introduce new direct and bridged transactors
* Rename existing transactor to indicate legacy status
* New direct transactor defaults to being turned off (preserve legacy behavior)
2014-05-13 12:09:47 -07:00
Nik Bougalis
1a9fbab165
CBase58Data Refactoring:
...
* Remove unnecessary functions.
* Load from a base_uint const& - don't use void pointers.
* Free comparison functions.
* Explicitly specify encoding alphabet.
* Miscellaneous cleanups.
2014-05-13 08:48:53 -07:00
David Schwartz
9a4b9aa69f
Remove redundant checkAccept call
2014-05-13 08:48:52 -07:00
David Schwartz
227043e51f
Make I/O latency available through server_info
2014-05-13 08:48:51 -07:00