JoelKatz
6b09e49c08
Increase the size of the tree cache:
...
This change will not significantly increase memory consumption
because most entries are pinned anyway.
2014-09-05 11:48:00 -07:00
Nik Bougalis
413218c4c4
Create the directory for the debug_logfile (RIPD-551)
2014-09-04 16:51:31 -07:00
Miguel Portilla
16c04b50ee
Add date to tx command (RIPD-542)
2014-09-04 16:51:31 -07:00
Nik Bougalis
56c18f7768
Cleanups and fixes (RIPD-532):
...
* Properly handle sfWalletLocator field
* Plug a tiny memory leak
* Avoid naked pointers
* Remove unused variables
* Other small cleanups
2014-09-04 16:51:31 -07:00
Tom Ritchford
22ca13bc78
Cleanups to RPC code
2014-09-04 16:51:31 -07:00
Nik Bougalis
39730fc13e
Ticket issuing (RIPD-368):
...
* New CreateTicket transactor to create tickets
* New CancelTicket transactor to cancel tickets
* Ledger entries for tickets & associated functions
* First draft of M-of-N documentation
2014-09-04 16:11:44 -07:00
Nik Bougalis
889c0a0d0f
Transactor refactor:
...
* Allocate transactors on the stack instead of the heap.
* Remove header files and reduce transactor public interface.
2014-09-04 16:11:44 -07:00
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
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
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
Torrie Fischer
101a4808a0
Update includes and scons
2014-08-27 12:37:05 -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
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
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
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
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
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
Tom Ritchford
88a6f2931e
Fix local variable unfundedOffers that was shadowing a class variable.
2014-08-06 09:26:22 -07:00
Vinnie Falco
0955c0d8d3
Set version to 0.26.2-alpha-1
2014-08-05 15:40:34 -07:00
JoelKatz
6bb5be5216
Avoid a mutex 99+% of the time in SField::getField
2014-08-05 15:36:12 -07:00
JoelKatz
c9cd7e4be0
Rewrite STObject::setType for improved performance
2014-08-05 15:36:05 -07:00
Miguel Portilla
ce2cecf046
Add owner_funds to client subscription data (RIPD-377)
...
Conflicts:
src/ripple/module/app/ledger/AcceptedLedger.cpp
2014-08-05 15:04:50 -07:00