JoelKatz
fc129e43fd
Cleanup handling of expired offers
2014-03-11 19:02:16 -07:00
JoelKatz
b22a0f4a97
Ensure offer cleanup is deterministic
2014-03-11 19:02:16 -07:00
JoelKatz
cf63b5c859
Fix logging transactions that throw
2014-03-11 19:02:16 -07:00
David Schwartz
b4593a274d
Limit how many reads we defer to avoid overflowing the cache
2014-03-11 19:02:16 -07:00
David Schwartz
163daf012a
Add 'MemoData' field
2014-03-11 19:02:16 -07:00
JoelKatz
63df034bcf
Clean up job renaming
2014-03-11 19:02:16 -07:00
David Schwartz
60787be80c
Check the node store for transaction nodes with metadata
2014-03-11 19:02:15 -07:00
David Schwartz
f42ae3af21
Add ledger_data command to get full ledgers in pieces
2014-03-11 19:02:15 -07:00
David Schwartz
b1fea3c51e
Disable retrieving full state trees for non-admins.
2014-03-11 19:02:15 -07:00
David Schwartz
16d2bbd6e5
Avoid disk I/O when data 'moves' in a SHAMap
2014-03-11 19:02:15 -07:00
David Schwartz
2505a908c5
Logging reduction in PeerImp
2014-03-11 19:02:15 -07:00
Nik Bougalis
4b71673ee9
Improve validation of JSON inputs
2014-03-11 19:02:14 -07:00
Nik Bougalis
242494a9ad
Allow a server to keep no ledger history, closes #299
2014-03-11 19:02:14 -07:00
Nik Bougalis
3a684ce280
Robust HashPrefix initialization, closes #300
2014-03-11 19:02:14 -07:00
Nik Bougalis
756da7b844
Fix strUnHex parsing of odd-length strings and add unit tests
2014-03-11 19:02:14 -07:00
Nik Bougalis
9c465487ae
Cache the result of remote_endpoint at connect/accept time and use it
2014-03-11 19:02:14 -07:00
Donovan Hide
e8002a7a62
Fix ledger log warning, closes #298
2014-03-11 19:02:13 -07:00
Nik Bougalis
5a53b48026
Require a C++11 conforming compiler
2014-03-11 19:02:13 -07:00
Vinnie Falco
b3f725d9fd
Update http code for http parser API changes
2014-03-06 21:44:29 -08:00
Vinnie Falco
50f5d5bdf3
Merge commit '6c0edd2190bfd18ffc523f486367da3724cf98a3' into develop
2014-03-06 21:22:22 -08:00
Vinnie Falco
6c0edd2190
Squashed 'src/beast/beast/http/impl/http-parser/' changes from 547553b..cba704c
...
cba704c Bump version to 2.2.1
a252d4e fix content-length and chunk-size overflow test
42d6541 add vc project files to .gitignore
fd609ab Bump version to 2.2
efcf75d test: better fix for __APPLE__ test build
9ca484d test: fix build on osx
d7b938b Parse and emit status message of response
11419c8 Use unsigned int as bitfield type.
c4079e7 Add syntax highlighting to README C code
f5c779b Update misleading comment.
3cbd13d test: add amazon.com response test
git-subtree-dir: src/beast/beast/http/impl/http-parser
git-subtree-split: cba704cb2d9f1df80994dd4a791a0fa6cce65720
2014-03-06 21:22:22 -08:00
Vinnie Falco
d9a0181189
Set version to 0.22.0
0.22.0
2014-03-04 15:43:34 -08:00
Howard Hinnant
09570996a9
Fix beast::asio failures on OS X.
...
There are 38 unittest failures on OS X. These changes address all of
them by adjusting which side of the socket (send or receive) gets
shut down. In each case, the failure was 'Socket is not connected'.
I've interpreted that to mean that the other thread had already shut
down its side of the connection.
2014-03-04 15:43:33 -08:00
JoelKatz
adc4c855ca
Fix the ledger range we advertise to peers
2014-03-04 15:43:33 -08:00
Nik Bougalis
8b1df06a94
PeerFinder fixes:
...
* Fix local advertisement (was missing)
* Fix Livecache histogram display
* If no [ips] are specified, use r.ripple.com
* Use different backing stores for PeerFinder and Validator databases
2014-03-04 15:43:32 -08:00
Vinnie Falco
7c81eec30c
Remove unused TextDiff
2014-03-04 07:23:53 -08:00
Vinnie Falco
faa999d6d0
Consolidate C++14 compatibility into new headers
2014-03-03 18:51:56 -08:00
David Schwartz
370bfb7a22
Permit memos up to 1Kb.
...
* Overlong memos are basically treated like invalid signatures.
* Ability to clear message key.
2014-03-03 18:51:55 -08:00
David Schwartz
ae649ec917
Signature canonicalization and transaction mutation fixes
2014-03-03 18:51:55 -08:00
JoelKatz
93b44fcdc1
Return an empty pointer from getLedgerBySeq if sequence in future
2014-03-03 14:07:18 -08:00
David Schwartz
1fe57720c4
Legacy Pathfinding API improvements:
...
* Use the cache for source/dest currencies
* Allow a search depth and initial paths to be specified in old pathfinding
2014-03-03 10:59:31 -08:00
JoelKatz
fca8fa1b1b
Clean up ledger fetch reasons.
...
Don't trigger immediately when fetching historical ledgers.
2014-03-03 10:57:36 -08:00
David Schwartz
81082ad10f
Don't check the node store for proposed txn nodes
2014-03-03 10:57:31 -08:00
David Schwartz
2c515636cb
Release the InboundLedger lock during getMissingNodes
2014-03-03 10:57:26 -08:00
David Schwartz
2f7ac98e34
Improve I/O when fetching ledgers
...
* negative cache for node store
* async fetch, thread pool for node store
* read barrier logic for node store
* SHAMap getMissingNodesNB (non-blocking)
* non-blocking getMissingNodes traverse
* tune caches
2014-03-03 10:56:48 -08:00
Nik Bougalis
37b39ed1a1
Update LICENSE
2014-03-01 11:54:11 -08:00
Nik Bougalis
73485d5a23
Resolve hostnames found in the [ips] config section
2014-03-01 11:53:57 -08:00
Nik Bougalis
28c7827f14
Calculate program file directories:
...
* Determine location of database files in Config
* Inject database directory or file path in PeerFinder and Validators
* PeerFinder and Validators will share the same sqlite file
2014-03-01 11:53:57 -08:00
JoelKatz
e055dc1513
WebSocket dispatch changes.
...
Don't let one connection hold a thread for too long without
having to wait for another turn
2014-02-28 12:18:15 -08:00
JoelKatz
c173f14fc0
Give pathfinding updates priority over client and RPC requests
2014-02-28 12:15:41 -08:00
Howard Hinnant
cd30e552a7
Fix clang warnings
2014-02-28 12:15:12 -08:00
Vinnie Falco
9bf1a76e91
Remove unused classes
2014-02-28 12:03:33 -08:00
Vinnie Falco
2957b688fd
PeerFinder and Peers fixes:
...
- Fix bootcache incorrect failure on socket cancel
- Fix peer connect race on stop
- Simplify some loops
- Require boost 1.55 via static_assert
2014-02-28 12:03:33 -08:00
JoelKatz
add40d524f
Merge pull request #296 from nbougalis/quickfix-jobcount
...
Fix variable mismatch for job counts
2014-02-26 14:38:51 -08:00
Nik Bougalis
04a55e35b6
Fix variable mismatch for job counts
2014-02-26 14:29:00 -08:00
JoelKatz
955ce45448
Fix the assert on a self-connect
2014-02-24 22:30:04 -08:00
Vinnie Falco
995e64a205
PeerFinder fixes:
...
* Fix split horizon using recent address cache
* Change message tuning parameters to reduce dead messages
* Improved peer handout algorithm for addresses
* Improved handout algorithm for redirects
* Improved selection algorithm for autoconnect
* Faster autoconnection strategy
* Consolidate deadline timers
* Send empty endpoints message as a socket ping
* Fix hop count adjustments for live cache filtering
* Remove broken Peer::isConnected function
* Optimized Livecache for handouts
* Optimized Bootcache for handouts
* Remove uptime metric from Bootcache entries
* Add histogram to Livecache print output
2014-02-24 19:25:01 -08:00
Vinnie Falco
bf085f0ef3
New utility classes, containers, C++14 compatibility, and fixes:
...
* Add std::equal_to <void> (since C++14)
* Add heterogeneous std::equal (since C++14)
* Add maybe_const
* Add empty_base_optimization
* Add is_constructible specialization for pair, tuple
* Add aged associative containers:
- aged_set, aged_map, aged_multiset, aged_multimap
- aged_unordered_set, aged_unordered_map,
- aged_unordered_multiset, aged_unordered_multimap
* Fix auto keyword pass by reference
* Fix basic_seconds_clock warning and project file
2014-02-24 19:25:01 -08:00
David Schwartz
1374b37882
Remove dead serializer signature code
2014-02-24 18:28:44 -08:00
JoelKatz
e275f4eb9d
Handle a removed peer when counting ledger use
2014-02-24 18:28:43 -08:00