Tom Ritchford
27620af1bf
Further cleanups of RippleCalc.
...
* Rename many variables.
* Make most of PathState private.
* Extract out common Node::isAccount() code.
* Rename bConsumed to allLiquidityConsumed_.
* Extract out code into PathState::clear().
2014-06-09 12:57:26 -07:00
Tom Ritchford
bf116308d4
Add newer validators to validators-example.txt
2014-06-09 12:41:27 -07:00
Tom Ritchford
3fb27d98ab
Clean up LookupLedger and resolve issue 278.
...
* Use beast::zero to resolve issue 278.
* Rename variables and simplify logic.
* Restrict to 80 columns.
2014-06-09 12:40:38 -07:00
Tom Ritchford
7e45c17730
Rename ledger_get to ledger_request.
2014-06-09 12:37:24 -07:00
Tom Ritchford
626533d4a7
Clean up RPC messages from Main
2014-06-09 12:37:23 -07:00
Tom Ritchford
39719f4c17
Rearrange branch in accordance with new practices.
2014-06-09 12:37:23 -07:00
JoelKatz
526bd88dc4
Add ledger_get RPC command to fetch a ledger from the network
...
Conflicts:
Builds/VisualStudio2013/RippleD.vcxproj
Builds/VisualStudio2013/RippleD.vcxproj.filters
Builds/VisualStudio2013/RippleD2.vcxproj
Builds/VisualStudio2013/RippleD2.vcxproj.filters
src/ripple_rpc/impl/Handlers.cpp
2014-06-09 12:37:22 -07:00
Vinnie Falco
37201ecaa6
Include BeastConfig.h from the root include path
2014-06-09 12:35:16 -07:00
Vinnie Falco
02ed879837
Update VS project file
2014-06-06 07:39:55 -07:00
Vinnie Falco
8b881d3a77
Add CBase58Data::hash_append
2014-06-05 20:00:24 -07:00
Miguel Portilla
f25456ce25
Fix VSProject.py extra dot
2014-06-05 17:47:46 -07:00
mDuo13
dfb1db4ab3
Return correct error for missing pathfinding request. Fixes RIPD-293
2014-06-05 17:47:28 -07:00
Vinnie Falco
4362cb660b
Replace boost::shared_ptr with std::shared_ptr
2014-06-05 13:04:23 -07:00
Vinnie Falco
1aa0749ba8
Update rocksdb unity build
2014-06-04 17:20:43 -07:00
Vinnie Falco
c7f1f6a91f
RocksDB changes to support unity build:
...
* Remove extra definition of TotalFileSize
* Remove extra definition of ClipToRange
* Move EncodedFileMetaData out from anonymous namespace
* Move version_set Saver to its own namespace
* Move some symbols into a named namespace
* Move symbols out of anonymous namespace (prevents warning)
* Make BloomHash inline
2014-06-04 17:15:28 -07:00
Vinnie Falco
888a3fec21
Merge commit '8514b88974c71c0fa85bb154507536ee49c33458' as 'src/rocksdb'
2014-06-04 16:10:38 -07:00
Vinnie Falco
8514b88974
Squashed 'src/rocksdb/' content from commit 457bae6
...
git-subtree-dir: src/rocksdb
git-subtree-split: 457bae6911
2014-06-04 16:10:38 -07:00
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
e70d618aff
Set version to 0.25.2-rc1
2014-06-01 22:51:13 +00:00
Mark Travis
3e4cf426bd
Detect paths with illegal bridging offers
2014-06-01 22:45:55 +00: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