Commit Graph

29 Commits

Author SHA1 Message Date
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
df32873321 Cleanups. 2013-04-22 15:17:23 -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
92318a47bd Log when we would disconnected, but don't actually disconnect for now. 2013-03-10 19:15:28 -07:00
JoelKatz
7621feda7b Updates to load monitoring and source load tracking. 2013-03-08 09:48:54 -08:00
JoelKatz
7c3d732a08 Name load source. Hook up load sources through WSConnection->RPCHandler. 2013-03-07 18:07:34 -08:00
JoelKatz
231a514265 Don't raise txn fees so quickly. 2013-03-05 09:26:55 -08:00
JoelKatz
644b9448f7 Drop fees faster. 2013-02-20 14:32:59 -08:00
JoelKatz
d0e85ff4b4 Make sure all fee schedule changes are reported to clients. 2013-02-11 14:50:15 -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
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
7f313afe80 Track connection direction. 2012-12-05 23:48:10 -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