Commit Graph

179 Commits

Author SHA1 Message Date
JoelKatz
dd5e8d976b Merge branch 'develop' into faster_acquire 2013-05-24 10:06:29 -07:00
JoelKatz
7f5a81fee5 Fix some operating mode state transition rules. 2013-05-23 18:56:16 -07:00
JoelKatz
576ee472bf Add "syncing" state. 2013-05-23 18:46:39 -07:00
JoelKatz
aaf93be9ed Remove unneeded code that was implicated in a deadlock path. 2013-05-22 14:36:21 -07:00
JoelKatz
1139ac5ab4 Make fetch packs less generous. 2013-05-17 02:04:04 -07:00
JoelKatz
5b68834e3b Set correct hash in fetch pack. 2013-05-17 01:14:03 -07:00
JoelKatz
a71225f9a3 Don't service stale/superceded fetch pack requests. 2013-05-17 01:05:29 -07:00
JoelKatz
5e1dddd1c7 Second check if fetch pack should be skipped. 2013-05-17 01:02:01 -07:00
JoelKatz
588ef7df86 Speed up ledger acquiring. 2013-05-16 23:32:50 -07:00
JoelKatz
e94802bc2a Don't stash the key when we don't need it. 2013-05-15 16:04:14 -07:00
JoelKatz
285ef764d3 Don't stash the key when we don't need it. 2013-05-15 15:54:52 -07:00
JoelKatz
696ffe4b87 Use the immutable LES. 2013-05-14 18:36:26 -07:00
JoelKatz
6a84a95979 Accept ledgers more efficiently by avoiding allocate/allocate/copy/copy/free cycles. 2013-05-14 11:49:33 -07:00
JoelKatz
e71849779e Cleanup. 2013-05-13 18:34:46 -07:00
JoelKatz
bcf0fc0b3a Avoid construcing a RippleAddress just to throw it away. 2013-05-13 18:28:54 -07:00
JoelKatz
1ebcebd067 Book offers improvements. 2013-05-13 16:35:36 -07:00
JoelKatz
f1722c2970 Make sure to always set the result, not just the status. 2013-05-09 21:59:01 -07:00
JoelKatz
41b70c76da If we detect a missing node in a ledger we're supposed to have full,
re-acquire that ledger to fill the hole.
2013-05-08 15:55:52 -07:00
JoelKatz
04b0f968fd Detect server deadlocks and trigger the auto-restart mechanism. 2013-05-08 15:21:22 -07:00
JoelKatz
46c1488484 Buglets found by static code inspection, including a whopper in divRound. 2013-04-27 00:35:16 -07:00
JoelKatz
9d52427ab0 Tuning. 2013-04-26 00:23:57 -07:00
JoelKatz
4812d30c16 Be smarter about when we grab fetch packs. 2013-04-25 19:11:18 -07:00
JoelKatz
380ab0d3fd Fix two small bugs. 2013-04-25 13:49:41 -07:00
JoelKatz
494202fbcf Ledger acquire improvements and I/O reductions. 2013-04-25 11:09:57 -07:00
JoelKatz
4f70506094 Include more information in fetch packs. 2013-04-23 06:49:58 -07:00
JoelKatz
84087e62cb Smarter peer selection for acquires. 2013-04-23 06:48:42 -07:00
JoelKatz
df32873321 Cleanups. 2013-04-22 15:17:23 -07:00
JoelKatz
d5535dbdfd More fetch pack work. 2013-04-22 12:45:37 -07:00
JoelKatz
aeccecb578 ech pack stuff. 2013-04-22 11:09:07 -07:00
JoelKatz
94838b0db7 Fetch pack bugfixes. 2013-04-22 10:29:54 -07:00
JoelKatz
8a368204c1 Last part of the fetch pack code. 2013-04-22 06:56:11 -07:00
JoelKatz
0c7066944e Fetch pack scheme. Phase two. 2013-04-21 20:37:46 -07:00
JoelKatz
4b04f74289 This makes more sense. Fetch pack, phase one. 2013-04-21 16:22:13 -07:00
JoelKatz
632a4882ea Finish removing dead code. 2013-04-21 14:48:05 -07:00
JoelKatz
d17afbf9da Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-04-21 12:55:34 -07:00
JoelKatz
79ec8e6070 First part of fetch acceleration changes. Includes a bugfix that I'll push to master. 2013-04-21 12:44:21 -07:00
Arthur Britto
a0dc6184e3 Augment book_offers with quality. 2013-04-21 11:06:57 -07:00
JoelKatz
8ed0d107fd Allow administrators to submit transactions that don't meet the local load fee. 2013-04-15 17:14:20 -07:00
JoelKatz
e5fdc99dd0 Grr! These are way too easy to do by mistake. The following code does nothing useful:
ScopedLock(theApp->getMasterLock());
Must be:
	ScopedLock sl(theApp->getMasterLock());
2013-04-12 18:36:31 -07:00
JoelKatz
7131564eb1 Emergency patch to fix ledger not closing.
Do not timeout on acquiring a transaction set if a trusted peer
still proposes it. Instead, fetch more aggressively.
2013-04-05 09:41:43 -07:00
JoelKatz
5cc9314d03 Add a framework for detecting databases that need updating.
Put transaction from account_tx command in transaction application sequence.
CAUTION: This modifies your databases and will cause a delay on your next startup.
2013-04-01 19:03:28 -07:00
JoelKatz
f88d6804a3 Cache the JSON of an ALTransaction. 2013-03-29 10:53:34 -07:00
JoelKatz
e239157480 Oops! 2013-03-27 18:30:10 -07:00
JoelKatz
7344ab0148 Missing from previous commit. 2013-03-27 18:15:49 -07:00
JoelKatz
878caf1989 Fix count/limit logic. 2013-03-27 18:14:53 -07:00
JoelKatz
20d565fd3b Cleanups. 2013-03-27 17:45:43 -07:00
Arthur Britto
09633c5f04 Fixes for account_tx. 2013-03-27 17:26:13 -07:00
Arthur Britto
79b83bf0ef Minor cleanup. 2013-03-27 14:48:22 -07:00
Arthur Britto
e7aa878019 Merge branch 'paging2' of github.com:jedmccaleb/NewCoin
Conflicts:
	src/cpp/ripple/NetworkOPs.cpp
2013-03-27 13:28:09 -07:00
JoelKatz
ff1742a068 Fix order of account transactions returns. 2013-03-27 12:38:21 -07:00