Commit Graph

167 Commits

Author SHA1 Message Date
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
JoelKatz
a65caddbb7 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-26 11:42:06 -07:00
JoelKatz
694c97d2fb Set the network state timer a bit later. 2013-03-26 11:40:45 -07:00
jatchili
c5f82da409 Sort order, limit, and offsets work. Still to do: detecting when we've requested too many ledgers. 2013-03-25 17:09:15 -07:00
jatchili
fae1b0f71a sql query helper functionc\ 2013-03-25 13:26:12 -07:00
Arthur Britto
f635980330 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-23 14:36:14 -07:00
Arthur Britto
837ec2b69d Remove limits on RPC account_tx for admins. 2013-03-23 14:36:07 -07:00
JoelKatz
7e5d4b80d9 Parenthesis. 2013-03-22 13:37:02 -07:00
JoelKatz
f6172d3d45 subLedger should report the validated ledger not the closed one. 2013-03-22 13:34:52 -07:00
JoelKatz
cd14be1afb Better logging of untrusted validations. (To make sure there's no bug.) 2013-03-21 06:03:47 -07:00
JoelKatz
c961ae5815 Ensure stable order in account tx responses. 2013-03-20 16:53:39 -07:00
JoelKatz
125c5273a6 Dispatch transaction from job queue, not I/O service. Mark a FIXME where we don't do this. 2013-03-18 03:10:20 -07:00
JoelKatz
b9456c8fd7 Except when interacting with boost, use std::function and std::bind
when C++11 is available. See: http://stackoverflow.com/questions/14617835
2013-03-16 03:27:43 -07:00