David Schwartz
dcf4ad2c21
Ledger load and ledger replay fixes:
...
* Stash the loaded ledger where consensus can find it.
* When loading a ledger for startup, try the backend too
* Apply replay transactions to a mutable snapshot
2014-06-16 17:29:11 -07:00
Nik Bougalis
04dd861fe3
Cleanup:
...
* Remove is_bit_set and use regular bitwise operations instead.
* Remove the function-like macro "nothing".
2014-06-16 17:29:11 -07:00
Vinnie Falco
c8ee6c6f6d
Use std::thread instead of boost::thread
2014-06-16 16:18:10 -07:00
Vinnie Falco
a57e4263d7
Fix MSVC workaround in basic_seconds_clock
2014-06-16 16:18:09 -07:00
Vinnie Falco
3d58f0d941
Add static_initializer
2014-06-16 16:18:09 -07:00
Vinnie Falco
a52c9232c4
Tidy up basics module:
...
* Move directory up
* Remove unity includes and "include what you use"
2014-06-15 18:51:05 -07:00
Vinnie Falco
7a059c7a73
Remove ScopedPointer, ContainerDeletePolicy
2014-06-15 18:35:12 -07:00
Vinnie Falco
506910147f
Tidy up includes:
...
* Replace boost with std equivalents:
- bind, ref, cref, function, placeholders
* More "include what you use"
* Remove unnecessary includes
2014-06-15 18:26:50 -07:00
Vinnie Falco
cf3eb24eb0
Move nodestore to its own module
2014-06-15 12:50:44 -07:00
Vinnie Falco
d965b23b2a
Add missing beast includes
2014-06-15 12:37:52 -07:00
Vinnie Falco
f660743065
Remove unused SHAMap::getItem
2014-06-13 14:00:17 -07:00
David Schwartz
4559bd9030
Improve the way we declare a close time consensus
2014-06-12 10:20:48 -07:00
David Schwartz
3ac98fb101
SyncUnorderedMap cleanup
2014-06-12 10:14:47 -07:00
David Schwartz
aff52db289
Re-use the serializer
2014-06-12 10:14:47 -07:00
David Schwartz
ea27dfe08d
Find 'sbfd' paths.
2014-06-12 09:41:52 -07:00
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