Commit Graph

4997 Commits

Author SHA1 Message Date
JoelKatz
d1d8f4b6b0 git push
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-03-06 11:07:44 -08:00
JoelKatz
7959154b93 Fix a deadlock in the websocketpp code. data::get calls m_used.push_back(p)
which can call intrusive_ptr_release. If intrusive_ptr_release discovers a
use_count of 1 (due to the vector being resized) that can call recycle,
which acquires the very same non-recursive lock we already hold from get.
2013-03-06 11:04:35 -08:00
Stefan Thomas
b4514b5225 JS: Add Remote#request_book_offers. 2013-03-06 16:46:30 +01:00
Stefan Thomas
41b1e86439 JS: Correctly route account events after change from account -> transaction. 2013-03-06 16:45:20 +01:00
JoelKatz
ecf0a9e894 Fix a major pathfinding bug. This improves pathfinding performance by a
factor of three, fixes many invalid paths and fixes redundant paths.
2013-03-06 03:58:13 -08:00
JoelKatz
aa2503081e Make this code easier to debug. 2013-03-06 03:52:56 -08:00
JoelKatz
7e6e42e9d3 Missing virtual deutructors. 2013-03-06 03:34:30 -08:00
JoelKatz
f1be0c0be8 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-06 03:28:45 -08:00
JoelKatz
5fe7240b56 Cleanup and optimize order book DB generation. 2013-03-06 03:28:31 -08:00
Arthur Britto
030c85017a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-06 01:22:50 -08:00
Arthur Britto
f47bf56ac8 Add fill or kill support. 2013-03-06 01:22:35 -08:00
JoelKatz
a8daf34a08 Compute SHAMapNode hashes faster. 2013-03-06 01:10:23 -08:00
Arthur Britto
64994268d3 Rename tfMarket to tfImmediateOrCancel. 2013-03-06 01:05:32 -08:00
JoelKatz
7f29336d0b Fix crash when using open ledger to take initial position. 2013-03-05 23:38:05 -08:00
JoelKatz
1c9b4840d6 Bugfix. 2013-03-05 23:37:41 -08:00
JoelKatz
996f320788 Typo 2013-03-05 23:01:30 -08:00
JoelKatz
0ac437de5a Log cleanup. 2013-03-05 23:01:00 -08:00
JoelKatz
0821da4fc0 Cleanup. 2013-03-05 23:00:45 -08:00
JoelKatz
6ad03ee05e Better handle a "probably can't ever happen" condition. 2013-03-05 22:43:39 -08:00
JoelKatz
22111adbaa Fix some isEmptyBranch and getNodeID performance issues. 2013-03-05 22:16:07 -08:00
JoelKatz
eccb6eb936 Cleanups and a small fix. 2013-03-05 21:54:04 -08:00
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
jed
6055ace7bc Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-05 13:50:17 -08:00
JoelKatz
a27c6301fb Add <bitset> include. 2013-03-05 12:57:24 -08:00
jed
720aea0e55 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-05 11:00:14 -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
f8ee8bc826 Document [network_quorum] 2013-03-05 09:28:24 -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
2b603a257c Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-05 06:46:52 -08:00
JoelKatz
7f6305a6ab Fix a race condition. 2013-03-05 06:46:30 -08:00
Stefan Thomas
c0dec2f86f JS: Reapply parsing change for json format with optional issuer. 2013-03-05 13:44:52 +01: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