Vinnie Falco
1ce0f94638
Define OPENSSL_NO_SSL2
2014-07-17 10:18:37 -07:00
Vinnie Falco
f876ad973f
Fix static_initializer: …
...
* Prevents double construction, invalid access
* Unit test works on MSVC and non MSVC
2014-07-16 16:43:17 -07:00
Tom Ritchford
6014b13234
Use Books in Ledger.
2014-07-15 21:16:42 -07:00
Vinnie Falco
3e9c702c47
Support stream composition of testcase names
2014-07-15 18:23:01 -07:00
Vinnie Falco
3ff919ccf1
Fix version to say 'rippled'
2014-07-15 13:03:40 -07:00
evhub
8dc0844c79
Fix VSProject item sorting (again)
...
Conflicts:
src/beast/site_scons/site_tools/VSProject.py
2014-07-15 12:51:57 -07:00
David Schwartz
a2764b68ca
Rate-limit SSL client renegotiation (RIPD-360)
2014-07-14 10:42:29 -07:00
Tom Ritchford
bbbae072ea
Simplify initialization of Pathfinder using C++11 constructs.
2014-07-14 10:04:27 -07:00
evhub
b4735b5931
Fix VSProject item sorting:
...
* Use object type in the sort key
* Call _key recursively over containers
* Prevent passing of iterators to xsorted
* Fix VSProject generator with new sorting
2014-07-14 10:04:07 -07:00
Tom Ritchford
418638ad16
Serialization code improvements:
...
* Add generics to eliminate duplicate code in STHash
* Use generics in Serializer and callers
2014-07-11 12:00:49 -07:00
Scott Schurr
9fb09d3109
Pass and use time_point in DecayingSample ctor (RIPD-359)
...
Switches a number of places in Resource::Logic to use abstract_clock::now()
which returns a time_point. Unfortunately Resource::Logic tracks time
locally also, but with ints, not time_point. So Resource::Logic uses a
delicate mix of abstract_clock::now() and abstract_clock::elapsed() with
this commit. That inconsistency could be addressed in a second commit.
2014-07-11 12:00:39 -07:00
Tom Ritchford
d7e08f96a5
Various tidying:
...
* Fix unused variable warnings.
* Clean unused items from TER.
* Improvement to LES use of shared_ptr.
2014-07-10 15:11:33 -07:00
JoelKatz
4d49d272eb
Fix account_tx resume (RIPD-314)
2014-07-10 15:11:33 -07:00
JoelKatz
faa6890950
Find 'sabfd' paths (RIPD-335)
...
This permits USD/GW1 to be bridged to USD/GW2 by BTC/GW3 or
USD/GW1 to be bridged to BTC/GW2 by CNY/GW3.
2014-07-10 15:11:33 -07:00
David Schwartz
9c390f6da4
Impose a local limit on path lengths (RIPD-350)
2014-07-10 15:09:06 -07:00
Scott Schurr
6842277977
Add documentation for ledger entries (RIPD-361)
2014-07-10 15:08:07 -07:00
Nik Bougalis
10150a7352
Patch Boost to suppress warnings on clang
2014-07-06 15:17:58 -07:00
Scott Schurr
baaa45f8c7
SHAMap Documentation
2014-07-06 14:57:59 -07:00
Tom Ritchford
322af30d6a
Pathfinding Documentation
2014-07-06 14:57:59 -07:00
Tom Ritchford
206efbf30d
Rename RippleAsset to Issue and RippleBook to Book:
...
* Split STAmount out of SerializedTypes.h
* New concept of "Issue consistency": when either both or neither of its
currency and account are XRP.
* Stop checking for consistency of Issue in its constructor.
* Clarification of mIsNative logic in STAmount.
* Usual cleanups.
2014-07-06 14:57:59 -07:00
Tom Ritchford
a96dee85d2
Remove recursions from computeLiquidity
2014-07-06 14:57:58 -07:00
Vinnie Falco
d307568cbc
Update rocksdb unity file
2014-07-03 17:49:17 -07:00
Vinnie Falco
0ee27b143c
Merge commit '7bfb4a9ba5a2822f7d9ef7122b1388aea4be9404' as 'src/rocksdb'
2014-07-03 17:49:00 -07:00
Vinnie Falco
7bfb4a9ba5
Squashed 'src/rocksdb/' content from commit 78b8a7d
...
git-subtree-dir: src/rocksdb
git-subtree-split: 78b8a7d908
2014-07-03 17:49:00 -07:00
Vinnie Falco
110c73fc8d
Remove rockdb subtree
2014-07-03 17:43:48 -07:00
Vinnie Falco
424d9b8385
Add preliminary Structured Overlay docs
2014-07-03 14:34:38 -07:00
Vinnie Falco
1b48ccc868
Fix base log partition severity
2014-07-03 11:57:14 -07:00
Howard Hinnant
fac82204b6
Remove boost::hash_value() overloads.
...
This addresses https://ripplelabs.atlassian.net/browse/RIPD-102
2014-07-02 15:33:11 -07:00
David Schwartz
61f114e655
Cleanup confusion of ledger base versus ledger header
...
The "ledger header" is the chunk of data that hashes to the
ledger's hash. It contains the sequence number, parent hash,
hash of the previous ledger, hash of the root node of the
state tree, and so on.
The term "ledger base" refers to a particular type of query
and response used in the ledger fetch process that includes
the ledger header but may also contain other information
such as the root node of the state tree.
2014-07-02 15:33:10 -07:00
MarkusTeufelberger
24410bf1bb
Update Sconstruct
2014-07-01 19:12:47 -07:00
Vinnie Falco
aa24969eee
Add README.md for ledger process
2014-07-01 12:42:41 -07:00
David Schwartz
a5297d13c4
Add new memo restrictions
2014-07-01 12:13:47 -07:00
David Schwartz
b06bdb83cb
Fix a case where we put an extra node in the SHAMapDiff
2014-07-01 12:13:13 -07:00
David Schwartz
914778eae1
In JSON, output unprintable currency codes as hex
2014-06-30 16:40:53 -07:00
Nicholas Dudfield
e14c700c60
New integration tests:
...
* New tests for autobridging and freeze
* Discrepancy detection tests
* Don't let Mocha suppress load time errors
2014-06-28 18:27:33 -07:00
wltsmrz
0848e348bb
Update ripple-lib integration tests
2014-06-28 13:17:31 -07:00
Vinnie Falco
3d5ae42660
Structured Overlay support:
...
* Add Peer Protocol detector
* Add RIPPLE_SINGLE_IO_SERVICE_THREAD setting
* Preliminary HTTP header parsing logic (disabled)
2014-06-26 18:24:50 -07:00
Vinnie Falco
f207b6b4c9
Improvements to HTTP parsing
2014-06-26 17:41:12 -07:00
David Schwartz
ed2c5078ad
Tighten up some serialization checks
2014-06-26 17:16:34 -07:00
sublimator
aec792f5b8
Restore checkpointed ledger under all paths in PathFind.
2014-06-26 17:16:34 -07:00
Nik Bougalis
17d64de3d5
During playback close ledger before accepting
2014-06-26 17:16:34 -07:00
Tom Ritchford
f6bea08535
Update state during pathfinding
2014-06-26 17:16:33 -07:00
Tom Ritchford
feab6c39b3
New types Account, Currency, Directory:
...
* New tagged uint types.
* Extract to_string functions from header to hide dependencies.
* Include what you use and C++11 for cleanups.
2014-06-26 17:16:30 -07:00
Nik Bougalis
e999c76882
Autobridging:
...
* Remove legacy OfferCreate transactor
* Misc. cleanups on LedgerEntrySet
* Fix a subtle bug with arithmetic operations on Quality
* Sanity check offers after taking
2014-06-26 12:03:52 -07:00
Miguel Portilla
686cc599a2
Add ASIO strand to StatsDCollector
2014-06-26 12:03:51 -07:00
Vinnie Falco
92983556a0
Fix bug in VSProject when no LIBPATH in env
2014-06-26 12:03:51 -07:00
Scott Schurr
837872c3f3
Move static treeNodeCache from SHAMap to the Application
...
These changes address two JIRA issues:
- 291 unittest reported leaked objects
- 292 SHAMap::treeNodeCache should be a dependency injection
The treeNodeCache was a static member of SHAMap. It's now a
non-static member of the Application accessed through
getTreeNodeCache(). That addressed JIRA 291
The SHAMap constructors were adjusted so the treeNodeCache is
passed in to the constructor. That addresses JIRA 292, It required
that any code constructing a SHAMap needed to be edited to pass
the new parameter to the constructed SHAMap.
In the mean time, SHAMap was examined for dead/unused code and
interfaces that could be made private. Dead and unused interfaces
were removed and methods that could be private were made private.
2014-06-26 11:10:51 -07:00
Tom Ritchford
55222dc5d1
New types Account, Currency, Directory:
...
* New tagged uint types.
* Extract to_string functions from header to hide dependencies.
* Include what you use and C++11 for cleanups.
2014-06-24 11:11:25 -07:00
David Schwartz
adce6ae851
Ledger loading cleanups:
...
* Fix close time settings for ledger load
* More info in ledger_request and inbound ledger JSON replies
2014-06-23 20:19:53 -07:00
Howard Hinnant
9dc32cb791
SHAMap refactoring:
...
* Rename SHAMapNode to SHAMapNodeID.
* Cleanups
2014-06-23 20:19:53 -07:00