Arthur Britto
59e999c555
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-03-05 17:28:50 -08:00
Arthur Britto
f95c39e1c5
Fixes for resulting negative offers.
2013-03-05 17:28:44 -08:00
Arthur Britto
cffb069f1b
Cosmetic changes.
2013-03-05 17:27:57 -08:00
JoelKatz
3f6cb78158
Fix a bug where we negate the balance during pathfinding.
2013-03-05 15:17:37 -08:00
JoelKatz
791b088ff3
Make sure paths are correectly serializable.
2013-03-05 15:02:21 -08:00
JoelKatz
a27c6301fb
Add <bitset> include.
2013-03-05 12:57:24 -08:00
JoelKatz
50b97386cd
Under a certain rare combination of circumstances a ledger may not get added
...
to our chain of fully-validated ledgers. Essentially, if we have the ledger
for some other reason, we won't "acquire" it, so behavior triggered only by
acquiring the ledger will not happen. This issue would be persistent.
2013-03-05 10:17:17 -08:00
JoelKatz
8d7a2cd8d7
Cleanups.
2013-03-05 09:54:57 -08:00
JoelKatz
231a514265
Don't raise txn fees so quickly.
2013-03-05 09:26:55 -08:00
JoelKatz
ecb9e7db26
Enforce validation quorum. Default to quorum of 2 if started with --net.
2013-03-05 09:23:11 -08:00
JoelKatz
86893487d1
Speedups.
2013-03-05 09:00:31 -08:00
JoelKatz
56d3c49252
Logging changes.
2013-03-05 07:12:16 -08:00
JoelKatz
7f6305a6ab
Fix a race condition.
2013-03-05 06:46:30 -08:00
JoelKatz
4cf7a3b049
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-03-04 22:35:01 -08:00
JoelKatz
81c359594e
Tweaks.
2013-03-04 21:51:04 -08:00
Arthur Britto
6f5ce670ea
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-03-04 19:25:17 -08:00
Arthur Britto
3a8d85d9c4
Publish transaction due to subscribe accounts as type "transaction".
2013-03-04 19:24:20 -08:00
JoelKatz
ce401dffb6
Speed up path finding by about 35%.
2013-03-04 18:57:44 -08:00
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