JoelKatz
809359e81e
Correctly handle empty account tree in ledger fetch
2014-01-14 11:24:32 -08:00
JoelKatz
6e4cd5bc9c
Don't send nodes twice in getNodeFat
2014-01-14 11:24:01 -08:00
NATTSiM
de018bd582
Improved PropertyStream find and print routines
2014-01-13 21:51:31 -08:00
Vinnie Falco
544642a6ea
Fix io_latency_probe hang on exit
2014-01-13 18:24:22 -08:00
JoelKatz
06737bb36f
SHAMapSync bugfix. Cannot avoid push in getMissingNodes
2014-01-13 09:50:54 -08:00
JoelKatz
7efbfa2d20
Limit legacy pathfinding requests
2014-01-10 23:09:26 -08:00
Vinnie Falco
4d5df92cbc
Add io_latency_probe
2014-01-10 22:54:00 -08:00
David Schwartz
1fcb2872b9
Reduce log priorities.
2014-01-10 22:54:00 -08:00
David Schwartz
00c87ca2dd
Add LES::dirIsEmpty function to check if a directory is empty
2014-01-10 22:53:59 -08:00
JoelKatz
d474d68566
Order book subscribe cleanups.
2014-01-10 22:53:59 -08:00
David Schwartz
93e03804d0
SHAMapSync cleanups and performance improvements
2014-01-10 22:53:58 -08:00
JoelKatz
4591658160
PathRequests object to own all path requests.
2014-01-10 22:53:57 -08:00
JoelKatz
a2109b4bda
Remove files inadvertently added
2014-01-10 22:53:57 -08:00
Vinnie Falco
deafea9c88
[REMOVE] Allow gcc 4.7 and later
2014-01-10 22:53:57 -08:00
Nicholas Dudfield
93f1a05f5c
Update build for gcc 4.8.x:
...
* Use gcc 4.8.x, boost 1.54
* Honor CC,CXX,PATH environment variables
* Prevent compilation with unsupported toolchains
* Print g++ version during Travis build
* Run built-in unit tests after Travis build
2014-01-10 16:24:17 -08:00
Vinnie Falco
95a573b755
Set version to 0.20.1
0.20.1
2014-01-08 17:08:27 -08:00
Nik Bougalis
2a4623814c
Don't log StatsD messages to the console by default
2014-01-08 16:57:47 -08:00
Vinnie Falco
1017adf743
Set version to 0.20.0
0.20.0
2014-01-08 16:15:12 -08:00
Vinnie Falco
34fb12344c
Fix JobQueue
2014-01-08 14:55:10 -08:00
Vinnie Falco
ce3358bdf8
Improve diagnostics for ResourceManager
2014-01-08 11:18:46 -08:00
Vinnie Falco
1159dadfdb
Fix missing jtACCEPT job limit
2014-01-08 11:18:45 -08:00
Vinnie Falco
62516ef07f
Refactor TaggedCache
2014-01-07 21:14:14 -08:00
Vinnie Falco
eecd305efd
Add std::hash <std::pair> specialization
2014-01-07 21:14:13 -08:00
Vinnie Falco
a83fa6b2b2
Fix warning in chrono_io
2014-01-07 21:14:07 -08:00
Vinnie Falco
b2feafa94c
Use abstract_clock and improved tests, in ResourceManager
...
Conflicts:
Builds/VisualStudio2012/RippleD.vcxproj.filters
2014-01-07 17:23:26 -08:00
Vinnie Falco
2d234e500d
Add abstract_clock, manual_clock, chrono_io
...
Conflicts:
src/beast/Builds/VisualStudio2012/beast.vcxproj.filters
2014-01-07 17:17:26 -08:00
Vinnie Falco
fee0e7b20e
Fix bind in call to addJob
2014-01-07 17:08:01 -08:00
JoelKatz
a0f6429652
Add LedgerHolder class, use in LedgerMaster
2014-01-07 15:57:51 -08:00
JoelKatz
8f8b2ae4a3
Handle offers in quality directory but not in ledger
2014-01-07 15:57:50 -08:00
JoelKatz
9abdd16721
Release the master lock earlier in a few cases
2014-01-07 15:57:50 -08:00
JoelKatz
1e5963aeeb
Move some operations from the I/O queue to the Job queue
2014-01-07 15:57:50 -08:00
JoelKatz
e25a83bb39
Some tiny bugfixes:
...
* Don't let ledger idle interval get too short
* Fix CBigNum::setuint256
* Fix SqliteStatement::isError
* Remove dead code, fix incorrect comments
* Check for NULL earlier in CKey constructors
* Prevent expire times from underflowing in TaggedCache
2014-01-07 15:57:49 -08:00
David Schwartz
e3a67b13ff
Reset liquidity before retrying rippleCalc
2014-01-07 15:57:48 -08:00
JoelKatz
750cbb8399
Improvements because items in SHAMaps are immutable:
...
* SHAMapItem::getData is not needed
* SHAMapTreeNode::getItem is not needed
* SHAMapTreeNode::getData is not needed
* No need to copy them when constructing transactions
* No need to copy them when computing map deltas
* No need to copy them in deepCompare
* No need to copy them in SHAMapTreeNode's copy constructor
2014-01-07 15:57:48 -08:00
JoelKatz
045beb5f36
Concurrent SHAMap code
...
Use shared lock for SHAMap itself and concurrent map for nodes
2014-01-07 15:57:47 -08:00
JoelKatz
cd8234acba
Pathfinding bugfix. Missing lock.
2014-01-07 15:57:46 -08:00
JoelKatz
de85a7c2bd
Pathfinding improvements:
...
* Make each path request track whether it needs updating.
* Improve new request handling, reverse order for processing requests.
* Break to handle new requests immediately.
* Make mPathFindThread an integer rather than a bool. Allow two threads.
* For old pathfinding, if the ledger is unspecified, use the PathRequest's RippleLineCache.
* Log new pathfinding request latencies.
* Suspend processing requests if server is backed up.
2014-01-07 15:57:46 -08:00
Vinnie Falco
087301933a
General refactoring, using C++11
...
* Remove broken RecycledObjectPool
* Fix beast::ServiceQueue using List instead of LockFreeStack
* Add class semaphore, fixes broken Semaphore
* Move crytpo module files to new beast directory
* Use c++11 replacements for boost and beast types:
- std::atomic instead of beast::Atomic
- std::function instead of boost::function, beast::function
- std::unique_ptr instead of beast::ScopedPointer
- std::shared_ptr instead of boost::shared_ptr
* Remove modules:
- beast_db
- beast_crypto
- beast_extras
* Remove unnecessary classes:
- AbstractFifo
- AddConst
- AtomicCounter
- AtomicFlag
- AtomicPointer
- AtomicState
- CopyConst
- Expression
- ForwardList
- IfCond
- Interval
- IntrusiveArray
- KeyvaDB
- PointerToOther
- PointerTraits
- RemoveConst
- RemoveConstVolatile
- RemoveReference
- RemoveVolatile
- SharedObjectArray
- SingleThreadedSharedObject
- SophiaDB factory
- SortedSet
- WeakReference
- beast::unique_ptr
2014-01-07 15:57:45 -08:00
JoelKatz
52333b8bd4
Fix a compiler warning in Ledger::visitStateItems
2014-01-07 15:48:50 -08:00
JoelKatz
3768b3c3ca
Fix a pathfinding bug
2014-01-07 15:48:50 -08:00
JoelKatz
09b39e107d
Fix subscribing to "real time" transactions.
2014-01-07 15:48:49 -08:00
Vinnie Falco
4b1155bf32
Improved diagnostic for RocksDB error codes
...
Conflicts:
Builds/VisualStudio2012/RippleD.vcxproj.filters
2014-01-07 15:46:38 -08:00
Vinnie Falco
3c7fc31c95
Add ripple_common module
...
Conflicts:
Builds/VisualStudio2012/RippleD.vcxproj.filters
2014-01-07 15:15:44 -08:00
Nicholas Dudfield
da3881a486
Make websocket-test the first test, and give custom timeouts of 1000ms
2014-01-05 13:40:47 +07:00
Nicholas Dudfield
ff12d9adaa
Run server-test and websocket-test first. Show stderr upon abnormal rippled exit
2014-01-05 13:09:42 +07:00
Vinnie Falco
528cf56f80
Reduce StatsDCollector log verbosity
2014-01-02 19:32:27 -08:00
Vinnie Falco
0ebe3f1f35
Disable NameResolver temporarily
2014-01-02 16:12:55 -08:00
Vinnie Falco
328680b6cd
Fix Resolver contract check
2014-01-02 16:10:49 -08:00
Vinnie Falco
f9dca105a6
Improved async stop for Resolver
...
Conflicts:
src/ripple_app/peers/NameResolver.cpp
2014-01-02 15:38:03 -08:00
Vinnie Falco
3664db61e7
Fix static storage duration issue with some Journal logs
2014-01-02 15:21:33 -08:00