Commit Graph

4717 Commits

Author SHA1 Message Date
JoelKatz
87bd9ed78f Quick and dirty fix for deadlock. We have code that holds the ioMutex and acquires the mPeerLock but
also code that holds the mPeerLock but acquires the ioMutex.
2013-03-03 05:54:40 -08:00
JoelKatz
23569c32aa Don't duplicate transactions in the DB. 2013-03-03 05:03:48 -08:00
JoelKatz
19c7406b96 Correct INSERT statement. 2013-03-03 05:00:28 -08:00
JoelKatz
9716882bc0 Be more consistent. 2013-03-03 04:53:15 -08:00
JoelKatz
f30a148e19 Missing lock. 2013-03-03 04:07:04 -08:00
JoelKatz
1c79ccc446 Remove dead code. 2013-03-03 02:52:57 -08:00
JoelKatz
f99fc4c36e Fix a missing index. 2013-03-03 02:44:24 -08:00
JoelKatz
8ee5568b52 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-03 02:10:00 -08:00
JoelKatz
51a85504a8 Startup and shutdown improvements. Performance improvements. 2013-03-03 02:09:19 -08:00
Arthur Britto
b1a691b490 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-02 23:58:03 -08:00
Arthur Britto
768007cee6 Make RPC book_offers usuable.
- Missing: transfer fees
- Adds taker support
- Adds taker_gets_funded and taker_pays_funded
- Adds don't return unfunded offers
- Adds follow offer owner balances.
2013-03-02 23:55:45 -08:00
JoelKatz
0015716cb5 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-02 22:17:14 -08:00
JoelKatz
402f296c36 A more sensible implementaiton SOTemplate::getIndex. 2013-03-02 22:16:52 -08:00
JoelKatz
c6b2b5b819 Add a get function. 2013-03-02 22:16:39 -08:00
Arthur Britto
f340a636cb Increment ripple-lib version. 2013-03-02 01:06:13 -08:00
JoelKatz
5fd9c21784 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-01 21:46:38 -08:00
JoelKatz
dcdb42589f Don't barf on a transaction over 12KB. 2013-03-01 21:46:18 -08:00
Arthur Britto
66590c65c1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-01 20:30:36 -08:00
Arthur Britto
2699f20f3f First cut at RPC book_offers. 2013-03-01 20:30:25 -08:00
JoelKatz
c984f83eb6 Fix for job destruction race condition. 2013-03-01 18:27:07 -08:00
JoelKatz
d31fa25b95 Fix a rare race condition involving subscribing and unsubscribing. 2013-03-01 17:01:44 -08:00
JoelKatz
4bcc726303 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-01 13:47:01 -08:00
JoelKatz
4b97f422f3 Rework how we declare a close time consensus to prevent stalls. 2013-03-01 13:46:13 -08:00
Arthur Britto
12af691a48 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-01 13:39:07 -08:00
Arthur Britto
301909fa01 Fix framework for RPC book_offers. 2013-03-01 13:38:37 -08:00
JoelKatz
92c1766f49 Ack! A delayed consensus causes the close time threshold to ratchet the wrong way. 2013-03-01 13:20:08 -08:00
JoelKatz
5089db1518 Add some extra debug logging to track absence of CT consensus. 2013-03-01 13:17:14 -08:00
JoelKatz
51ebd75a4a Reset prepared statements after use, not before. 2013-03-01 10:33:38 -08:00
JoelKatz
1167158f64 Reduce I/O needed on startup. 2013-03-01 10:28:50 -08:00
JoelKatz
036d0a5b0a Logging reduction. 2013-03-01 10:28:40 -08:00
JoelKatz
40dbdfedaf Grr. 2013-03-01 01:21:03 -08:00
JoelKatz
e9ad3562fb Handle transactions with bad source public keys. 2013-03-01 01:17:11 -08:00
Arthur Britto
2ffc13ef11 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-01 00:42:59 -08:00
Arthur Britto
67db174b8b More work on browser. 2013-03-01 00:42:53 -08:00
Arthur Britto
a2efb1e21c JS: Clean up ledger selection. 2013-03-01 00:42:25 -08:00
JoelKatz
7a9037d1ca Large speed up of getField* functions on non-free objects such as transactions and ledger nodes. 2013-02-28 23:52:53 -08:00
JoelKatz
fca5683d31 Trivial const fix. 2013-02-28 22:52:01 -08:00
Arthur Britto
ba58549971 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-28 20:32:42 -08:00
Arthur Britto
e824baf15f Begining of ledger browser hack. 2013-02-28 20:32:17 -08:00
Arthur Britto
b4c0469752 Start of RPC book_offers. 2013-02-28 20:31:51 -08:00
Arthur Britto
5cb119c08f Eliminate extra HttpsClient pop. 2013-02-28 20:31:18 -08:00
JoelKatz
eb61637357 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-28 19:42:22 -08:00
JoelKatz
85cd5bc47f Fix the bug that crashed ec2. Must hold a TransactionAcquire::pointer
to call a function that calls erase.
2013-02-28 19:41:03 -08:00
Arthur Britto
9cc53bd716 Pass path for RPC subscribe by url. 2013-02-28 18:10:24 -08:00
Arthur Britto
2f85057920 Less debugging. 2013-02-28 16:57:19 -08:00
Arthur Britto
9d9eb7e4a8 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-28 16:41:42 -08:00
Arthur Britto
d0c79083ab Add CLI support for RPC book_offers. 2013-02-28 16:41:18 -08:00
Arthur Britto
1571ae4a9a Add isRpcError(). 2013-02-28 16:40:51 -08:00
Arthur Britto
cf2a07fbff Remove redundant RPC accept_ledger. 2013-02-28 16:40:38 -08:00
Arthur Britto
8002f8469e Improve usage. 2013-02-28 16:38:52 -08:00