JoelKatz
60f62c3a79
Make it actually compile.
2013-04-17 23:28:09 -07:00
JoelKatz
7575ef882a
Fix one case where we relay a very old validation.
...
Cleanups. Mark a FIXME (we don't always relay untrusted validations when we should).
2013-04-17 23:19:33 -07:00
JoelKatz
46dbd3e967
Emergency fix. boost::format doesn't have the thread safety we thought.
2013-04-08 17:17:16 -07:00
JoelKatz
cd14be1afb
Better logging of untrusted validations. (To make sure there's no bug.)
2013-03-21 06:03:47 -07:00
JoelKatz
ec4118a25a
More debug of some validations to make sure suppression is working right.
2013-03-20 22:56:19 -07:00
JoelKatz
b9456c8fd7
Except when interacting with boost, use std::function and std::bind
...
when C++11 is available. See: http://stackoverflow.com/questions/14617835
2013-03-16 03:27:43 -07:00
JoelKatz
d4323f2ef2
Fix a case where a node that closed slightly ahead of other ledgers can
...
think it's out of sync with the network and cause it to jump backwards one
ledger, causing it to be out of sync because the network was about to catch
up to it.
2013-03-14 11:48:29 -07:00
JoelKatz
82b91a1c41
Avoid excessive resizing.
2013-03-14 10:00:44 -07:00
JoelKatz
19ee5c6c22
Remove incorrect comment.
2013-03-11 15:30:41 -07:00
JoelKatz
f4e22a8968
Use emplace where we can. (On inserts into unordered maps.)
2013-03-11 03:58:27 -07:00
JoelKatz
d1169ee86d
Make sure all load sources are named.
2013-03-04 16:22:09 -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
ab89fbdcf6
Use the job queue rather than an ephemeral thread for validation writeouts.
2013-02-27 15:52:33 -08:00
JoelKatz
4d6bf6fd43
Logging reductions.
2013-02-19 15:41:03 -08:00
JoelKatz
36a7bc270d
I don't think this is needed, but it's harmless and saves me from worrying.
2013-02-10 02:44:15 -08:00
JoelKatz
4abdb34c20
Trivial cleanups.
2013-02-09 16:17:12 -08:00
JoelKatz
7d8df3dddf
Save validations in a form they can actually be used.
2013-01-31 15:40:41 -08:00
JoelKatz
e8ac00e1a3
Allow tunable node sizes to adjust cache sizes, sweep timing, fetch
...
timing, and so on. Node size defaults to "tiny", which converves
memory and bandwidth.
2013-01-27 13:55:59 -08:00
JoelKatz
f493ea6478
Be more aggressive about avoiding publishing ledger holes. Make the logic simpler and more sensible.
2013-01-07 01:33:14 -08:00
Arthur Britto
8877501e5b
Remove db->escape in favor of sqlEscape.
2013-01-06 02:08:54 -08:00
JoelKatz
55825b8b5f
Cleanups.
2013-01-01 18:20:30 -08:00
JoelKatz
1e24721a98
First part of the fix to stop us from publishing ledgers that don't get validated.
2013-01-01 16:11:30 -08:00
JoelKatz
0106365098
Improve log level selection from command line. Some extra shutdown logging.
2012-12-20 09:27:50 -08:00
JoelKatz
2a06686b7c
Round one of fixes to avoid ridiculous numbers of spurious copy constructor and destructor calls.
...
Most of these fixes involve calls to BOOST_FOREACH to iterate over a map or unordered_map where the
iterator type didn't perfectly match the internal type, so a reference into the map couldn't be created
and a new value/content pair had to be created for each iteration.
2012-12-17 20:20:24 -08:00
JoelKatz
72777b6b83
Remove some shared pointers on load monitors.
2012-11-28 15:53:07 -08:00
JoelKatz
11088937a4
Track special disk accesses.
2012-11-19 17:08:58 -08:00
JoelKatz
5217c92053
Let's use one simple general-purpose function rathern than five complex special-purpose ones.
2012-11-15 09:05:01 -08:00
JoelKatz
8450491099
Function to get full/partial validation counts for tracking transaction load.
...
Cleanups.
2012-11-13 15:30:43 -08:00
Stefan Thomas
fa3fab5816
Moved cpp code to src/cpp and js code to src/js.
2012-11-07 12:49:50 -08:00