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
Tom Swirly
3ca9646329
Refactor the structure of RippleCalc
...
* Split code into multiple files
* Rename and move things
2014-05-19 10:53:40 -07:00
Tom Ritchford
4b3e629dfd
Allow ledgers to be loaded from the command line.
...
Conflicts:
src/ripple_data/protocol/BuildInfo.cpp
2014-05-19 10:53:39 -07:00
Tom Swirly
568fae9878
Add documentation comments
2014-05-19 10:53:39 -07:00
Tom Swirly
a844026f6b
Clean up pre C++1 idioms:
...
* Use auto for in some loops
* Fix shadowing iterator declaration
* Rename NUMBER to ARRAYSIZE.
* Use placeholders instead of macros
* Replace macro BIND_TYPE with std::bind
* Replace BOOST_FOREACH with range-for
2014-05-19 10:53:38 -07:00
Vinnie Falco
b677cacb8c
Set version to 0.25.1
0.25.1
2014-05-15 11:13:54 -07:00
Nik Bougalis
1d66169ef1
Fix rippled-example.cfg to list 'peers_max'
2014-05-15 11:11:16 -07:00
Vinnie Falco
74653e57e6
Use std::string in lexicalCast
2014-05-15 11:11:15 -07:00
Vinnie Falco
29d1d5f062
Set version to 0.25.0
0.25.0
2014-05-14 09:01:44 -07:00
Vinnie Falco
d8e8693d9a
Update rippled-example.cfg
2014-05-13 20:43:39 -07:00
Miguel Portilla
be737e0047
Enable Snappy compression for NodeStore backends.
...
* Configured via config.cfg
2014-05-13 12:21:01 -07:00
Vinnie Falco
83ef06748d
Add snappy compression integration
2014-05-13 12:16:39 -07:00
Vinnie Falco
5a93f9991a
Merge commit '8b0602a5824199d495f6720ef2447f695179257a' as 'src/snappy/snappy'
2014-05-13 12:16:31 -07:00
Vinnie Falco
8b0602a582
Squashed 'src/snappy/snappy/' content from commit 1ff9be9
...
git-subtree-dir: src/snappy/snappy
git-subtree-split: 1ff9be9b8fafc8528ca9e055646f5932aa5db9c4
2014-05-13 12:16:31 -07:00
Vinnie Falco
eb24ca6def
Update .gitattributes
2014-05-13 12:15:59 -07:00
Nik Bougalis
22af79606a
Fix lexicographical compare during tfRequireAuth processing
2014-05-13 12:10:39 -07:00
Nik Bougalis
bee12fb89d
Autobridging future support:
...
* Refactor and cleanup transactors
* Introduce new direct and bridged transactors
* Rename existing transactor to indicate legacy status
* New direct transactor defaults to being turned off (preserve legacy behavior)
2014-05-13 12:09:47 -07:00
Nik Bougalis
1a9fbab165
CBase58Data Refactoring:
...
* Remove unnecessary functions.
* Load from a base_uint const& - don't use void pointers.
* Free comparison functions.
* Explicitly specify encoding alphabet.
* Miscellaneous cleanups.
2014-05-13 08:48:53 -07:00
David Schwartz
9a4b9aa69f
Remove redundant checkAccept call
2014-05-13 08:48:52 -07:00
David Schwartz
227043e51f
Make I/O latency available through server_info
2014-05-13 08:48:51 -07:00
JoelKatz
db3a387224
Fetch pack cleanups:
...
* Limit backed up fetch pack requests
* Cleanups
* Dispatch fetch packs sooner
2014-05-13 08:48:50 -07:00
David Schwartz
0075f36bbc
At level 64, only leaves are allowed
2014-05-13 08:48:49 -07:00
David Schwartz
52f45669d1
Dispatch incoming TX set data
2014-05-13 08:48:48 -07:00
JoelKatz
294a13d653
Put newly-created nodes in the treeNodeCache
2014-05-13 08:48:48 -07:00
JoelKatz
eed66894db
SHAMap::canonicalize must return a node with the correct ID
2014-05-13 08:48:47 -07:00
Vinnie Falco
1434695c47
Fix vs2013 availability of make_reverse_iterator
2014-05-13 08:38:02 -07:00
Tom Swirly
390ea65e15
Refactor RippleCalc.cpp:
...
* Add comments
* Restrict code to 80 colums
* Remove boost::format
* Remove BOOST_FOREACH
* Make members private
* Add ripple_unordered_set to UnorderedContainers.h
* Replace boost::unordered_set with ripple::unordered_set
2014-05-09 12:03:57 -07:00
David Schwartz
6f2bcc6fb0
Keep SHAMapNodes that fault in handling client requests.
2014-05-09 11:46:24 -07:00
David Schwartz
66a762d504
Rework handling of modified ledger nodes:
...
* Track dirty nodes in a set
* Make flushDirty a member function
* Don't write deleted nodes
* Make sure new nodes are shareable
* Put new nodes in the treeNodeCache
2014-05-09 11:46:15 -07:00
David Schwartz
aaabec0b55
Use last closed ledger for old pathfinding
2014-05-09 11:46:05 -07:00
Nik Bougalis
6339800946
Refactor base_uint<> and STAmount::getText:
...
base_uint<>:
* Remove unnecessary typedefs and derived classes
* Factor out common code and eliminate redundancies
* Add tag support to improve type safety
* base_uint::ToString() -> to_string(base_uint const&)
* base_uint::GetHex() -> to_string(base_uint const&)
STAmount::getText:
* Don't overallocate
* Eliminate unnecessary copying
2014-05-09 11:45:44 -07:00
Nik Bougalis
a3e4a34021
Implement C++14 std::make_reverse_iterator
2014-05-09 11:45:10 -07:00
David Schwartz
6fcf3fedb6
Use Json::StaticString to improve performance:
...
* Move JSON-RPC fields to jsonrpc_fields.h
2014-05-07 13:04:35 -07:00
David Schwartz
34cbb26e47
Improved performance monitoring of NodeStore backends:
...
* Add multi-sample interface to LoadMonitor
* Instrument fetch operations and completions for reporting in server_info
2014-05-05 14:17:23 -07:00
David Schwartz
07d0379edd
Reduce number of async fetches
2014-05-05 14:17:23 -07:00
Tom Swirly
96e8cddfc2
New strConcat concatenates strings in O(n) time.
...
* Accepts std::string and char const*.
* Also accepts numbers, bools and chars.
* New ripple::toString function augments std::to_string to handle
bools and chars.
2014-05-05 14:17:23 -07:00