Commit Graph

1243 Commits

Author SHA1 Message Date
JoelKatz
678c64f157 Cosmetic fix. 2013-03-06 19:58:06 -08:00
JoelKatz
32ca30c2e9 Log peer IP if possible. 2013-03-06 19:57:56 -08:00
JoelKatz
eaec5cb206 Log peer IP on bad sign 2013-03-06 19:32:04 -08:00
JoelKatz
0007d76923 Job queue simplificaiton 2013-03-06 19:30:08 -08:00
JoelKatz
dc3d82272e Track threads working on jobs. 2013-03-06 19:07:54 -08:00
JoelKatz
0ce965948e Identify peer commands by name. 2013-03-06 18:37:35 -08:00
JoelKatz
e219aa67bc Quick workaround for piling up client requests. 2013-03-06 18:03:54 -08:00
JoelKatz
9d5f2a12f7 Error return for server too busy. 2013-03-06 18:03:04 -08:00
JoelKatz
5f66791280 Cleanups. 2013-03-06 17:41:17 -08:00
JoelKatz
bd3de01b0e Emergency temporary fix. 2013-03-06 17:34:08 -08:00
JoelKatz
813e75bdb5 Fix standalone mode. 2013-03-06 17:04:56 -08:00
JoelKatz
253485e3db Workaround for whatever the real bug is. 2013-03-06 17:01:15 -08:00
JoelKatz
d0e00f3706 Reduce chatty debug. 2013-03-06 16:39:47 -08:00
JoelKatz
a6a042c509 Typo. 2013-03-06 16:37:48 -08:00
JoelKatz
fde7104aa2 One more. 2013-03-06 16:37:00 -08:00
JoelKatz
ddc5837a49 Fix. 2013-03-06 16:35:39 -08:00
JoelKatz
6a298872cc Dispatch save accepted ledger better. 2013-03-06 16:33:53 -08:00
JoelKatz
0e4b1e00a7 Crud, previous fix was incorrect. 2013-03-06 16:17:50 -08:00
JoelKatz
646f7ca5de Fix a bug that can cause a crash if a peer requests an empty node. 2013-03-06 15:57:49 -08:00
JoelKatz
1f5cff396a Fix comparison logic. 2013-03-06 14:54:05 -08:00
JoelKatz
2d8fb05f57 Set correct issuers. 2013-03-06 14:07:56 -08:00
JoelKatz
740513fc38 Don't spin forever. 2013-03-06 14:07:45 -08:00
JoelKatz
366a5795a8 Fix a bug in account_tx that Stefan reported. 2013-03-06 13:25:40 -08:00
JoelKatz
a0a0a27bbf Load factor adjustment and reporting tweaks. 2013-03-06 11:20:15 -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
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
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