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
JoelKatz
9740b994a4
Tiny cleanup.
2013-02-11 21:42:02 -08:00
Arthur Britto
8501f0000b
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-11 21:27:53 -08:00
JoelKatz
1dedb2b190
Arthur found a missing constructor that breaks handling negative native amounts.
2013-02-11 21:24:42 -08:00
Arthur Britto
632bcafa7e
Cosmetic.
2013-02-11 18:39:19 -08:00
JoelKatz
0d03c1fb4a
Fix a bug that causes outbound notifications to URLs to fail.
2013-02-11 18:00:22 -08:00
JoelKatz
341d198ffe
Must check sequence before checking fee and signature. Otherwise lots of bad things happen:
...
1) We needlessly check signatures on applied.
2) We return the wrong error code if a transaction that was already applied has an insufficient fee.
2013-02-11 16:48:52 -08:00
JoelKatz
b512ed3df2
Correctly handle local failures in the consensus transaction application process.
...
Local failures are not retriable.
2013-02-11 16:43:29 -08:00
JoelKatz
d0e85ff4b4
Make sure all fee schedule changes are reported to clients.
2013-02-11 14:50:15 -08:00
JoelKatz
4261b1c2d0
Quick hack to stop core dumps on shutdown. The client needs to be shutdown before
...
the job queue. This just prevents it from tripping.
2013-02-11 07:00:09 -08:00
JoelKatz
35eb2d71ea
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-11 02:34:44 -08:00
JoelKatz
3f05907f23
Fix one-liner.
2013-02-11 02:34:17 -08:00
Arthur Britto
a1a12682ab
More verbose logging about subscribing.
2013-02-10 21:49:08 -08:00