Commit Graph

4197 Commits

Author SHA1 Message Date
JoelKatz
2c7bbc0ea8 Preprocessor fix. 2013-03-16 01:57:59 -07:00
JoelKatz
9db1711d38 Preprocessor likes spaces between some tokens. 2013-03-16 01:55:57 -07:00
JoelKatz
986cce6335 Fix case sensitive header issues. 2013-03-16 01:09:34 -07:00
JoelKatz
51320d8746 Whitespace fix. 2013-03-16 01:08:55 -07:00
JoelKatz
e310b49353 Fix parsing of split headers. 2013-03-16 00:21:44 -07:00
JoelKatz
f222544048 Do the same thing for timer entry. 2013-03-15 22:50:26 -07:00
JoelKatz
e392366c63 Get ledger acquire work off the main thread and out of the master lock.
Prioritize ledger acquire work appripriately. This should help prevent the
server from becoming overly sluggish while acquiring ledgers. Still todo:
Finish all pending receive operations before sending out any data requests.
2013-03-15 22:34:55 -07:00
JoelKatz
7a76cfe7da Fix handling of some edge auto-detect SSL cases. This should fix the Dart
issue.
2013-03-15 16:54:27 -07:00
JoelKatz
5f35afc645 This makes more sense. 2013-03-15 02:38:47 -07:00
JoelKatz
64b2a50e8b Temporarily disable dropCache. 2013-03-15 02:25:59 -07:00
JoelKatz
4322403987 Fix unrouted log. 2013-03-15 02:22:54 -07:00
JoelKatz
abbbe6d05a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-15 01:25:09 -07:00
JoelKatz
a8552ec4f6 Fix a ledger acquire race that caused a crash. 2013-03-15 01:19:49 -07:00
Arthur Britto
1ceb383eb3 JS: Fix access to Transaction. 2013-03-14 20:56:22 -07:00
Arthur Britto
1bca0154da JS: Export Transaction. 2013-03-14 20:38:50 -07:00
Arthur Britto
96286afca6 JS: Add ImmediateOrCancel and FillOrKill to Transaction flags. 2013-03-14 19:33:48 -07:00
Arthur Britto
e18666424a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-14 18:04:08 -07:00
Arthur Britto
d3e787307d JS: Adjust request_ripple_balance results. 2013-03-14 16:40:15 -07:00
Arthur Britto
b53cbe6dca JS: Enhance request_ripple_balance. 2013-03-14 15:34:19 -07:00
JoelKatz
be932de252 The release invalidates the iterator. 2013-03-14 13:37:16 -07:00
JoelKatz
d4323f2ef2 Fix a case where a node that closed slightly ahead of other ledgers can
think it's out of sync with the network and cause it to jump backwards one
ledger, causing it to be out of sync because the network was about to catch
up to it.
2013-03-14 11:48:29 -07:00
JoelKatz
82b91a1c41 Avoid excessive resizing. 2013-03-14 10:00:44 -07:00
JoelKatz
e56f7a8689 Fix a rare race condition. 2013-03-14 09:48:43 -07:00
Arthur Britto
38ab300310 Minor cleanup. 2013-03-13 22:28:15 -07:00
Arthur Britto
91f7bab7e4 Don't let people send more XRP than they have. 2013-03-13 22:14:24 -07:00
JoelKatz
7bd96e9f2f Make the transaction application parameters accessible from the LES. 2013-03-13 21:59:43 -07:00
Stefan Thomas
8fdd637828 JS: Hold requests until connection is established.
This will have to change when we add multiple server support, but it does the
trick for now.
2013-03-13 19:15:37 +01:00
Stefan Thomas
7b60e3f87b JS: Fix orderbook subscribe on (re)connect. 2013-03-13 18:54:28 +01:00
Stefan Thomas
882f7d4305 JS: Don't count OfferCancel transactions as trades. Hurp Durp. 2013-03-13 18:54:08 +01:00
Stefan Thomas
2b3a39ddd9 JS: Better deal with buggy WebSocket implementations. 2013-03-13 17:57:54 +01:00
Stefan Thomas
1a7d542396 JS: Factored server-related logic out into separate Server class. 2013-03-13 17:40:55 +01:00
Stefan Thomas
0d5b2eb469 JS: state_now -> snapshot, both_sides -> both 2013-03-13 09:36:01 +01:00
JoelKatz
f1e2e2f510 Reduce logging. 2013-03-12 22:43:48 -07:00
JoelKatz
77694b7d72 Change deprecated "start_now" to "state_now" to work with the current client
which should switch to "snapshot" ASAP.
2013-03-12 22:19:23 -07:00
JoelKatz
2248d92a33 Wrap all peer socket accesses in a strand. This is needed to prevent a fatal
race condition in composed intermediary functions.

A few ledger acquire cleanups.
2013-03-12 16:53:30 -07:00
JoelKatz
c85fc7ef64 Bug that crashed client machine. 2013-03-12 15:57:25 -07:00
Arthur Britto
983175fa61 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-12 15:45:56 -07:00
Arthur Britto
ee926f3a40 More parameter checking for RPC. 2013-03-12 15:45:44 -07:00
JoelKatz
e01fd6ce60 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-12 15:30:16 -07:00
JoelKatz
dd387b840a Fix count 2013-03-12 15:29:56 -07:00
Arthur Britto
8a6e477b5e Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-12 15:18:24 -07:00
Arthur Britto
5a08930d65 Better parameter checking for RPC subscribe books. 2013-03-12 15:17:45 -07:00
JoelKatz
e9a02882f1 Don't let ledger fetching go too fast. 2013-03-12 15:17:26 -07:00
JoelKatz
0b52905cb7 Fix another thread race in the websocketpp data code. 2013-03-12 14:12:48 -07:00
JoelKatz
e31eb67b10 Fix typo. 2013-03-12 14:05:33 -07:00
JoelKatz
455f60feae Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-12 14:03:32 -07:00
JoelKatz
ba7d40ad63 TransID cannot be primary key. 2013-03-12 14:02:48 -07:00
Arthur Britto
04a825298e Clean up and secure subscribe books. 2013-03-12 12:53:06 -07:00
Arthur Britto
ae26c6cc59 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-12 11:41:14 -07:00
Arthur Britto
d5c52df10d Revise url subscribe username and password API 2013-03-12 11:41:04 -07:00