Tom Ritchford
22ca13bc78
Cleanups to RPC code
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
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
be830d3dad
Set version to 0.26.3-rc2
2014-08-26 10:00:03 -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
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
Howard Hinnant
9552551f9a
Refactor SField (RIPD-431)
...
* Restrict access to SField constructors.
* Make all SField access const.
* Hide and simplify databases used to hold SField constants.
* Separate the two concerns of representing a field,
and maintaining a database of fields.
2014-08-08 19:16:51 -07:00
Edward Hennis
1c73a0f649
Remove unused code:
...
* StringConcat was only being referenced by unit test.
* `runall.sh` is no longer needed. Use `npm test` instead.
2014-08-08 19:16:42 -07:00
Tom Ritchford
c841f8b360
Add the git tag to the compile (RIPD-238)
2014-08-08 19:16:33 -07:00
Nik Bougalis
398095a667
Cleanups and performance optimizations (RIPD-450):
...
* Remove AccountItems and AccountItem
* Restructure RippleLineCache to not require shared_ptr
* Avoid expensive copies of base_uint<160> in RippleState
2014-08-08 14:57:39 -07:00
Vinnie Falco
cfd3642cb1
Set version to 0.26.2-alpha-4
2014-08-07 17:13:55 -07:00
Vinnie Falco
8c084a3de8
Set version to 0.26.2-alpha-3
2014-08-07 10:13:22 -07:00
Vinnie Falco
9e319d7bd6
Set version to 0.26.2-alpha-2
2014-08-06 10:16:13 -07:00
Vinnie Falco
0955c0d8d3
Set version to 0.26.2-alpha-1
2014-08-05 15:40:34 -07:00
Vinnie Falco
6e934ee6a1
HTTP handshake in peer protocol (RIPD-351):
...
* New I/O paths for client and server role
* New handshake_analyzer detects the peer protocol
* New basic_message class for parsing and storing HTTP messages
* Conditional compilation for selective feature enabling.
* Server supports both current handshake and HTTP handshake
2014-08-05 13:17:02 -07:00
Vinnie Falco
723d7d1263
HTTP support improvements:
...
* RFC2616 compliance
* Case insensitive equality, inequality operators for strings
* Improvements to http::parser
* Tidy up HTTP method enumeration
2014-08-05 13:17:01 -07:00
evhub
9eb34f542c
More fixes to VSProject sorting algorithm
2014-07-30 08:56:54 -07:00
Tom Ritchford
194304e544
Refactor RippleCalc:
...
* Rationalize method and filenames, move to subdirectory.
* Use Issue in Node.
* Restrict access to PathState variables.
* Line length and readability cleanups.
* New PathCursor stores path calculation data during rippleCalc.
* Extract methods PathCursor::node(), PathCursor::previousNode()
and RippleCalc::addPath
2014-07-30 08:29:29 -07:00
Howard Hinnant
e6f4eedb1e
Tidy up hardened_hash:
...
* Added siphash as a HashAlgorithm
* Refactored class responsibilities
2014-07-28 09:06:22 -07:00
Vinnie Falco
fa11071443
Enable asynchronous handling of HTTP-RPC (RIPD-390)
...
* Activate async code path
* Tidy up HTTP server code
* Use shared_ptr in HTTP server
* Remove check for unspecified IP
* Remove hairtrigger
* Fix missing HTTP authorization check
* Fix multisocket flags in RPC-HTTP server
* Fix authorization failure when no credentials required
* Addresses RIPD-159, RIPD-161, RIPD-390
2014-07-24 20:22:55 -07:00
Vinnie Falco
1f26fbb5af
Set version to 0.26.0-rc1
2014-07-21 10:00:16 -07:00
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
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
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
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
Nik Bougalis
10150a7352
Patch Boost to suppress warnings on clang
2014-07-06 15:17:58 -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
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
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
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
23dc08c925
Improve Journal logging framework:
...
* Allow partition log levels to be adjusted
* Cleanups
2014-06-23 20:19:53 -07:00
evhub
530bdf975e
Fix VSProject generation issues with SConstruct:
...
* Always describe the Visual Studio targets
* Prevent checking nonexistant enviro vars
* Prevent pkg-config protobuf env vars if not clang/gcc
* Don't use any pkg-config enviro vars unless clang/gcc
* Make all VSProject/config directories windows-style
* Prevent beastobjc.mm from showing up in vcxproj
* Remove duplicate \src\protobuf\src
* Consistent quoting
2014-06-18 16:41:34 -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
Tom Ritchford
a23013abc1
Tidy up rpc module:
...
* Move directory up to ripple/module/rpc
* Use C++11 idioms and best practices
2014-06-18 12:37:53 -07:00
evhub
27a4f44de5
Process switches with regex in VSProject generator:
...
* Handles "DisableSpecificWarnings" switches
2014-06-16 19:01:28 -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
7a059c7a73
Remove ScopedPointer, ContainerDeletePolicy
2014-06-15 18:35:12 -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
cf3eb24eb0
Move nodestore to its own module
2014-06-15 12:50:44 -07:00
Tom Ritchford
27620af1bf
Further cleanups of RippleCalc.
...
* Rename many variables.
* Make most of PathState private.
* Extract out common Node::isAccount() code.
* Rename bConsumed to allLiquidityConsumed_.
* Extract out code into PathState::clear().
2014-06-09 12:57:26 -07:00
Vinnie Falco
02ed879837
Update VS project file
2014-06-06 07:39:55 -07:00
Vinnie Falco
1aa0749ba8
Update rocksdb unity build
2014-06-04 17:20:43 -07:00