Commit Graph

1183 Commits

Author SHA1 Message Date
JoelKatz
b8fdb3b659 Cleanups. 2013-03-04 18:12:33 -08:00
JoelKatz
d1169ee86d Make sure all load sources are named. 2013-03-04 16:22:09 -08:00
JoelKatz
93f79ca204 Remove broken unlocks. 2013-03-04 15:53:27 -08:00
JoelKatz
a2ca787bfb Remove a broken fix. 2013-03-04 15:52:42 -08:00
Arthur Britto
9afbfd4077 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-04 15:14:28 -08:00
Arthur Britto
deebd07814 Add checking for invalid offers in ledger. 2013-03-04 15:14:17 -08:00
JoelKatz
51db2d2cd7 Reprocess accepted ledgers once. Track metadata, transaction data, and affected accounts.
Process to SQL database and publish from this structure.
Include number of transactions in ledger publish info.
Publish transactions in applied order.
2013-03-04 13:59:53 -08:00
Arthur Britto
dd398b7eb9 Make sure finally negative offers are not processed. 2013-03-04 13:56:40 -08:00
JoelKatz
2a73ec7f22 A structure for accepted ledgers that will allow us to do things like traverse the transactions
in applied order and get the affected accounts without rebuilding things several times.
2013-03-04 10:38:12 -08:00
JoelKatz
c8813a01ce Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-03 23:52:26 -08:00
JoelKatz
df9884f48e Cleanups. 2013-03-03 23:52:13 -08:00
Arthur Britto
2bb4501553 Add tfMarket support to OfferCreate. 2013-03-03 23:01:19 -08:00
Arthur Britto
49458bff57 Add support for transfer fees to RPC book_offers. 2013-03-03 21:31:34 -08:00
Arthur Britto
da184a97c4 Fix RPC book_offers handling of negative balances and self-issued IOUs. 2013-03-03 20:52:28 -08:00
JoelKatz
a96676f122 Typo. 2013-03-03 16:46:24 -08:00
JoelKatz
bc99fdc45f More accurate field names. 2013-03-03 16:27:11 -08:00
JoelKatz
f0c029ef0d Rework the way load is accounted to be more accurate and more specific. 2013-03-03 16:24:47 -08:00
JoelKatz
a3dcc36e05 Typo and some extra debug. 2013-03-03 14:07:46 -08:00
JoelKatz
c1f8bed3b8 Fix a possible bug in commented out code. 2013-03-03 05:59:47 -08:00
JoelKatz
15b6fbed0b Temporarily back out this hash change. 2013-03-03 05:55:14 -08:00
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
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
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