Stefan Thomas
792fa050ef
JS: Correctly calculate affected accounts when routing account events.
2013-02-15 14:44:26 +01: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
636987a61b
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-14 22:23:32 -08:00
Stefan Thomas
c559fd2fb3
JS: Fix Account class realtime event processing.
2013-02-14 07:14:50 +01:00
Arthur Britto
9ac327f6cb
UT: Add a path find test. (disabled)
2013-02-13 21:07:14 -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
Stefan Thomas
73f96aa0d5
JS: Account class keeps track of AccountRoot entry.
2013-02-13 18:45:14 +01:00
Stefan Thomas
0c3c79211e
JS: Allow an integer factor in Amount#product_human.
2013-02-13 18:45:14 +01:00
Stefan Thomas
8fbfeb082b
JS: Typo.
2013-02-13 18:45:14 +01: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
cf02cfd089
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-13 05:28:16 -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
Stefan Thomas
85f9f67865
JS: Fix Transaction#paths.
2013-02-13 13:09:36 +01:00
Stefan Thomas
1bac4cb1f2
JS: Prevent duplicate WebSocket objects.
2013-02-13 09:53:09 +01: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
1cf14d68be
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2013-02-12 20:40:30 -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
5715cf35c2
Document [path_search_size] in rippled-example.cfg.
2013-02-12 18:57:32 -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
Stefan Thomas
8a4820cf34
JS: Add some more canonical event names as alternatives.
...
Most JS events are infinitive, not past tense, e.g. DOM events "click",
"mouseover", "load" and Node.js events "connect", "close".
2013-02-12 18:55:02 +01:00
Stefan Thomas
5942f2dd9f
JS: Handle account events through Account class.
2013-02-12 18:55:02 +01:00
JoelKatz
7d8624d0e7
Fix two minor bugs with reporting load fees.
2013-02-11 23:30:35 -08:00
Arthur Britto
61c84eba2e
UT: Add test for OfferCreate respecting reserves and unfunded source.
2013-02-11 23:02:13 -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
ef4e75318f
JS: Fixes for load.
2013-02-10 23:55:12 -08:00