Tom Ritchford
6335e34395
Simplify locking and move a typedef.
...
* Make DatabaseCon's lock private and expose a scoped lock_guard.
* Get rid of DeprecatedRecursiveMutex and DeprecatedScopedLock entirely.
* Move CancelCallback to Job where it logically belongs.
2014-07-23 19:38:52 -07:00
Scott Schurr
02c2029ac1
Add more documentation of ledger acquisition (RIPD-373)
...
Capturing information from a seminar on the topic into the source tree.
2014-07-23 19:29:13 -07:00
Miguel Portilla
63f099f2f6
Fix book_offers limit parameter (RIPD-295)
...
Conflicts:
src/ripple/module/app/misc/NetworkOPs.cpp
2014-07-18 10:37:45 -07:00
Miguel Portilla
c16e22a5c6
Fix book_offers limit parameter (RIPD-295)
2014-07-17 18:01:20 -07:00
Tom Ritchford
6014b13234
Use Books in Ledger.
2014-07-15 21:16:42 -07:00
JoelKatz
4d49d272eb
Fix account_tx resume (RIPD-314)
2014-07-10 15:11:33 -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
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
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
Howard Hinnant
9dc32cb791
SHAMap refactoring:
...
* Rename SHAMapNode to SHAMapNodeID.
* Cleanups
2014-06-23 20:19:53 -07:00
Howard Hinnant
23dc08c925
Improve Journal logging framework:
...
* Allow partition log levels to be adjusted
* Cleanups
2014-06-23 20:19:53 -07:00
Vinnie Falco
d6066183b9
Refactor Overlay for Structured Network support:
...
* Move overlay up one directory
* Add abstract_protocol_handler, message_stream
* Add peer_protocol_detector
* Tidy up some declarations
* Use strand::running_in_this_thread instead of bool
* Update README.md
* Replace protocol message read loop:
- Process data in arbitrary size chunks
- message_stream extracts individual messages
- peer_protocol_detector identifies the handshake
- abstract_protocol_handler used for dispatching messages
* Remove unused protocol message types:
- mtACCOUNT
- mtCONTACT
- mtERROR
- mtGET_ACCOUNT
- mtGET_CONTACTS
- mtGET_VALIDATIONS
- mtSEARCH_TRANSACTION
- mtUNUSED_FIELD
Conflicts:
src/ripple/module/app/main/Application.cpp
src/ripple/module/app/misc/NetworkOPs.cpp
src/ripple/module/app/peers/PeerSet.cpp
2014-06-18 15:17:18 -07:00
Tom Ritchford
e24cba8c35
Better types and more comments in RippleCalc.
...
* Better automatic conversions to and from tagged uint160 varints.
* Start using tagged variants of uint160 for Currency, Account.
* Comments from 2014/6/11 RippleCalc session.
2014-06-18 12:38:06 -07:00
Nik Bougalis
04dd861fe3
Cleanup:
...
* Remove is_bit_set and use regular bitwise operations instead.
* Remove the function-like macro "nothing".
2014-06-16 17:29:11 -07:00
Vinnie Falco
a52c9232c4
Tidy up basics module:
...
* Move directory up
* Remove unity includes and "include what you use"
2014-06-15 18:51:05 -07:00
Vinnie Falco
506910147f
Tidy up includes:
...
* Replace boost with std equivalents:
- bind, ref, cref, function, placeholders
* More "include what you use"
* Remove unnecessary includes
2014-06-15 18:26:50 -07:00
Vinnie Falco
4362cb660b
Replace boost::shared_ptr with std::shared_ptr
2014-06-05 13:04:23 -07:00
Vinnie Falco
4f1d1d2a8a
Reorganize source file hierarchy:
...
* Rename unity files
* Move some modules to new subdirectories
* Remove obsolete Visual Studio project files
* Remove obsolete coding style and TODO list
2014-06-03 21:43:59 -07:00