Commit Graph

37 Commits

Author SHA1 Message Date
Vinnie Falco
a5360379ac Add ripple_main module 2013-05-27 13:14:09 -07:00
JoelKatz
204944969e The deadlock detector was armed too early. 2013-05-24 13:28:18 -07:00
JoelKatz
5e1dddd1c7 Second check if fetch pack should be skipped. 2013-05-17 01:02:01 -07:00
JoelKatz
04b0f968fd Detect server deadlocks and trigger the auto-restart mechanism. 2013-05-08 15:21:22 -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
56fea329dc Cosmetic 2013-03-20 05:51:51 -07:00
JoelKatz
9ceb380cb8 Make debug easier by naming threads. 2013-03-20 05:41:08 -07:00
JoelKatz
92318a47bd Log when we would disconnected, but don't actually disconnect for now. 2013-03-10 19:15:28 -07:00
JoelKatz
4b449b5c99 Fix sign. 2013-03-10 19:07:11 -07:00
JoelKatz
9cafb7a2a6 Fix load manager buglets. 2013-03-10 19:05:22 -07:00
JoelKatz
7d688bc346 Fix load warning test. 2013-03-08 17:48:03 -08:00
JoelKatz
7621feda7b Updates to load monitoring and source load tracking. 2013-03-08 09:48:54 -08:00
JoelKatz
231a514265 Don't raise txn fees so quickly. 2013-03-05 09:26:55 -08:00
JoelKatz
f0c029ef0d Rework the way load is accounted to be more accurate and more specific. 2013-03-03 16:24:47 -08:00
JoelKatz
644b9448f7 Drop fees faster. 2013-02-20 14:32:59 -08:00
JoelKatz
7d8624d0e7 Fix two minor bugs with reporting load fees. 2013-02-11 23:30:35 -08:00
JoelKatz
d0e85ff4b4 Make sure all fee schedule changes are reported to clients. 2013-02-11 14:50:15 -08:00
JoelKatz
1c56e3b53a Log load fee changes. 2013-02-10 16:38:52 -08:00
JoelKatz
9cd5b82b93 Remove unhelpful log entry. 2013-02-06 14:09:54 -08:00
JoelKatz
1808454983 Use the new uptime code. Replace slow, non-monotonic 'time(NULL)' calls
with fast, almost-always-monotonic 'upTime()' calls.
2013-02-05 22:31:26 -08:00
JoelKatz
8c36646b8c Make a fast, monotonic timer. 2013-02-05 22:06:30 -08:00
JoelKatz
fadceb072d Get the time jump logic right. 2013-02-05 21:55:18 -08:00
JoelKatz
5aa810404b Track uptime. Update local fee schedule based on load manager. 2013-02-05 21:33:42 -08:00
JoelKatz
dfbd640f6c Complete the fetch by hash logic, including tracking the hashes we want. 2013-01-04 22:14:53 -08:00
JoelKatz
c09133fb6d Function to get load factors in machine understandable form. 2012-12-27 10:41:10 -08:00
JoelKatz
4fb2220891 New fee stuff.
CAUTION: Code is currently in an untested state.
2012-12-20 13:02:05 -08:00
JoelKatz
038adf2a34 Mark two FIXMEs in code that handles fees wrongly. Work on doing fees correctly. 2012-12-17 18:09:47 -08:00
JoelKatz
a25a9831f1 Fee tracking both that scales with load and that doesn't (for the reserve). Get fees as json.
Locks for the fee manager.
2012-12-17 04:36:58 -08:00
JoelKatz
bb77dc2bc0 Cleanup. 2012-12-11 18:42:17 -08:00
Stefan Thomas
52fc3af69b Fix segfault on start. 2012-12-10 13:47:42 -08:00
JoelKatz
35ec825d8c Tie the peer code into the new load management code. 2012-12-10 06:27:52 -08:00
JoelKatz
b1dd6c2523 Load types. 2012-12-09 20:37:57 -08:00
JoelKatz
3b7bf171ed Structure to charge and credit for load types. 2012-12-05 15:45:07 -08:00
JoelKatz
fce949609c Fix remote fee logic. Remove magic constants. 2012-12-04 14:39:26 -08:00
JoelKatz
26e9b5e2f6 Updates to local and remote transaction fee factor tracking. 2012-12-04 13:29:51 -08:00
JoelKatz
98b3c526ec Finish the load manager class. 2012-12-03 16:16:50 -08:00
JoelKatz
60a9487e18 Code to track collections of endpoints that can impose work on the system,
submit proofs of work, and so on.
2012-12-03 12:57:32 -08:00