Nik Bougalis
a3fe089367
Fix missing return value error check
2014-09-02 08:45:19 -07:00
Vinnie Falco
61006e626d
Also report mismatched built ledger
2014-08-28 18:03:50 -07:00
Nik Bougalis
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
2014-08-28 15:57:29 -07:00
Vinnie Falco
c65fb91878
Fix special members for http classes
2014-08-28 12:38:03 -07:00
Vinnie Falco
04bcd93ba3
HTTP(S)-RPC server improvements (RIPD-489, RIPD-533):
...
* Correct handling of Keep-Alive in socket handlers
* Report session history in print command
2014-08-27 18:06:30 -04:00
Vinnie Falco
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
2014-08-27 18:06:30 -04:00
Edward Hennis
aa4b116498
Wrap RippleCalc into a single function (RIPD-500):
...
* Change public members of Input and Output to remove trailing _.
* Remove Input constructor and separate flags in RippleCalc to reduce
duplication and confusion.
* Make calculation result private; add getter.
* Narrow scope of some of the results of calls to rippleCalculate.
2014-08-27 18:05:30 -04:00
Edward Hennis
612bb71165
Add enable_if_lvalue
2014-08-27 17:10:24 -04:00
Torrie Fischer
5c67f99ef9
Remove old rocksdb/
2014-08-27 12:37:13 -07:00
Torrie Fischer
101a4808a0
Update includes and scons
2014-08-27 12:37:05 -07:00
Torrie Fischer
7f25d88f02
Merge commit '1d38671f5edc2322bc58417816674cc629ae7a70' as 'src/rocksdb2'
2014-08-27 12:36:50 -07:00
Vinnie Falco
be830d3dad
Set version to 0.26.3-rc2
2014-08-26 10:00:03 -07:00
Nik Bougalis
5bc949d70f
Fix a unit test warning
2014-08-26 10:00:03 -07:00
JoelKatz
61623d6d75
Improve parallelization of getRippleLines
2014-08-26 09:28:10 -07:00
David Schwartz
9aad60f56d
Make sure we update mTNByID when we replace the root
2014-08-26 09:28:09 -07:00
Vinnie Falco
e7cf3e8084
Add ledger.history.mismatch insight statistic
2014-08-26 09:28:07 -07:00
Tom Ritchford
e024e7c2ec
Compile git tags now include name and branch. (RIPD-493)
2014-08-22 18:10:17 -04:00
Edward Hennis
2b69ded1ea
Convert rvalue to an lvalue. (RIPD-494)
...
* The rvalue gets destructed as soon as "rc" is constructed.
2014-08-22 18:10:17 -04:00
Vinnie Falco
7230ef41ee
Fix warnings and compile errors
2014-08-20 17:44:00 -07:00
Josh Juran
af75b55ef7
src/README.md: s/addded/added/
2014-08-20 16:19:28 -07:00
Vinnie Falco
9ecb37dd4f
Add validators aged container test
2014-08-20 16:09:52 -07:00
Vinnie Falco
2e3784a914
Tidy up sources
2014-08-20 16:09:51 -07:00
Scott Schurr
019c1af435
Use aged containers in Validators module (RIPD-349)
2014-08-20 16:09:51 -07:00
Vinnie Falco
5322955f2b
Fix exception safety in aged containers
2014-08-20 16:09:50 -07:00
Howard Hinnant
a8ea4ce283
Fix move constructor of aged_unordered_container (RIPD-490)
2014-08-20 16:08:59 -07:00
Tom Ritchford
e889183fc5
JSON cleanups:
...
* Fix Json headers to include what they use.
* Get rid of ripple/json/api directory.
2014-08-13 20:36:36 -07:00
Jeff Trull
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.
2014-08-13 19:00:17 -07:00
Nik Bougalis
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
2014-08-13 18:46:32 -07:00
Nik Bougalis
d562c5b2d5
Account for high-ascii (RIPD-464)
2014-08-13 18:46:32 -07:00
Tom Ritchford
901ccad0cf
Clarify unfunded offer deletion strategy.
2014-08-13 18:33:03 -07:00
Miguel Portilla
8368798ad2
Add owner_funds to subscription streams (RIPD-377)
2014-08-12 11:56:07 -07:00
Miguel Portilla
af7cd3cc04
Fix unhandled exception in async HTTP server (RIPD-475)
2014-08-12 11:46:45 -07:00
Howard Hinnant
9552551f9a
Refactor SField (RIPD-431)
...
* Restrict access to SField constructors.
* Make all SField access const.
* Hide and simplify databases used to hold SField constants.
* Separate the two concerns of representing a field,
and maintaining a database of fields.
2014-08-08 19:16:51 -07:00
Edward Hennis
1c73a0f649
Remove unused code:
...
* StringConcat was only being referenced by unit test.
* `runall.sh` is no longer needed. Use `npm test` instead.
2014-08-08 19:16:42 -07:00
Tom Ritchford
e3698b2a07
Fix Pathfinder::getPathsOut to use Issue
2014-08-08 19:16:34 -07:00
Tom Ritchford
c841f8b360
Add the git tag to the compile (RIPD-238)
2014-08-08 19:16:33 -07:00
Nik Bougalis
27b48bc16e
Refactor beast::SemanticVersion (RIPD-199)
2014-08-08 14:57:39 -07:00
Nik Bougalis
398095a667
Cleanups and performance optimizations (RIPD-450):
...
* Remove AccountItems and AccountItem
* Restructure RippleLineCache to not require shared_ptr
* Avoid expensive copies of base_uint<160> in RippleState
2014-08-08 14:57:39 -07:00
Nik Bougalis
80095824b9
Remove obsolete nickname support
2014-08-08 14:57:39 -07:00
Nik Bougalis
d91c1f96cc
Detect node store batch write failures (RIPD-270):
...
* Raise open file limit from the soft max to the hard max.
2014-08-08 14:57:39 -07:00
Howard Hinnant
1c005a0292
Fix macro setting for rocksdb unity file
2014-08-08 14:50:15 -07:00
miguelportilla
c7ced496ac
Update rocksdb unity file (RIPD-352)
2014-08-08 15:42:41 -04:00
Vinnie Falco
d4ff18834c
Merge commit 'f86d9fd626df1cee55bce4c577d06bb064dc827b' as 'src/rocksdb'
2014-08-08 11:57:41 -07:00
Vinnie Falco
854604f724
Remove rocksdb in preparation for subtree add
2014-08-08 11:57:29 -07:00
Vinnie Falco
cfd3642cb1
Set version to 0.26.2-alpha-4
2014-08-07 17:13:55 -07:00
Tom Ritchford
f493590604
Logic fix for multiquality issues.
2014-08-07 17:10:38 -07:00
Vinnie Falco
8c084a3de8
Set version to 0.26.2-alpha-3
2014-08-07 10:13:22 -07:00
Tom Ritchford
985aa803a4
Fix error with multi-quality paths.
2014-08-07 10:12:09 -07:00
Vinnie Falco
9e319d7bd6
Set version to 0.26.2-alpha-2
2014-08-06 10:16:13 -07:00
David Schwartz
a122e176d7
Pathfinding fixes:
...
* Don't consider global freeze if not enforcing
* Log if a covering path fails to cover
2014-08-06 10:16:12 -07:00