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
Nicholas Dudfield
4c7fd18230
Ticket integration tests
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
624a803955
Handle whitespace separating an 'ip port' correctly (RIPD-552)
2014-09-04 12:26:27 -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
Tom Ritchford
95c1c5f54e
Stream generated JSON.
2014-08-28 12:38:21 -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
Tom Ritchford
9160b46c1e
Bug fixes and new features for LedgerTool:
...
* Fix RIPD-509, RIPD-514, RIPD-519, RIPD-525, RIPD-527, RIPD-529,
RIPD-530 and RIPD-531.
* Protect people from ledger-spew and remove cruft.
* Better error messages and handling.
* Cache command lists or clears ledger cache.
* Better ledger summaries.
* Offline mode.
2014-08-27 18:05:44 -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
Torrie Fischer
1d38671f5e
Squashed 'src/rocksdb2/' content from commit 37c6740
...
git-subtree-dir: src/rocksdb2
git-subtree-split: 37c6740c383bb9a6ee2747b04f08bc77fcfa10c5
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
Vinnie Falco
43817bd722
Merge remote-tracking branch 'upstream/release' into tmp
2014-08-26 09:46:29 -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
6fc136ae9a
Update npm tests & config to pass in Windows. (RIPD-209)
...
* Extend timeout for WebSocket test.
* Windows networking doesn't like connecting to 0.0.0.0. Use 127.0.0.1
* Additional command line options in config. Can potentially be used to run rippled in a debugger.
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
Tom Ritchford
8dd799aa6f
New command line LedgerTool. (RIPD-243)
...
* Retrieve and process summary or full ledgers.
* Search using arbitrary criteria (any Python function).
* Search using arbitrary formats (any Python function).
* Caches ledgers as .gz files to avoid repeated server requests.
* Handles ledger numbers, ranges, and special names like validated or closed.
2014-08-22 18:10:11 -04:00
Vinnie Falco
7230ef41ee
Fix warnings and compile errors
2014-08-20 17:44:00 -07:00
Edward Hennis
a86f0a743c
Clean up some docs
...
* Consistent line endings in rippled-example.cfg
* Rewrite CodingStyle.md. Get down to top priorities
2014-08-20 16:20:15 -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
Mark Travis
c12862f60d
Enable heap profiling with jemalloc:
...
The jemalloc library (which must be downloaded and installed separately)
is required to perform heap profiling. Instructions on how to enable heap
profiling with rippled are available in doc/HeapProfiling.md
2014-08-13 20:36:38 -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
Nik Bougalis
d7b054c3f6
When compiling debug builds with GCC use _FORTIFY_SOURCE=2:
...
This gcc/glibc feature adds some (supposedly) lightweight checks which can
help detect errors such as buffer overflows.
2014-08-13 18:33:30 -07:00
Tom Ritchford
901ccad0cf
Clarify unfunded offer deletion strategy.
2014-08-13 18:33:03 -07:00
Vinnie Falco
b9454e0f0c
Set version to 0.26.2
2014-08-12 12:19:13 -07:00
Vinnie Falco
26181907fc
Merge branch 'release-next' into release
...
Conflicts:
src/ripple/module/app/paths/cursor/ForwardLiquidity.cpp
src/ripple/overlay/tests/peer_info.test.cpp
src/ripple/unity/http.h
2014-08-12 12:19:04 -07:00
Miguel Portilla
8368798ad2
Add owner_funds to subscription streams (RIPD-377)
2014-08-12 11:56:07 -07:00
Miguel Portilla
ed597e5e99
Add owner_funds to subscription streams (RIPD-377)
2014-08-12 11:54:49 -07:00