Commit Graph

1251 Commits

Author SHA1 Message Date
Arthur Britto
3191bd4922 Limit paths returned by pathfinder. 2013-02-20 11:06:57 -08:00
JoelKatz
4bc9a9fdb0 Allow -3 to select last fully-validated ledger. 2013-02-20 09:41:23 -08:00
JoelKatz
7552f9eacf Some optimizations. 2013-02-20 09:33:09 -08:00
JoelKatz
c375d2d96b Logging reduction. 2013-02-19 15:44:12 -08:00
JoelKatz
4d6bf6fd43 Logging reductions. 2013-02-19 15:41:03 -08:00
JoelKatz
7c7944a82c Disambiguate rpcSRC_ACT_NOT_FOUND errors so it's clear when it's the
secret that's at fault.
2013-02-19 13:48:46 -08:00
JoelKatz
637b7e5431 Make the CA servers used for outbound HTTPS connections configurable. 2013-02-19 13:48:25 -08:00
JoelKatz
6c6e8777f4 Log outbound connection certificate verification failures. 2013-02-19 13:11:24 -08:00
JoelKatz
875b47ca75 Typo. 2013-02-19 07:59:21 -08:00
JoelKatz
47167a4e36 Typo. 2013-02-19 07:57:57 -08:00
JoelKatz
6ba2d4fd61 Make types compatible. 2013-02-18 12:06:43 -08:00
JoelKatz
9f3f86fe4e Extra constructor. 2013-02-18 12:06:18 -08:00
JoelKatz
ea00a06dba Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-18 12:05:21 -08:00
JoelKatz
97b748afe7 Fix startup with no configured peer_ip. 2013-02-18 12:04:06 -08:00
Stefan Thomas
d3b7a59b91 CLI: Add help for account_tx. 2013-02-18 15:07:27 +01:00
JoelKatz
676fb5462a Set the 'validated' field a bit more logically. 2013-02-17 17:10:17 -08:00
JoelKatz
72ee15afe9 Improve account_tx. Better performance, identify fully-validated transactions. 2013-02-17 16:49:57 -08:00
JoelKatz
bff793916e Missing type. 2013-02-17 16:49:53 -08:00
JoelKatz
a941a575ec Make sure we always have a "last validated ledger". 2013-02-17 16:49:37 -08:00
JoelKatz
84a2af37f9 Add 'getValidatedSeq'. 2013-02-17 16:49:24 -08:00
JoelKatz
862dbd7234 Add NetworkOPs::isValidate functions to check if a ledger is fully validated. 2013-02-15 19:01:48 -08:00
JoelKatz
fd009a750a Validated check was backwards. 2013-02-15 10:40:00 -08:00
JoelKatz
78f058d710 Add a 'validated' field to the 'tx' output. If true, the transaction metadata
came from a fully-validated ledger.
2013-02-15 09:32:24 -08:00
JoelKatz
dc7f026bb2 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-15 05:39:28 -08:00
Stefan Thomas
dbfce52d53 JS: Correctly calculate affected accounts when routing account events. 2013-02-15 14:43:24 +01:00
JoelKatz
158aa7c454 Make the 'tx' command return metadata if possible.
Allow the ledger to be specified a bit more flexibly in account_tx.
2013-02-15 05:38:19 -08:00
JoelKatz
7bbf01e114 Function to get just txn metadata. 2013-02-15 05:38:01 -08:00
Arthur Britto
dd7f8aa8d1 Add strict option to RPC account_info and allow last closed ledger to be specified. 2013-02-14 23:51:57 -08:00
Arthur Britto
e62e5f5fa2 Fixes for brute force path finding. 2013-02-13 17:00:30 -08:00
Arthur Britto
235ab44728 Add RPC ping. 2013-02-13 14:50:05 -08:00
JoelKatz
ef3dd3ca77 Don't recompute the OrderBookDB too many times more than needed. 2013-02-13 09:31:52 -08:00
JoelKatz
ef82b050ed Fix a bug Arthur caught. 2013-02-13 08:48:51 -08:00
JoelKatz
d767da37d8 Shamelessly stolen from the 'fastertest' patch.
This makes the unit tests run about 70% faster and solves a long-standing annoyance that
running in standalone mode could contaminate your databases.
2013-02-13 05:37:15 -08:00
JoelKatz
fa2283f234 Micro-optimization. 2013-02-13 05:34:19 -08:00
JoelKatz
ca57bf8290 Don't wipe the order book while it's being used.
Fix OrderBookDB::getBooks so it can return something.
Fix some cases of the find/[] anti-pattern. (You don't need to search twice.)
2013-02-13 05:27:31 -08:00
JoelKatz
57a9f6afdc Logging reductions. 2013-02-13 00:09:12 -08:00
JoelKatz
25109d7298 Fix a race condition that can cause a crash on startup. 2013-02-12 23:20:20 -08:00
JoelKatz
62170d194a Suppress a warning. Micro-optimization. 2013-02-12 22:08:55 -08:00
JoelKatz
73fe72bfa3 Track whether a message is a broadcast. If a broadcast, log at a lower level. 2013-02-12 22:05:46 -08:00
JoelKatz
cb111b6318 Path finding fixes:
Track path finding and order book creation time and latency.
Use a ledger snapshot for path finding.
You can't call getCurrentLedger from an unlocked context.
Pathfinding called from the transaction sign function held the master lock.
2013-02-12 20:39:00 -08:00
Arthur Britto
ef5069a706 Make pathfinder search size configurable, reduce to 5. 2013-02-12 18:41:52 -08:00
Arthur Britto
e5b75c66a1 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-12 16:05:15 -08:00
Arthur Britto
7e271ce509 Pathfinding now verifies source and destination accounts exist. 2013-02-12 16:05:03 -08:00
JoelKatz
7d8624d0e7 Fix two minor bugs with reporting load fees. 2013-02-11 23:30:35 -08:00
Arthur Britto
046c158dfa Fix OfferCreate noticing unfunded source after fees. 2013-02-11 23:01:20 -08:00
Arthur Britto
b05c5c3892 Fix calculation of XRP available after reserve. 2013-02-11 22:59:50 -08:00
Arthur Britto
dce8a65fbc Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-11 22:23:52 -08:00
JoelKatz
92292a178b Bring some sanity to integer->STAmount constructors. 2013-02-11 22:19:21 -08:00
Arthur Britto
f425d2b1ec Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-02-11 22:02:53 -08:00
JoelKatz
33154e4ef5 Two more missing constructor bugs. Cleanup. 2013-02-11 22:01:55 -08:00