Commit Graph

5217 Commits

Author SHA1 Message Date
Stefan Thomas
a8efd9aa78 Add memory backend. 2013-07-30 14:11:54 -07:00
Vinnie Falco
b10ba15893 Add Null backend 2013-07-30 12:31:15 -07:00
JoelKatz
daa9e2a9fb Revert "A new-master version of the code to save only validated transactions into the SQL databases."
This reverts commit bc1a83db27.
2013-07-30 12:11:22 -07:00
Vinnie Falco
7936d3a3db Fix compile error 2013-07-30 11:36:18 -07:00
David Schwartz
bc1a83db27 A new-master version of the code to save only validated transactions into the SQL databases. 2013-07-25 13:58:15 -07:00
David Schwartz
d04bf6b9d0 Merge fixes from other branch. 2013-07-25 00:13:47 -07:00
David Schwartz
9660e0c9ec Fix prevMissing/getValidatedRange 2013-07-25 11:39:54 -07:00
David Schwartz
f30569baab Snapshots should come from the last published ledger. 2013-07-25 09:57:09 -07:00
JoelKatz
010e40d323 Don't report high cluster loads when we're not synched. 2013-07-23 01:12:15 -07:00
JoelKatz
98437188c1 Don't check signatures on proposals from cluster peers. 2013-07-22 23:40:34 -07:00
JoelKatz
c031dd406e Raise cluster fees faster. 2013-07-22 18:33:08 -07:00
JoelKatz
8bfc4f5296 Fix a bug that can cause us to think we have a full ledger when we don't. 2013-07-22 05:29:57 -07:00
JoelKatz
a7cf21fe59 Bugfix. 2013-07-22 05:24:27 -07:00
JoelKatz
192c1cd19d Bugfixes. 2013-07-22 05:19:58 -07:00
JoelKatz
5d3ba320dc Fix a deadlock when a transaction acquire set times out. 2013-07-22 04:01:03 -07:00
JoelKatz
31f6d2fc8b Properly rotate logfiles on sustain. 2013-07-21 23:13:07 -07:00
JoelKatz
e1f3ce14c2 Raise the file descriptor limit. 2013-07-15 14:59:27 -07:00
JoelKatz
c8af7141f3 Raise the current file descriptor limit to the maximum. 2013-07-15 14:58:35 -07:00
Vinnie Falco
740115b65a Add HyperLevelDB backend 2013-07-15 08:39:07 -07:00
JoelKatz
160ba88049 Fix a case where the engine to acquire published ledgers stalls. 2013-07-15 00:51:53 -07:00
JoelKatz
b1bdfb07b2 Fix a deadlock. 2013-07-14 23:04:02 -07:00
JoelKatz
1389d0a542 Speed up recognizing ledger history. 2013-07-14 20:08:58 -07:00
JoelKatz
f67e658bd7 Add cluster status to 'peers' command output. 2013-07-14 02:51:47 -07:00
JoelKatz
1e26703684 Report where the ledger publication stream is in server_info 2013-07-13 19:37:57 -07:00
JoelKatz
0fd5f98c9c Clean up some confusion about the last validated ledger versus the last published ledger. 2013-07-13 19:32:20 -07:00
JoelKatz
2addaacfbb After a ledger is acquired, see if it is already fully-validated. 2013-07-13 19:24:57 -07:00
JoelKatz
454a713e3f Wrong field type. 2013-07-13 19:08:46 -07:00
JoelKatz
5b2d5e8428 Add a way for us to place jobs with a concurrency limit.
The main use case is having all threads stuck in ledgerData, fighting each other.
2013-07-13 19:02:35 -07:00
JoelKatz
62bd05a99a Don't call getCurrentSnapshot without the master lock 2013-07-12 11:26:16 -07:00
JoelKatz
ae50bf34aa Fix a case where we timeout for no reason. 2013-07-12 00:11:27 -07:00
JoelKatz
eb3cc390cd Cleanup. 2013-07-11 15:35:08 -07:00
Vinnie Falco
ab6b0e00e6 Add MDB NodeStore::BackendFactory 2013-07-11 15:35:07 -07:00
JoelKatz
25279c405b Document what 'M' means in the PeerIps file. 2013-07-11 09:45:39 -07:00
Stefan Thomas
664c4a28ea Fix pointer comparison for Boost 1.53. 2013-07-10 17:29:46 -07:00
JoelKatz
ac4843bc00 Adjust our remote load fee based on validations. 2013-07-10 17:11:14 -07:00
JoelKatz
e87cefd979 If load is high, put load level in validations. 2013-07-10 17:11:14 -07:00
Vinnie Falco
aeae0fcf11 Tidy up NetworkOPs deadline timer usage 2013-07-10 15:45:36 -07:00
JoelKatz
ecc864ac8e Send cluster reports 2013-07-10 15:42:18 -07:00
JoelKatz
8c1c954062 Initialize cluster load fee. Don't output loads that are at default values. 2013-07-10 15:42:18 -07:00
JoelKatz
ec498bf2d2 Monitor cluster load. 2013-07-10 15:42:18 -07:00
JoelKatz
ea7730a419 More cluster status work. 2013-07-10 15:42:18 -07:00
Vinnie Falco
2c9dbe6e52 Notify old configuration entries for node db 2013-07-10 14:23:26 -07:00
JoelKatz
3c53253f2d Pass the config parameters to the node DB constructor 2013-07-10 14:23:25 -07:00
JoelKatz
884fec075f Remove dead code, fix import. 2013-07-10 14:23:25 -07:00
Vinnie Falco
77288cc897 Fix NodeStore import 2013-07-10 14:23:25 -07:00
Vinnie Falco
72769c5c40 Plug backends into NodeStore 2013-07-10 14:23:23 -07:00
Vinnie Falco
8f0d65f099 Rename NodeStore and add backend abstractions 2013-07-10 14:23:22 -07:00
Vinnie Falco
d6fb686426 Rename to NodeObject 2013-07-10 14:23:22 -07:00
Vinnie Falco
4b5daa70c9 Bring in backends from the dead branch 2013-07-10 14:23:22 -07:00
JoelKatz
dd65bd8a72 Be smarter about how we acquire ledgers we need to publish. 2013-07-10 11:17:22 -07:00