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
JoelKatz
d4323f2ef2
Fix a case where a node that closed slightly ahead of other ledgers can
...
think it's out of sync with the network and cause it to jump backwards one
ledger, causing it to be out of sync because the network was about to catch
up to it.
2013-03-14 11:48:29 -07:00
JoelKatz
7bd96e9f2f
Make the transaction application parameters accessible from the LES.
2013-03-13 21:59:43 -07:00
Stefan Thomas
049f92e882
Clean up orderbook-related variable naming.
...
Also adds the ability to unsubscribe from both sides of an orderbook
simultaneously. Adds better error handling.
2013-03-12 13:09:51 +01:00
JoelKatz
b51a9fc371
SQLite's query optimizer handles an INNER JOIN much better than a nested SELECT.
2013-03-11 18:42:21 -07:00
JoelKatz
c2e072b431
Extra logging.
2013-03-11 15:31:32 -07:00
JoelKatz
f4e22a8968
Use emplace where we can. (On inserts into unordered maps.)
2013-03-11 03:58:27 -07:00
JoelKatz
23fa7ab67e
Don't try to print ledger sequences using %d
2013-03-11 02:18:32 -07:00
JoelKatz
8d660736a8
Fix cases where we don't relay transactions.
2013-03-10 18:27:02 -07:00
JoelKatz
6f811f1e96
Back out some Ledger::ref uses that scare me.
2013-03-10 16:03:23 -07:00
JoelKatz
ec77707c39
Make clear that transJson can only be used to publish transactions.
...
Put a 'validated' field in published transactions.
2013-03-10 15:32:02 -07:00
Arthur Britto
54e776fe16
Another valid_ledgers --> validated_ledgers.
2013-03-09 15:35:43 -08:00
Arthur Britto
56dd20bc28
Change ledger_time to ripple epoch in ledgerClosed messages.
2013-03-08 18:17:43 -08:00
JoelKatz
e7fb4edf36
Add valid ledgers to ledger stream.
2013-03-08 17:57:43 -08:00